Remove index.php from the URL
After installing Joomla, by default you will see /index.php/ in the URLs. This is easily changed in 2 steps.
Why do you want to remove index.php from the URL?
Search Engine Friendly (SEF) URLs are human-readable or clean URLs that make sense to both humans and search engines because they explain the path to the specific page they point to.
The index.php says nothing but is technically necessary without this modification.
Before:
After:
Use URL rewriting
Go to "System > Global Configuration" and set Use URL Rewriting to "Yes"
Modify htaccess.txt filename
If you are using an Apache server, make sure mod_rewrite is installed and enabled on your hosting account. Using an FTP program, go to your Web site and locate the htaccess.txt file in your site's root directory. Rename the file to .htaccess (dot htaccess).
Now the .index.php will be removed from your URLs.
URL rewriting on an IIS 7 Server
If you are using an IIS 7 server, make sure the IIS URL Rewrite Module is enabled for your hosting account. Rename the file "web.config.txt" to "web.config" (i.e., without .txt) before enabling the URL rewrite option.
Want to know more?
Wondering if I'm the right partner for your project? Then take a look at my portfolio, see what my clients say or contact me directly.
About Jeroen
I have been working with the Joomla! CMS since 2006. Besides building and maintaining Joomla! websites and webshops, I am also familiar with search engine optimization (SEO), Joomla hosting and developing templates and extensions. Furthermore, I am a frequent visitor and speaker at JoomlaDays and various Joomla user groups.
I am committed to the Joomla! community as a member of the Extensions Directory team and the organization of Joomla user group Breda and JoomlaDagen Netherlands. In short: Are you looking for a Joomla Specialist, you should contact me!
