Fix canonical domain for SEO in simple HTML page

Discussion in 'Search Engine Optimization' started by emailsforce, Jan 3, 2022.

  1. #1
    How can I fix canonical domain for my simple HTML page? In Wordpress is super easy, but on HTML pages how can I do that? Any help? Thanks!!!
     
    emailsforce, Jan 3, 2022 IP
  2. emailsforce

    emailsforce Banned

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #2
    I found the solution: you just need to add the tag on <head> section of the page.
    <link rel="canonical" href="[my link with or without www]" />
     
    emailsforce, Jan 3, 2022 IP
  3. Thomas Chang

    Thomas Chang Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Yes, that's the correct code.
     
    Thomas Chang, Jan 5, 2022 IP
  4. Kerry Watson

    Kerry Watson Banned

    Messages:
    52
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    18
    #4
    It's great. You found your query in just 5 minutes.
     
    Kerry Watson, Jan 7, 2022 IP