Hi
I have deployed an Ubuntu 14.04 LAMP droplet. I installed Joomla! to build my static pages website on it. Installed Joomla! and it started working fine (as expected).
Now, to further improve the aesthetics of the site, I decided to remove “index.php” from URLs. For example, while visiting a normal SEF URL like http://www/salescrib.com/index.php/sales-crib-tour, I wanted my visitor to click on the “Tour” menu link, and it should be directed to http://www.salescrib.com/sales-crib-tour.
I have been trying to find a solution to the subject issue since 3-4 days but no success. I tried searching Google & your blogs, but all they answer is changing htaccess.txt to .htaccess and then enabling the URL Rewriting in Global Config. But that throw 404 ‘Page Not Found’ error.
I know I’m missing some petty tweek but for a mechanical engineer, it is a little hard to understand the sophiticated programming codes :)
What am I missing? Can someone please help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I have worked with joomla for a long time to remove the “index.php”, you must activate. htaccess located in the root of your website (principal), possibly as htaccess.txt have, for this case only rename the name. htaccess
I hope I could help
Is <code>mod_rewrite</code> active? Run <code>phpinfo()</code> and check it out! In <a href=“https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite”>this article</a> you can find how to enable rewrite module in your server.
Voila!
Thanks @alexandre for your link to mod_rewrite article. I was missing the edit in my “/etc/apache2/sites-available/000-default.conf”
Now it works stupendously at http://www.salescrib.com/sales-crib-tour
Thanks for @jhoedram for your contribution.
Well this confirms that for all my queries I can start directly from DigitalOcean.com/community in place of reading those haunting pages on Google :p
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.