*

Akhil K A

  • *
  • 2 posts
Canonical tag is missIng?
« on: August 13, 2016, 08:43:47 AM »
Hi,

I'm planning to buy this plugin. But, before proceeding to buy, I want to know that why this plugin doesn't have a canonical URL option?

Does the plugin generates canonical URL for the pages?

Note:

I found a similar question here: http://forums.mb-themes.com/zara-osclass-responsive-theme/canonical-url/

If the plugin developer don't know about canonical, then I'm not interested in buying this plugin.

Thanks.

Akhil K A
« Last Edit: August 13, 2016, 08:46:10 AM by akhilaniyan »

*

MB Themes

Re: Canonical tag is missIng?
« Reply #1 on: August 13, 2016, 10:10:30 AM »
@akhilaniyan
Cannonical URL is wanted only in case there are 2 or more URLs, that follow to same page.
I am not sure how could you get this in osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Akhil K A

  • *
  • 2 posts
Re: Canonical tag is missIng?
« Reply #2 on: August 13, 2016, 10:34:23 AM »
According to Algorithm rules,

every page should have a canonical URL. Even if the page doesn't give credit to any other pages.

That's the rule.

If you want a clarification, just refer any of the website (Including yours ;) ). Check the source code and search for "canonical".

Usually we integrate canonical to the header file.

Code: [Select]
<link rel="canonical" href="http://<?php echo $_SERVER['HTTP_HOST']; ?><?php echo parse_url$_SERVER['REQUEST_URI'], PHP_URL_PATH ); ?>" />
Thanks and Regards.

Akhil K A

*

MB Themes

Re: Canonical tag is missIng?
« Reply #3 on: August 13, 2016, 10:55:51 AM »
@Akhil K A
Osclass does not have hook, that could be used to show this link.
It means that you would need to place it manually to theme head.php file.
If so, you can place here manually code you have wrote here.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots