Please remove line of code on template that creates canonical tags - Forum | JoomShaper
Solved Templates

Please remove line of code on template that creates canonical tags

Asked by Hector 5 years ago Last activity 5 years ago

Hello friends,

Recently I ran into some difficulties with my SEO because there was a duplicate title and meta description on my homepage.

I have now fixed it, but I discovered in the process that the JoomShaper template creates a canonical tag, right from the index.php file.

The template should not create a canonical because a template has no way to know what URL is the proper canonical for a page.

I have removed the offending line of code (line 108) and the issue was solved.

I am only writing to ask you not to include this line in your templates, nor in any future updates.

For further information, please refer to this archived discussion page:
https://archive.joomshaper.com/forums/please-delete-index-php-line-95

Many thanks,
Hector

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Thanks for contacting us.

There's no doubt you're willing to help. I have, however, already forwarded your suggestion to the team. Super appreciate your input and observation.

Best Regards

2 more replies

Hector Asked this

Thank you Rashida, that's great.

I would like to add that I really appreciate what you guys do.

You've created a truly fantastic builder. I have tried several builders and themes and yours is the best by far.

Keep up the good work!
Hector

Rashida Rahman Staff

Thanks for your appreciation and most welcome:)

Log in to reply.