Removing the PHP Extension from a URL
If you are developing a website in PHP then most of your files will end in the .PHP file extension. This works just fine for your development, but when you release your website the .php extension is just added characters in the URL. Most websites that use PHP simple have the extension of the page removed. This leads to cleaner, shorter, and easier to read URLs. It is also better for your SEO or Search Engine Optimization. Using a simple .htaccess file with a few lines we can automatically add the .php file extension to any URL without it. This means something like example.com/page will look like example.com/page.php to the computer, but still retain the cleaner look of example.com/page to the user. Note: You can still explicitly call any page even with this change.
Visit publisher site: Removing the PHP Extension from a URLListing Details
- Version:
- 1
- Filed in:
-
Scripts / PHP / Tutorials & Tips / Redirection
- Submitted on:
- Last Updated:
- Jan 8, 2012
- Publisher:
- Super3 Other listings by this publisher
License & Pricing Information
- License Type:
- Freeware
- Price:
- $0.00 USD
- Additional Info:
- None
User Reviews
Be the first to review this listing!Not yet reviewed by any member.... You can be the FIRST one to write a review for Removing the PHP Extension from a URL