In Virtuemart Category Page, I need self canonical URLs for all paginated pages.
How could I configure the parameter?
Thank you
Helpdesk is open from Monday through Friday CET
We are still on this temp link:
https://www.xxxx.gr
What is asked is to set as canonical the self url not the first page of the listing
ex. in category Mpataries-mpaniou, (https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou.html)
the first page has set as canonical
https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou.html
Correctly,
The second page
https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou/results34-66.html
has canonical
https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou.html
but what we need is to set as canonical itself url
https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou/results34-66.html
HI
The second page
https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou/results34-66.html
has canonical
https://www.xxxx.gr/exoplismos-mpaniou/mpataries-mpaniou.html
but what we need is to set as canonical itself url
Yes, that's what I said above. I just realized that Virtuemart added those canonicals. That's very strange, you could probably report it as a bug to be honest.
Anyway, you can add such a canonical as follow:
- go to Aliases
- Click New
- Select Insert canonical
- Alias: exoplismos-mpaniou/mpataries-mpaniou/results{*}.html
- Target URL: exoplismos-mpaniou/mpataries-mpaniou/results{*}.html
- Save
This will work just for the exoplismos-mpaniou/mpataries-mpaniou category. You can do multiple categories with just one command as well:
- go to Aliases
- Click New
- Select Insert canonical
- Alias: {*}/{*}/results{*}.html
- Target URL: {*}/{*}/results{*}.html
- Save
This will work for all links with 2 category levels in the URL.
Hope it helps,
Best regards
Yannick Gaultier
weeblr.com
@weeblr