Post by magnus_vb » Tue Sep 01, 2020 9:00 pm

I have turned on SEO URLs. But the store logotyp still have an URL like this:
snus2-2020oc.test/index.php?route=common/home

If I remove everything after the slash, the page still works. But as soon as I click the store logo, this ugly URL are back. I have tried to change the route for Home (Design > Layouts > Home) to: "/"

The URL did not change but the only thing left on the page is the header and the footer :o (wrong place I think)

How do I get rid of "index.php?route=common/home" for the store logo?

/ Magnus

Newbie

Posts

Joined
Fri Aug 28, 2020 11:47 am

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by letxobnav » Wed Sep 02, 2020 12:16 am

Be aware that using SEO for non-indexable urls is not only futile (the clue is in the term SEO) but also an unnecessary strain on your resources.
It also requires you to list each of those explicitely in your robots.txt instead of the normal account/* and checkout/* wildcards unless you use x-robots headers or robots meta tags instead of robots.txt

changing /index.php?route=common/home to / merely takes a few lines of code:
viewtopic.php?p=794263#p794263

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by magnus_vb » Wed Sep 02, 2020 8:49 pm

Thanks. I will check out both solutions.

/ Magnus

Newbie

Posts

Joined
Fri Aug 28, 2020 11:47 am

Post by paulfeakins » Wed Sep 02, 2020 9:47 pm

magnus_vb wrote:
Tue Sep 01, 2020 9:00 pm
I have turned on SEO URLs. But the store logotyp still have an URL like this:
snus2-2020oc.test/index.php?route=common/home
Have a read of this: https://www.antropy.co.uk/blog/one-quic ... home-page/

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by letxobnav » Thu Sep 03, 2020 7:47 am

Have a read of this: https://www.antropy.co.uk/blog/one-quic ... home-page/
That is absolutely useless as it does not cover any other reference to common/home other than the logo link.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: No registered users and 33 guests