1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need the code to fix canonical issue

Discussion in 'WordPress' started by Jannatin Nayem Sourav, Jan 10, 2019.

  1. #1
    Hello

    I am using wordpress and using Yoast SEO plugins. I want to fix my canonical issue using tool option of yoast. But I have not the code. I have already seen some video, but they have not provided the code on their video description. So I am on stack. Would you please give me the code to use?
    SEMrush
    Thanks is advance.
     
    Jannatin Nayem Sourav, Jan 10, 2019 IP
    SEMrush
  2. ewest midlands

    ewest midlands Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    Hello Sourav,

    Put this Code after Meta Description with your website category, sub-category URL.
    <link rel="canonical" href="URL" />
     
    ewest midlands, Jan 10, 2019 IP
  3. Jannatin Nayem Sourav

    Jannatin Nayem Sourav Member

    Messages:
    43
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    35
    #3
    Where do I find this? website category, sub-category URL? Sorry,I am new on this field.

    See the screenshot prntscr.com/m5b3ym. does everything okay here?
     
    Jannatin Nayem Sourav, Jan 10, 2019 IP
  4. ewest midlands

    ewest midlands Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    Check this link you can get the code for your website https://gist.github.com/amboutwe/2aa7dcc9a38986e11fac68c7306cc091
     
    ewest midlands, Jan 10, 2019 IP
  5. Jannatin Nayem Sourav

    Jannatin Nayem Sourav Member

    Messages:
    43
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    35
    #5
    There has many versions of code on the link you provided. Which one I should use? And after coosing a version, what will happen with exists lines of .htaccess file? Should I delete them?
     
    Jannatin Nayem Sourav, Jan 10, 2019 IP