Post by VanioBoy » Sat Aug 26, 2023 1:44 am

Hi,

Please help, since 3 days I have been looking for a method to hide rel=canonical when robots = noindex.

I found similar threads but they don't work for me.
I am using OpenCart 2.3.0.2.

Thanks in advance!

New member

Posts

Joined
Wed Nov 09, 2016 5:52 pm


Post by EvolveWebHosting » Mon Aug 28, 2023 10:53 am

VanioBoy wrote:
Sat Aug 26, 2023 1:44 am
Hi,

Please help, since 3 days I have been looking for a method to hide rel=canonical when robots = noindex.

I found similar threads but they don't work for me.
I am using OpenCart 2.3.0.2.

Thanks in advance!
Is this causing an issue in Webmaster Tools? If the search engine crawler is respecting the noindex tag, the canonical tag should be irrelevant.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Right now - Save up to 50% on Domain Names, Web Hosting and Website Security - See our website for details
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by justin984rainey » Sat Jun 08, 2024 12:59 pm

Hello,

Some Solutions are there.

To remove canonical tags when robots are set to noindex, first, access the website's source code. Locate the <link rel="canonical"> tag within the <head> section. If the robots meta tag is set to noindex, the canonical tag should ideally be removed to prevent search engines from indexing the page. This can be achieved by either manually deleting the canonical tag or using server-side scripting or content management system (CMS) settings to conditionally remove it when the robots meta tag is set to noindex. Regularly monitor and update the website to ensure proper indexing and SEO performance.

Thank you.


Posts

Joined
Sat Jun 08, 2024 12:43 pm
Who is online

Users browsing this forum: No registered users and 4 guests