Redirect Permanent strange behaveiour hot to fix??
Posted: Fri Nov 09, 2007 11:57 am
Hi I need to redirect permanently - 301 pages from an old site to a new CMSMS
I used a rewrie rule to redirect all the pages corsi.php?id=$ to the new page corsi.html
this rule works with the simple url corsi.php, but when i put corsi.php?id=1 the result is corsi.html?id=1
don't know hot to manage this
this is my htaccess.
any help ?
I used a rewrie rule to redirect all the pages corsi.php?id=$ to the new page corsi.html
this rule works with the simple url corsi.php, but when i put corsi.php?id=1 the result is corsi.html?id=1
don't know hot to manage this
this is my htaccess.
Code: Select all
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# Make sure you have Options FollowSymLinks
# and Allow on
RewriteEngine On
RewriteRule ^corsi\.php*$ http://www.studioarteceramica.it/corsi.html [R=301,L]
#Rewrites page.shtml as index.php?page
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]