Spanish website - home page called what?

Discussion in 'Programming' started by gayc, Sep 20, 2012.

  1. #1
    Guys - can some of you with a great dealmore experience with this help me out.

    I bought a PR5 expired website (allegedly) - cheap enough not to worry - but basically I have recreated the urls which I picked up from what was left in Googles index but I just can't work out what the home page would have been.

    The internal pages all have no PR. The site itself has PR5 but I have tried everything to locate what google saw as the home page - index, welsome, default, home etc with a variet of extenstions, htm, html, php, asp etc. but none of these carry the PR, only the url.

    The only clue I have is it's previous owner, as far as I can see, still has a similar site is a similar format - his home page is index.php.

    I suspect that the site must have had a redirect for a while before it expired but I'm not very experienced with these things.

    I don't know if I can manage to retain any of the PR, and if I can, how to go about it.

    Can anyone give me any pointers as to what might have happend?

    Am I allowed to post the url here?
     
    gayc, Sep 20, 2012 IP
  2. Mispero

    Mispero Greenhorn

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    There is a php function to get the ultimate redirect page.
    If I remember correctly is called curl
     
    Mispero, Sep 22, 2012 IP
  3. gayc

    gayc Well-Known Member

    Messages:
    533
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Thanks for that. I have drawn a complete blank trying to understand this with my limited knowledge.

    I am totally bewildered as to how the site url is PR5 but the home page and all internal pages are PR0.
     
    gayc, Sep 22, 2012 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    If there's no file named index or default (htm, html, php, etc.), you'll have to read all the files to see which one has the code for the page you consider the home page. There's no way we can tell you what to look for unless there's a recent entry for the site (recent relative to its going down) in the wayback machine that you can give us a link to. A homepage looks like any other page - it's different only in that - maybe - there are links to it on the rest of the site labeled "home" (or the Spanish equivalent).
     
    Rukbat, Oct 1, 2012 IP
  5. Mr_Kumar

    Mr_Kumar Notable Member

    Messages:
    2,561
    Likes Received:
    374
    Best Answers:
    1
    Trophy Points:
    265
    Articles:
    4
    #5
    If you couldn't figure out the home page, then what is the issue? You can keep your home page anything (say index.php or index.html). And after that just do make sure.. www.yourdomain .com/index.php is redirected to www . youdomain .com. Whatever your type for home page, it should be redirected to just domain.

    I think below code should do the trick
    RewriteEngine On
    RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
    Code (markup):
    In case it don't work, then share your domain with us. I'll update the code.

    Also, if you want a www version should always open then use below code as well
    
    RewriteCond %{HTTP_HOST} ^yourdomain\.com
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
    Code (markup):
     
    Mr_Kumar, Oct 10, 2012 IP