Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

December 24, 2009

25 Comments

htaccess-tricks-tips

How to remove index.php from url using .htaccess (mod_rewrite)

For better SEO optimization and make urls more search engine friendly , remove index.php from URL and make it easier to read. This can be done by writing only two lines in your .htaccess(mod_rewrite in apache) file. Before writing this rule in .htaccess , make sure that your mod_rewrite is enabled(On) in your apache server.