Forum Moderators: phranque
This only redirects those requests coming in to /xyz/, which means the .php requests are still there. These aren't good SEO practices, and Google will likely find the duplicate material.
How can I redirect /xyz.php to /xyz/ before applying my original rule? The final goal is to remove the .php extension from the page filenames.
Thanks!
There are many threads here on extensionless URLs. Try searching this site for that phrase, plus "RewriteRule".
Jim
I was able to get the desired result by using these previous threads.
[webmasterworld.com...]
[webmasterworld.com...]