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.

Help - All my posts and everything disappeared from my blog

Discussion in 'WordPress' started by powwka, Mar 6, 2008.

  1. #1
    I was messing around a few days ago with my www.goldfishgaming.com HostGator account, trying to add domains to the account. I got a domain added and running, but today I just noticed something. I went to check my blog, and the homepage is working fine, but everything else is gone.

    It's not that important because I pretty much gave up on the site anyways, but does anyone know why this happened? (Reps if you help me)
     
    powwka, Mar 6, 2008 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    you'd probably be better off asking hostgator tech support, they may be able to look at the technical logs to see what happened.

    if that turns up nothing, you could try making sure your .htaccess file is properly set.
     
    fsmedia, Mar 6, 2008 IP
    powwka likes this.
  3. powwka

    powwka Peon

    Messages:
    583
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I talked to the Host Gator tech, he told my that I had no content folders (I checked and he was right) but he couldn't tell me how it happened.
     
    powwka, Mar 6, 2008 IP
  4. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #4
    if you're running Wordpress, it's likely that something happened with your .htaccess file or your permalinks are not set properly.
     
    fsmedia, Mar 6, 2008 IP
  5. powwka

    powwka Peon

    Messages:
    583
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I am running WordPress, but I think my .htaccess file is correct. This is what it looks like -
    Options +Indexes
    Options +FollowSymLinks
    RewriteCond %{HTTP_HOST} ^goldfishgaming\.com
    RewriteRule ^(.*)$ http://www.goldfishgaming.com/$1 [R=permanent,L]
    	
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !(.*)/$
    RewriteRule ^(.*)$ http://www.goldfishgaming.com/$1/ [L,R=301]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    Code (markup):
    I have also tried making new posts, and it says that it has been posted, and it shows up on the homepage. But when I click the link to it, I get the 404 error still.
     
    powwka, Mar 6, 2008 IP
  6. powwka

    powwka Peon

    Messages:
    583
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I switched my permalink structure to default instead of /%postname%/ and everything worked. Then I switched back to /%postname%/ and everything still worked, with the correct post URLs.(Thank you fsmedia)

    So it's working now, but how did this happen? I don't want it to happen to other people's sites that I work on.
     
    powwka, Mar 6, 2008 IP
  7. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #7
    there's just a hickup sometimes and it's best to make sure the permalinks are updated and you can write to the .htaccess file

    glad it's working now :)
     
    fsmedia, Mar 7, 2008 IP
  8. amanamission

    amanamission Notable Member

    Messages:
    1,936
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    210
    #8
    Sometimes, after your host has experienced an interruption, your pretty-permalinks are reset. It's happened to me a few times, as well. Ususlly if you just save the permalink structure again everything returns to functioning properly. :)
     
    amanamission, Mar 7, 2008 IP