• Home
  • Get help
  • Ask a question
Last post 56 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67719
All time tickets 10464
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7033 – Self Canonical URLs in Virtuemart, category listing

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 01 April 2020 17:38 UTC
dkaneloglou
 Hello,

In Virtuemart Category Page, I need self canonical URLs for all paginated pages.
How could I configure the parameter?

Thank you
Wednesday, 01 April 2020 17:43 UTC
wb_weeblr
Hi

I cannot say without looking at actual full and real URLs. You should be able to set up a generic canonical rule under the Aliases page (see this page of the documentation).

Can I ask why you would want to do that? I just checked and realized it seems Virtuemart is adding a canonical to the first page, that's really odd. Is this what you are seeing?

Best regards

Yannick Gaultier
weeblr.com
@weeblr


 
Thursday, 02 April 2020 12:33 UTC
dkaneloglou

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

Thursday, 02 April 2020 12:57 UTC
wb_weeblr

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

 
Thursday, 02 April 2020 19:46 UTC
dkaneloglou
Yes that´s what I needed!
Thanks a lot!
Friday, 03 April 2020 07:20 UTC
wb_weeblr
Hi

Glad you solved it. As you can see, once you understand the mechanism of the {*} string, it's pretty easy to do your own redirects and canonical.

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

And please feel free to post a review on the JED,it helps and we appreciate it!

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.