Page 1 of 1

No SEO friendly URL for store logo?

Posted: Tue Sep 01, 2020 9:00 pm
by magnus_vb
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

Re: No SEO friendly URL for store logo?

Posted: Tue Sep 01, 2020 9:13 pm
by xxvirusxx

Re: No SEO friendly URL for store logo?

Posted: Wed Sep 02, 2020 12:16 am
by letxobnav
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

Re: No SEO friendly URL for store logo?

Posted: Wed Sep 02, 2020 8:49 pm
by magnus_vb
Thanks. I will check out both solutions.

/ Magnus

Re: No SEO friendly URL for store logo?

Posted: Wed Sep 02, 2020 9:47 pm
by paulfeakins
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/

Re: No SEO friendly URL for store logo?

Posted: Thu Sep 03, 2020 7:47 am
by letxobnav
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.