[Solved] .htaccess 301 and CMSms not correctly working
Posted: Wed Jun 09, 2010 10:43 am
Dear devs,
I have a question regarding 301 redirecting via .htaccess.
I use the following code for redirecting a few (indexed static .html) pages to pages in my new CMSms website.
When I check if the redirect works correctly, it redirects to:
http://www.examplewebsite.nl/examplepag ... epage.html
How is this possible? Has it maybe to do with the following lines in .htaccess?
I really appreciate any possible help in how to redirect my old static html pages to the new cmsms pages, otherwise I loose a bunch of indexed pages with pagerank.
I'm using CMSMS 1.7.1
Thanks in advance,
Regards,
Jeroen,.
I have a question regarding 301 redirecting via .htaccess.
I use the following code for redirecting a few (indexed static .html) pages to pages in my new CMSms website.
Code: Select all
redirect 301 /examplepage.html http://www.examplewebsite.nl/examplepage/
http://www.examplewebsite.nl/examplepag ... epage.html

How is this possible? Has it maybe to do with the following lines in .htaccess?
Code: Select all
# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
# END CMSMS
I really appreciate any possible help in how to redirect my old static html pages to the new cmsms pages, otherwise I loose a bunch of indexed pages with pagerank.
I'm using CMSMS 1.7.1
Thanks in advance,
Regards,
Jeroen,.