*

Sanjay

  • **
  • 21 posts
Hi Friends,

I'm using Zara Osclass theme. I need to place the canonical tag on header section, on each of my pages.(Home, about Us, terms, privacy...) As per google, the canonical tag should be different on the different page.

For Example:

Home:
<link rel="canonical" href="http://mydomain.com/"/>

About Us:
<link rel="canonical" href="http://mydomain.com/about-us-p25"/>

Terms:
<link rel="canonical" href="http://mydomain.com/terms-p26"/>

privacy-policy:
<link rel="canonical" href="http://mydomain.com/privacy-policy-p27"/>

My Question:

How to implement the canonical tag on header section, of each page. As the osclass theme is dynamic. when I do implement canonical tag on header section for the home page, the same page is applied on every page of my website. Please help me how to fix the issue.


If anyone have technical knowledge, kindly suggest me.


Thanks
Sanjay

*

MB Themes

Re: How to implement the canonical tag on header section of each page
« Reply #1 on: May 02, 2017, 12:35:43 PM »
@clickepage
You have head.php for this.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sanjay

  • **
  • 21 posts
Re: How to implement the canonical tag on header section of each page
« Reply #2 on: May 02, 2017, 12:48:45 PM »
Hi frosticek,

Thanks for your reply. The only page is available on the server that is home and contacts Us page. not rest of pages.


Following pages are not available at the root of the server. as all these 3 pages are created manually


about-us
terms
privacy-policy


How to get all these pages which are manually created.

Thanks

*

MB Themes

Re: How to implement the canonical tag on header section of each page
« Reply #3 on: May 02, 2017, 01:21:39 PM »
@clickepage
You need to place their links manually.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sanjay

  • **
  • 21 posts
Re: How to implement the canonical tag on header section of each page
« Reply #4 on: May 02, 2017, 01:25:37 PM »
Okay,

How can I do that ? can you please elaborate clearly.

*

MB Themes

Re: How to implement the canonical tag on header section of each page
« Reply #5 on: May 02, 2017, 03:32:59 PM »
@clickepage
Just check links for those pages (create them) and place it to head.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Sanjay

  • **
  • 21 posts
Re: How to implement the canonical tag on header section of each page
« Reply #6 on: May 02, 2017, 04:00:30 PM »
Let's say the pages are likewise.


http://mydomain.com/about-us-p25

http://mydomain.com/terms-p26

http://mydomain.com/privacy-policy-p27



now please tell me how can I proceed? how can I specify for each page. I'm confused. if you share the code that would be fine.

*

MB Themes

Re: How to implement the canonical tag on header section of each page
« Reply #7 on: May 03, 2017, 03:32:15 PM »
@clickepage
Isn't it in your first post?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots