Page 1 of 1

SEO URL's are not working

Posted: Thu Sep 03, 2020 11:01 pm
by neuron
Hello,
I know that this question asked several times, but I could not find a solution yet.
Neither find any clue in documentation. I am using Opencart v3.x
My problem is I want to use SEO URL's.
This is what I did:
1. enabled SEO URL's in System->Settings-> Server Tab User SEO URL's
2. renamed default .htaccess.txt to .htaccess (rewrite rule enabled)
3. added keywords for both categories and products.
for category: catalog->categories->category1->SEO tab added keyword. in similar way to the product.
4. deleted storage/cache and vqmod/vqcache/

After this changes when I browse on front end I see the SEO URL's
for example: https://example.dev/aviva-360-dk for product url
But when I click it the Main Page opens (rendered) not a product detail page. same with categories. No redirection. project is in my local so I can't share the link of it.

Thanks in advance.

Re: SEO URL's are not working

Posted: Fri Sep 04, 2020 2:09 am
by kestas
neuron wrote:
Thu Sep 03, 2020 11:01 pm
project is in my local so I can't share the link of it.

Thanks in advance.
What software you are use for your local server? For example if you use XAMPP you should ensure mod_rewrite is enabled in in XAMPP->apache->httpd.conf file.

Re: SEO URL's are not working

Posted: Fri Sep 04, 2020 7:31 pm
by paulfeakins
neuron wrote:
Thu Sep 03, 2020 11:01 pm
My problem is I want to use SEO URL's.
This should help: https://www.everywordcounts.co.uk/plura ... postrophe/

Re: SEO URL's are not working

Posted: Fri Sep 04, 2020 7:32 pm
by paulfeakins
neuron wrote:
Thu Sep 03, 2020 11:01 pm
But when I click it the Main Page opens (rendered) not a product detail page. same with categories. No redirection. project is in my local so I can't share the link of it.
And re. this problem it's most likely you don't have mod_rewrite enabled.

Re: SEO URL's are not working

Posted: Sat Sep 05, 2020 12:23 am
by neuron
Sorry everybody :-[ !
I started using Homestead recently, I thought vagrant uses Apache server by default, today I learned it uses Nginx. That is why .htaccess was not working.