Advertisement

?rCH=-2" rel="alternate" hreflang="x-default">

Discuss Search Engine Optimization in relation to Joomla! 4.x. This forum will also have discussions on SEF/SEO Joomla! 4.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
raziel1973
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Mon Sep 06, 2010 5:41 pm
Contact:

?rCH=-2" rel="alternate" hreflang="x-default">

Post by raziel1973 » Sun Sep 08, 2024 10:26 pm

Hi and thank you in advance about your help

My web site: www.around-naples.com
I have this code in source code on major part of my pages: ?rCH=-2" rel="alternate" hreflang="x-default">
I don't know why it's coming. I can see the duplicate page with the end ?rCH=-2 and ?rCH=2.
I can't figure out what componet write this code.

One of the page with this strange problem is: https://www.around-naples.com/it/posill ... tml?rCH=-2

any Idea?
thans
Tony

Advertisement
shumisha
Joomla! Guru
Joomla! Guru
Posts: 550
Joined: Sat Aug 20, 2005 3:15 pm
Contact:

Re: ?rCH=-2" rel="alternate" hreflang="x-default">

Post by shumisha » Mon Sep 09, 2024 9:25 am

Hi

The ?rCH= bit is added by an extension, I can't remember which one right now.I'd suggest you talk to the developers of the extensions you use. It may have to do with a cookie acceptance plugin for instance.

That extension adds the ?rCH=xx to the URLs and that causes the Joomla language filter plugin to also include it in the URL.

I can see that your canonical does not include it, I'm not sure how that canonical is created and it's a bit odd it decides to strip that query variable by itself, but the language filter does not do the same thing and keeps the query variable - as it should.

In any case, the fix is to find which extension does that and whether it can be removed.
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.

raziel1973
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Mon Sep 06, 2010 5:41 pm
Contact:

Re: ?rCH=-2" rel="alternate" hreflang="x-default">

Post by raziel1973 » Mon Sep 09, 2024 9:37 am

Thank you about your reply.
At moment I creating the redirecting to the URL wihtount ?rCH=xx but it's a long work.

I wil check some extension.
Thank you again
Tony

shumisha
Joomla! Guru
Joomla! Guru
Posts: 550
Joined: Sat Aug 20, 2005 3:15 pm
Contact:

Re: ?rCH=-2" rel="alternate" hreflang="x-default">

Post by shumisha » Mon Sep 09, 2024 9:40 am

At moment I creating the redirecting to the URL wihtount ?rCH=xx but it's a long work.
A better solution if you can is to "noindex" them, that way you don't have to worry about it at all.

Be aware that I'm talking about adding a noindex meta-tag. I am NOT talking about excluding these pages from your robots.txt file.
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.

raziel1973
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Mon Sep 06, 2010 5:41 pm
Contact:

Re: ?rCH=-2" rel="alternate" hreflang="x-default">

Post by raziel1973 » Tue Sep 10, 2024 6:49 pm

I can't put noindex on the original link (without?Rach=xx) because if I do the original link also will be no indexed

shumisha
Joomla! Guru
Joomla! Guru
Posts: 550
Joined: Sat Aug 20, 2005 3:15 pm
Contact:

Re: ?rCH=-2" rel="alternate" hreflang="x-default">

Post by shumisha » Tue Sep 10, 2024 6:53 pm

Hi,

Well, yes, you'd need an seo extension to do that only for the ?rch=2 links.
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.

Advertisement

Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 4.x”