• Home
  • Get help
  • Ask a question
Last post 6 hours 21 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67739
All time tickets 10468
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.

#7588 – Pagination pages not showing canonical or rel=next/prev links

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.
Monday, 18 January 2021 14:55 UTC
web-master-henryschein-es

We have recently implemneted the component sh404sef in in our blog and pagination pages doesn't show canonical or rel=next/prev link:

https://blog.xxxx.es/

https://blog.xxxx.es/pagina-1

https://blog.xxxx.es/pagina-2

 

Also, shouldn't the homepage have a canonical automatically generated? It only generates canonical for articles and categories

Monday, 18 January 2021 15:17 UTC
wb_weeblr

Hi

 pagination pages doesn't show canonical

Pagination is not supposed to show any canonical. Which one are you talking about?

pagination pages doesn't show ... rel=next/prev link:

Can you double-check this is enabled? Under "SEO" => "SEO Management" => "Insert prev/next pagination tags".

Note 2 important things:

1 - This may not work if your template is overriding the Joomla Pagination class, as we rely ourselves on overriding it to be able to know about the pagination

2 - This feature will most likely be removed in the future as Google announced a year ago that they stopped using prev/next rel links.

Also, shouldn't the homepage have a canonical automatically generated

Your home page currently have a canonical.

It only generates canonical for articles and categories

We only generate canonical automatically for articles. That's the only time we can be sure of seeing the actual canonical page.

sh404SEF does not generate canonical for categories. I do not see any canonical currently on your categories page.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Tuesday, 26 January 2021 10:54 UTC
web-master-henryschein-es

Hi, I didn't see your answer before sorry.

About rel/ prev, yes is set the parameter. (See screenshot)

About categories, I don't know what you mean... Isn't a good practice to show canonical on categories?

One more thing, I see that in pagination only works the first one:

https://blog.xxxx.es/

https://blog.xxxx.es/pagina-1

But if you click on the next (I expect to be https://blog.xxxx.es/pagina-2) it takes you to https://blog.xxxx.es/pagina-1

 

Tuesday, 26 January 2021 11:00 UTC
wb_weeblr

Hi

About categories, I don't know what you mean... Isn't a good practice to show canonical on categories?

No more than on any other page. You can always include a canonical to each page themselves but that does not really serve any purpose.

Which page should have canonical to which page exactly?

One more thing, I see that in pagination only works the first one:

https://blog.xxxx.es/

https://blog.xxxx.es/pagina-1

But if you click on the next (I expect to be https://blog.xxxx.es/pagina-2) it takes you to https://blog.xxxx.es/pagina-1

There can be 2 reasons for that:

1. The most common reason is that there was a change in number of items per page or similar pagination-related settings and URLs were not deleted since then.

So the first thing to do is to delete all URLs with "pagina" in them from the SEF URL manager, including all duplicates (ie use the button "Delete with duplicates" after selecting URLs in the list, not the regular Delete button.

2 - your template (or an extension) overrides the Joomla JPagination class. sh404SEF needs that to to compute proper pagination so if your template does it as well, we're in trouble. The way to check this is:

- Temporarily switch to one of Joomla default template, like protostar

- Purge all URLs, or at least the ones with "pagina" in them

- navigate to home page to have URLs created again.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Tuesday, 02 February 2021 08:55 UTC
web-master-henryschein-es

Ok, and how can I stop template from overriding pagination?

Tuesday, 02 February 2021 09:29 UTC
wb_weeblr

Hi

If it does, you can't. Fixing this requires going into the template code and change it which the template maker may or may not do.

What happened when you tried the first, more likely, fixes outlined above?

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Wednesday, 03 February 2021 08:22 UTC
web-master-henryschein-es

What I have done finally is override the template override and now it seems to be working...

Wednesday, 03 February 2021 08:29 UTC
wb_weeblr

Hi

Glad you sorted it out. I went and check though, and for some reason the links on the page you mentioned above have tracking variables:

https://blog.xxxx.es/pagina-2?utm_campaign=PromoBlogFeb21&utm_medium=email&utm_source=newsletter

Is that expected???

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Wednesday, 03 February 2021 15:50 UTC
web-master-henryschein-es

No! That's strange, how can be avoided?

Wednesday, 03 February 2021 16:16 UTC
wb_weeblr

Hi

No idea, that's not something sh404SEF is involved in, I noticed it and thought I'd mentioned. Looks like some plugin or template override is acting up. You can search for where you setup "PromoBlogFeb21" for a start. Those variables are link-tracking codes.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Saturday, 06 March 2021 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.