remove .php extension
Permalink
I had an old website and I"m migrating to c5 and old website had .php extensions. I'd like to be able to keep those pages and I"m using the clean urls with c5. I tried putting in the old page.php url into the "add other url locations" in the properties per page, but concrete changes the period to a dash. Is there anyway I can save this for SEO?
For example:
http://www.mydomain.com/about.php
http://www.mydomain.com/about
I know I can't really use a RewriteRule ^(.*)\.php$ $1 [nc] and just strip the .php and yet get the code form the php file because c5 doesn't actually have that php file.?
Any ideas?
Thanks so much!
For example:
http://www.mydomain.com/about.php
http://www.mydomain.com/about
I know I can't really use a RewriteRule ^(.*)\.php$ $1 [nc] and just strip the .php and yet get the code form the php file because c5 doesn't actually have that php file.?
Any ideas?
Thanks so much!