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.

Home page working but Inner pages not opening show 404 error

Discussion in 'Databases' started by hurlinghamclinic, Dec 23, 2011.

  1. #1
    Just transferred my site to new host, if you open the site you can see the homepage it work fine but if you click on any inner pages link you will see a 404 not found error. can you please help for the same?
     
    hurlinghamclinic, Dec 23, 2011 IP
  2. filegrasper

    filegrasper Active Member

    Messages:
    493
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #2
    you may forget to copy the .htacess file. check that , that will create problem like this
     
    filegrasper, Dec 23, 2011 IP
  3. dotcompals

    dotcompals Prominent Member

    Messages:
    2,905
    Likes Received:
    254
    Best Answers:
    0
    Trophy Points:
    320
    #3
    give me the URL
     
    dotcompals, Dec 23, 2011 IP
  4. hurlinghamclinic

    hurlinghamclinic Active Member

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    hurlinghamclinic, Dec 28, 2011 IP
  5. 0ccul7

    0ccul7 Active Member

    Messages:
    275
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #5
    It looks like a problem with the .htaccess file
     
    0ccul7, Dec 28, 2011 IP
  6. hurlinghamclinic

    hurlinghamclinic Active Member

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #6
    but there is no .htaccess on root server
     
    hurlinghamclinic, Dec 28, 2011 IP
  7. Paz

    Paz Well-Known Member

    Messages:
    587
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    170
    #7
    I saw this thread title and thought "no htaccess". It's a hidden file that you normally have to change a preference in your FTP client to view (eg Force Showing Hidden Files). if you copied your files manually, then I doubt very much the htaccess would have been carried across.
     
    Paz, Dec 30, 2011 IP
  8. hurlinghamclinic

    hurlinghamclinic Active Member

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #8
    Thanks Paz
     
    hurlinghamclinic, Jan 12, 2012 IP
  9. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #9
    1. Are all your folders in the same stack as the old site . Otherwise the links to them will be wrong. example: folder/(down 1 level to) page.php
    2. Has the site been set up yet (at least 24 hours) otherwise all the links will be wrong until that goes into effect.
    3. Is the DOMAIN NAME = www.your_site.com still the same ? or does it have a new domain name? if so, all the links of http:///www.yoursite.com/folder/page.php
    will all be wrong because of the URL pointing to the page.
    4. Is your site on top level , or nested within an existing site for a yourdomain.theirdomain.com ? as a subdomain ?
    5. Did you put your pages into the right folder on the new host? Public HTML, WWW root? or did you accidently dump them into cgi_bin, etc ? Check to see where your pages are residing.

    If the structure of your site and most importantly domain name hasn't changed , then this is obviously ion error due to the new host setting things up. Otherwise the folders and inside pages are not at the same levels as they were.
     
    ezprint2008, Feb 5, 2012 IP
  10. monovm

    monovm Active Member

    Messages:
    29
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #10
    .htaccess file is usually hidden if you use cpanel you can set to show hidden files .
    then you can transfer htaccess file too.
     
    monovm, Oct 19, 2016 IP