Jump to content

How to get rid of the index.php from the url


Greek76
 Share

Go to solution Solved by Daniel F,

Recommended Posts

Question.. How do I get id of the index from urls? For example for some reason in order to visit pages on my  you have to visit midlifeforums .com/index.php/etc. How can I fix it so that it's just midlifeforums .com/etc without the index.php? Thanks!

Link to comment
Share on other sites

You need to have mod_rewrite enabled on your server. If it’s enabled, you can turn on Friendly URLs.  Search the ACP for “friendly” and you’ll find it. Enable both friendly URLs and rewriting requests. 

You’ll need to download a htaccess file and upload it to your document root (under public_html typically). Rename it to .htaccess (with the period up front).  

You might need to rebuild your system cache but in most cases not. Start clicking around and you should see URLs being rewritten. 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...