Report this

What is the reason for this report?

SEO URLs not working for Opencart - ubantu18.04

Posted on April 5, 2020

I had a default Vhost conf file. Installed SSL with certbot. Couple of more Conf files I see now that got created besides the .conf file I had enabled earlier. These new conf files mention Virtual host port 443.

Am getting below error: Not Found

The requested URL was not found on this server.

Apache/2.4.29 (Ubuntu) Server at XXXXXXX.com Port 443

I tried the following:

Changed Allow Override to All in apache2.conf and then sudo systemctl restart apache2, but I started getting internal server error on the main page itself.

Doesn’t seem to be working. plz advise



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.

Hi there @satyadeo,

It sounds like that mod_rewrite might not be enabled. You can check this with the following command:

  1. sudo apachectl -M | grep -i rewrite

If you don’t see any output, you can enable the module by running the following commands:

  1. sudo a2enmod rewrite

Then run a config test to make sure that there are no problems with your Apache config:

  1. sudo apachectl -t

If you get a Syntax OK message go ahead and restart Apache:

  1. sudo systemctl restart apache2

Hope that this helps! Regards, Bobby

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.