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.

According to Google bot Index page and home page are same or not?

Discussion in 'Google' started by James chartler, Jun 13, 2013.

  1. #1
    If i typed mywebsite.com/index.php it showed the same page as mywebsite.com, i didn't redirect index.php to home page. Is it wrong in seo point of view. Whether google bot consider these two pages as different pages?
     
    James chartler, Jun 13, 2013 IP
  2. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #2
    The page that shows on your domain root is your homepage/indexpage. It can be index.php, index.html or home.php, anything.

    Nothing wrong in SEO perspective.
     
    Abhik, Jun 13, 2013 IP
  3. Arun@m6

    Arun@m6 Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    31
    #3
    Hai,

    There is nothing wrong in this. You can place files with names such as index or default in any of your directories and when the directory is referred you will be shown this page. It is a standard in the web and not an error.

    For example consider a website with the following structure: yousite is the root folder and inner is the internal folder.
    yousite/
    --> index.html
    --> x.html
    --> y.html
    -->inner/
    -->index.html
    -->a.html
    -->b.html

    If your refer to yoursite.com from a web browser then, it will load yousite/index.html and if you enter the URL yousite.com/inner, then it will load yousite.com/inner/index.html

    Hope you are clear about this concept now.

    Thanks
     
    Arun@m6, Jun 13, 2013 IP
  4. SystemOAD

    SystemOAD Well-Known Member

    Messages:
    548
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    195
    Digital Goods:
    1
    #4
    Google will see two different pages with the same content so you need to setup a 301 redirect for non-www to www and /index.php to www

    If you want the .htaccess code for all that and more you can check out the link in my sig :)
     
    SystemOAD, Jun 13, 2013 IP
  5. somanbangaree

    somanbangaree Active Member

    Messages:
    158
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    90
    #5
    domain.com, www.domain.com, domain.com/index.php
    Use Canonical Tag.
     
    somanbangaree, Jun 14, 2013 IP
  6. SystemOAD

    SystemOAD Well-Known Member

    Messages:
    548
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    195
    Digital Goods:
    1
    #6
    No you should setup a 301 redirect for your index to the root as I said above!

    With the correct 301 in place you have no need to place a canonical tag for the home page.

    This is the code you should place in your .htaccess file:
    
    Options +FollowSymLinks
    RewriteEngine on
    # index.php to /
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/
    RewriteRule ^(.*)index\.php$ /$1 [R=301,L]
    
    Code (markup):
     
    SystemOAD, Jun 14, 2013 IP
  7. Arick unirow

    Arick unirow Acclaimed Member

    Messages:
    719
    Likes Received:
    298
    Best Answers:
    30
    Trophy Points:
    500
    #7
    I'll try to answer your question.
    Based on my opinion, BOTS think each URL as unique. Whether it is "/me" or "/mes", both of them are different. The same thing applies to "/" and "/myhomepage". Both of them are unique. As long as the URL is accessible, has no redirection (especially 301) and no cannonical, BOTS think it different.

    However, BOTS from SE are smart. They will think "/index.php" and "/index.html" the same as "/".
    I remember Google recommend webmaster to use only one accessible URL and redirect the other.
    If two links has to be active, make sure to utilize "rel=canonical" which mean only one link will be added to index.

    I wish the explanation above answer your questions.

    Arick.
     
    Arick unirow, Jun 14, 2013 IP
  8. rankwatch.com

    rankwatch.com Active Member

    Messages:
    898
    Likes Received:
    22
    Best Answers:
    2
    Trophy Points:
    63
    #8
    This is duplication of pages. website.com/index.php and website.com are two different pages according to search engines. The ranking benefits are split across the two pages. So kindly do a 301 permanent redirection from non preferred version to preferred version of the page.
     
    rankwatch.com, Jun 16, 2013 IP
  9. easywpvps

    easywpvps Active Member

    Messages:
    67
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    68
    #9
    I found some nice answers as above to the question.
    However, to extend the question, I would like to ask what if the site link looks like the following?
    abcd.com/index.php/weightlost/how-to-lose-weight fast. Or,
    abcd.com/blog/index.php/how-to-get-a-girl-of-your-dream-next-year?
     
    easywpvps, Jun 16, 2013 IP
  10. Slincon

    Slincon Well-Known Member

    Messages:
    1,319
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    180
    #10
    It's because Google can't detect whether it's different content or not. Depending on your server, the default file might by default.php or default.aspx or index.php or some variation of that.

    Plus with dynamic urls (index.php?p=33), Google isn't sure whether the page it's being fed is your homepage or a dynamic file. Fortunately, they do give you the ability in google webmaster controls to tell Google to ignore certain URLS (or define what the variables at the end of the url mean).
     
    Slincon, Jun 16, 2013 IP
  11. linksolution

    linksolution Member

    Messages:
    361
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #11
    However, you can change it from your .htaccess file..if you want to keep yourdomain.com or yourdomain.com/index.html
     
    linksolution, Jun 16, 2013 IP