• Background
    • Awards
    • Biography
    • Resume
  • Blog
    • Articles
    • Cookie Policy
    • Galleries
      • Photo Gallery
      • Video Gallery
    • Glossary
  • Contact
    • Contact
    • Social Networks
  • IT
    • Downloads
      • Windows
    • Equipment
    • Hardware
    • Software
    • Testimonial
    • Information Technology
  • Projects
    • Business Projects
    • HackBook Projects
    • Hackintosh Projects
    • Website Projects
    • More Projects
  • Service Rates
    • Business Rates
    • Residential Rates

Clean Home Page URL

Thursday, July 17, 2003 Articles, Tips Comments Off on Clean Home Page URL

Have you noticed that when some people share the home page link of a website, it is often in the www.example.com/index.php format? To have a clean home page URL, try the following in your .htaccess file.

RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ /$1 [R=301,L]

If you need help on editing an .htaccess file, just follow the tips.

The following two tabs change content below.
  • Bio
  • Latest Posts
facebook-profile-picture
My Twitter profileMy Facebook profileMy LinkedIn profileMy Pinterest profileMy YouTube channel

Stephan Pringle

Chief Executive Officer at Sipylus
About The Author: Stephan Pringle is an Information Technology Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
facebook-profile-picture
My Twitter profileMy Facebook profileMy LinkedIn profileMy Pinterest profileMy YouTube channel

Latest posts by Stephan Pringle (see all)

  • Configuration.xml - Friday, March 12, 2021

Related posts:

  1. Directory Index Filenames
  2. Index of /
  3. Fixing a 400 Bad Request
  4. Avoiding Broken Links
  5. Dell Latitude E5440 HackBook
  6. Custom Short URLs for a Website
  7. Block Traffic from URLOpener.com
  8. Editing an .htaccess File
  9. Microsoft Notepad
  10. Protection against DDoS
  11. ErrorDocument 410
  12. AdsPart.com
  13. Update or Clean Install M7
  14. Vanity URL for LinkedIn Profiles
  15. Create Install Media
  16. Incoming Search Terms
  17. CVE-2014-8770
  18. Say Farewell to Orkut
  19. MySpace Codes
  20. Install Programs on Windows 10 Home in S Mode

Comments are closed.




Copyright © 1990-2020 Stephan Pringle. All rights reserved.

Stephan Pringle

IT Technical Support Specialist

  • Keyword Search

  • Translator

  • Topic Sponsor

I am always working to improve your experience on my website. Part of this involves using cookies to collect anonymous data for statistics and personalization. Learn more