[solved]change static site to cmsms/file extensions/htaccess
Posted: Thu Apr 12, 2012 5:17 pm
At the moment I have a static html site which has mostly file extensions .html and two .php pages.
The plan is to change it to a cmsms site which I am working on on a local server.
At present if I type "http://www.mysite.com/page it shows the page the same as if I type in "http://www.mysite.com/page.html.
What I was wondering about is that currently search engines read all my links with the page extensions as all my internal links have the page extensions included. When I change over to cmsms I will need the old links "http://www.mysite.com/page.html to be directed to page "http://www.mysite.com/page or I will get broken links. How do I modify my .htacess file to do this or is there an easier way?
The plan is to change it to a cmsms site which I am working on on a local server.
At present if I type "http://www.mysite.com/page it shows the page the same as if I type in "http://www.mysite.com/page.html.
What I was wondering about is that currently search engines read all my links with the page extensions as all my internal links have the page extensions included. When I change over to cmsms I will need the old links "http://www.mysite.com/page.html to be directed to page "http://www.mysite.com/page or I will get broken links. How do I modify my .htacess file to do this or is there an easier way?