Page ending with slash ( /) and without slash (/).

Discussion in 'Search Engine Optimization' started by Kavin, Jun 18, 2014.

  1. #1
    Hi Friends,

    I have one query. I have one site and the following page are opening with slash (/) and also without slash (/). I think this will show two different pages accordingly to Google. So can you please let me know how can I solve this issue?

    Do I need to make code in .htaccess. If so then can you please tell me exactly which code I need to use to solve this issue?

    For example:
    www.domainname.com/locatoion/
    www.domainname.com/location
     
    Kavin, Jun 18, 2014 IP
  2. Kristina Roy

    Kristina Roy Active Member

    Messages:
    201
    Likes Received:
    14
    Best Answers:
    4
    Trophy Points:
    63
    #2
    I think, you should use canonical URLs to solve this problem. More details about it is given at here: support(dot)google(dot)com/webmasters/answer/139066?hl=en
     
    Kristina Roy, Jun 18, 2014 IP
  3. homer7

    homer7 Well-Known Member

    Messages:
    268
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    125
    #3
    If you are running WordPress then you can set your permalink at Settings > Permalinks, you should stick to one only. with slash or without, also if you have WordPress SEO plugin installed, it makes it easier to set the canonical url (preferred version of your delicate urls ).
     
    homer7, Jun 19, 2014 IP
  4. Arzent

    Arzent Member

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    May be such that the user's browser automatically puts slashes?
     
    Arzent, Jun 19, 2014 IP