Report this

What is the reason for this report?

URl rewriting not working

Posted on March 23, 2014

I have an existing website that runs under Joomla 3.3 (Apachec, Mysql, PHP) with an existing host. I have taken a backup (with Akeeba) and am porting it over to a cloud server with Zpanel (testing/learning the cloud server). I can install the backup copy to the server and can access the admin side and the home page.

The basic site has URL rewriting on (using mod_rewrite and .htaccess).

With this ported over version I get the home page fine, but when I try to view any other page I get a NOT FOUND error.

If I turn the URL rewriting OFF in the Joomla admin panel then the site works correctly.

This is not a live site yet.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello. <br> <br>First check if your mod_rewrite is enabled by running the following command in your console: <br> <br>sudo apache2ctl -M <br> <br>This command should list all your loaded modules. <br>If the module is not enabled and loaded, which I presume happens, just run the next two commands in your terminal: <br> <br>sudo a2enmod rewrite <br>sudo service apache2 restart <br> <br>These commands should enable the rewrite module and restart your apache webserver. <br> <br>Let me know if it helped.

Hey bro, i followed you but still .htaccess not work. sudo a2enmod rewrite Module rewrite already enabled

i use Ubuntu 14

I have same problem how to resolve

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.