1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Canonical Tag

Discussion in 'Black Hat SEO' started by Whistleblower, Dec 17, 2015.

  1. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    This is my situation :

    mydomain.com/abcd
    mydomain.com/abcd/

    Both are indexed in google, it lead to duplicacy of more than 25 pages (5 1000+ word articles) which i wrote myself. This is due difference in permalink and me manually indexing using GWT. I added additional slash in WP permalink whereas my GWT submission was without last slash.

    I heard that canonical tag will solve this one. i have disabled automatic redirect from .abcd to .abcd/ in WP from theme functions. Now the only thing which i don't know about is this canonical tag. Can someone tell me how to do it.

    My main question is where to add in the post + which url should be having in canonical tag, the one i want to keep or the one i want to leave. seriously no idea. Google front page content confuses me. i just need answer to above 2 questions.
    Please understand one thing i have made post for .abcd not .abcd/ . It is due to me doing submission in GWT using .abcd/ . im fucked up. Please take small effort to explain i may come to some help to you in future.
     
    Last edited: Dec 17, 2015
  2. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    http://lmgtfy.com/?q=canconical+tags

    Now go away and leave us alone.
     
    Last edited: Dec 17, 2015
  3. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
  4. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    If I didn't already have an infraction I would be telling you how fucking stupid your posts are, but I can't do that.

    I don't think you know how much you wind me up.
     
    Last edited: Dec 17, 2015
  5. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    Again _|_ . I don't care about what u think abt me !!
     
  6. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    What does _|_ mean?
     
  7. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    Shorthand for this one.

    fuck_off_finger.jpg
     
    • Thanks Thanks x 2
  8. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    Oh right, I just thought it was a buttplug or something.

    So in all this time where I have honestly tried to help you, you have been giving me the finger and I didn't even know.

    Nice.
     
    • Thanks Thanks x 1
  9. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    Now answer my question in bold one. i know google route but it is not having what i want, they just explain me the concept not how to do !
     
  10. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    Who the fuck do you think you are where you can give me the finger for 20+ posts then tell me to give you help.

    Fuck right off.
     
  11. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    Okay OKay. Now get lost from here then if you don't want to help !!
     
  12. t0mmy

    t0mmy Executive VIP Jr. VIP

    Joined:
    Jun 5, 2011
    Messages:
    6,726
    Likes Received:
    14,424
    Gender:
    Male
    Location:
    Spain
    Home Page:
    I have a feeling whistleblower = nickvk.. I'd bet my little black hat on it.
     
    • Thanks Thanks x 4
  13. Ste Fishkin

    Ste Fishkin BANNED BANNED

    Joined:
    May 14, 2011
    Messages:
    2,058
    Likes Received:
    8,214
    Oh yeah, that bastard that exposted These Hugs

    http://www.blackhatworld.com/blackhat-seo/blackhat-lounge/791938-he-new-ste-highes.html

    No wonder I don't like him.
     
  14. ghackseo

    ghackseo Regular Member

    Joined:
    Mar 18, 2015
    Messages:
    283
    Likes Received:
    72
    OP, I'd rather go for a regex solution that forces the trailing slash.
     
  15. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    Can you please explain me more on that.
     
  16. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    ***** No use !!
     
    Last edited: Dec 17, 2015
  17. XxUnivaxX

    XxUnivaxX Jr. VIP Jr. VIP

    Joined:
    Jan 15, 2013
    Messages:
    2,596
    Likes Received:
    1,266
    Gender:
    Male
    Location:
    Basement
    Haha yeah you are right!!.
     
  18. Checkered hat

    Checkered hat Junior Member

    Joined:
    Dec 23, 2011
    Messages:
    123
    Likes Received:
    169
    You may add rel="canonical" to urls you want to keep.
    Add a <link> element with the attribute rel="canonical" to the <head> section of these pages.
    This google support page should explain all in details https://support.google.com/webmasters/answer/139066?hl=en

    Yes. Stop flaming in your posts on this forum will be much appreciated. Other people may look into this thread for real information and spare them from reading all this shit.
    And we really don't want to bother Ste, he has tons of threads to troll around. It's a very demanding job, after all.
     
  19. Whistleblower

    Whistleblower Junior Member

    Joined:
    Nov 5, 2015
    Messages:
    135
    Likes Received:
    33
    Okay i will.

    BTW thanks for your reply, i will try this one.

    Just another thing.

    I have to add <link rel="canonical" href="https://mydomain.com/abcd"/> or <link rel="canonical" href="https://mydomain.com/abcd/"/> ?

    Remember i don't have two different posts in the admin panel, it is just coz of GWT and my permalink structure, im stuck in this.

    thanks again.