SEO URLs not working for Opencart - ubantu18.04

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 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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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