Profile
Achievement
jefferis's Recent SnippetsTagged php
- All /
« Prev 1 Next »
Removing extensions and trailing slashes in web urls:
"If you want to remove the .html extension from a html file for example yoursite.com/wallpaper.html to yoursite.com/wallpaper you simply have to alter the last line from the code above to match...
0
1090
posted 8 years ago by jefferis
This rewrite will not work on WordPress. It forces .htm and .html files that no longer exist to go to the new .php versions of the pages.
0
1361
posted 8 years ago by jefferis