Skip to content

Instantly share code, notes, and snippets.

@netdesign
Created September 4, 2011 21:16
Show Gist options
  • Select an option

  • Save netdesign/1193528 to your computer and use it in GitHub Desktop.

Select an option

Save netdesign/1193528 to your computer and use it in GitHub Desktop.
RewriteCond %{REQUEST_URI} !^/stk/(.*)
RewriteCond %{REQUEST_URI} !^/app/(.*)
RewriteCond %{REQUEST_URI} !^/index.php
RewriteRule ^/(.*)$ /index.php?p=$1 [QSA,L]
in .htaccess
Redirect 301 "/index.php?page=websites" http://mydomain.com/siti_web
this redirect doesn't redirect to mydomain.com/siti_web but shows the home page... as I was getting mydomain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment