Google + Php/ Strange problem Please help

Discussion in 'Google' started by rohit_tripathi60, Aug 28, 2009.

  1. #1
    Hi friends, A strange problem occurred in my website today.. my website is developed in PHP and when I click on any of its internal pages like http://www.otssolutions.com/offshore-software-programming.php it works fine but if i add / in the end then a strange problem occurred like http://www.otssolutions.com/offshore-software-programming.php/ the page is not loading as its designed and all links on this new url page doesnt work and google shows more than 100 pages in my WMT as not found.:(


    I have checked this bug with other php websites also and the same problem with those websites also,, what the solutions?
     
    rohit_tripathi60, Aug 28, 2009 IP
  2. rohit_tripathi60

    rohit_tripathi60 Active Member

    Messages:
    303
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #2
    only given error URL has been cashed by google so if iput it in Robot.txt would it helps?
     
    rohit_tripathi60, Aug 28, 2009 IP
  3. mubheer

    mubheer Active Member

    Messages:
    340
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Re-write URLS, I think that will fix the issue
     
    mubheer, Aug 28, 2009 IP
  4. mubheer

    mubheer Active Member

    Messages:
    340
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #4
    perhaps you can re-write your URLS to match Google indexed pages or request re-index
     
    mubheer, Aug 28, 2009 IP
  5. rohit_tripathi60

    rohit_tripathi60 Active Member

    Messages:
    303
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    if someone doesn't add / in the url the pages work naturally but if someone adds / in the url they get in different shape + only http://www,otssolutions.com/offshore-software-programming.php with / url is in google webmaster tools
    not found list. what I have done ki I have added given url with / in robots.txt so that gooGle do not visit this page, is it the right solution?
     
    rohit_tripathi60, Aug 28, 2009 IP
  6. ipr22

    ipr22 Peon

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    why would you put a slash at the end? that would mean that offshoreprogramming.php is a directory
     
    ipr22, Aug 28, 2009 IP
  7. Deus Ex

    Deus Ex Peon

    Messages:
    531
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yeah, you are making subdirectories with the slashes - If you actually care about that -- make 301 redirects to the proper pages with .php, not /'s which refer to subdirectories.
     
    Deus Ex, Aug 28, 2009 IP