WordPress.org

Forums

[resolved] 3.4.2 Holy Crapoly missing all permalinks (11 posts)

  1. bossltr
    Member
    Posted 2 years ago #

    two days ago my site lost the ability to display pages and posts. No WordPress updates (still at 3.4.2) or plug-ins were updated either, now all plug-ins are disabled. htaccess file is short and sweet:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    # to protect wp-config.php
    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    # to protect the .htaccess file itself:
    <Files .htaccess>
    order deny,allow
    deny from all
    </Files>
    --------
    Apparently it is writable because when I change the permalink settings it says "done" and when I come back to the setting in a different browser it is changed.
    Reinstalled WP 3.4.2 to no avail. Checked MySQL at Godaddy and it looks fine from what I can tell.
    Some 600 plus pages and posts on my site http://outfitnm.com are no longer visible, although a page that (before I disabled plug-ins, I guess) displayed approved and pending with the aforementioned numbers.
    I live to blog, I feel better knowing the permalinks are just messed up, and my lifelong work is still there somewhere. But please any one got an idea what I should look at next?
    Oh yeah this is a godaddy hosted linux server mysql 5 apache 2.2

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    What happens if you use the default permalink settings?

  3. bossltr
    Member
    Posted 2 years ago #

    no change when changing permalink styles, would have been nice, but no still a blank front page at http://outfitnm.com sadly

  4. bossltr
    Member
    Posted 2 years ago #

    I am trying to think if there were any other events which may have coincided with this. Yet another related posts plug-in I think updated that day
    Spammers have been hitting my site pretty hard lately: I have three or four security programs running: Akismet, Invisible Defender, Secure WordPress, Sweetcaptcha, TimesToCome Stop Bot Registration, I don't remember which ones are letting me know about the attacks, probably the last one.
    They are all off at the momment, probably not a good idea. I'll go enable them now
    Brian Rodgers

  5. keesiemeijer
    moderator
    Posted 2 years ago #

    Can you see the posts and pages in the wp-admin?

  6. bossltr
    Member
    Posted 2 years ago #

    "Can you see the posts and pages in the wp-admin?" negative

  7. keesiemeijer
    moderator
    Posted 2 years ago #

    Do you have any backups of the database?
    Ask your host if they make regular backups.

  8. bossltr
    Member
    Posted 2 years ago #

    I have a data base back-up from April. I wanted to exhaust all other possible causes first so I didn't lose my work since then

  9. keesiemeijer
    moderator
    Posted 2 years ago #

    First make a backup of the database as it is now:
    http://codex.wordpress.org/Backing_Up_Your_Database

    Connect to your database using PHPmyAdmin and browse the posts table, do you see any of your post titles?
    http://wordpress.org/support/topic/lost-content-2?replies=9

    If you do see your posts in the posts table repair the table:
    automatic - http://codex.wordpress.org/Editing_wp-config.php#Automatic_Database_Optimizing
    manually - http://codex.wordpress.org/FAQ_Troubleshooting#How_do_you_repair_a_MySQL_database_table.3F

    Check with your host if they make regular (weekly/monthly) backups.

  10. Go Daddy
    Go Daddy Support
    Posted 2 years ago #

    It looks like the site is back up and running at this time. Do you still have any issues or is this resolved?

    If you did need to use a backup from previously, also let me know as I can help you with recovering more recent content if necessary.

    ^Cj

  11. bossltr
    Member
    Posted 2 years ago #

    Thank you everyone. With the help of a friend, yes we got my site returned to normal: http://outfitnm.com if anyone wants to have a look. It is really comforting to know there is a group such as this to kick ideas back and forth.
    It took some perseverance, but I learned which database was being used by wordpress from the wp-config file then copied the database to my PC so it wouldn't be written over when I backed it up again.

    My buddy then looked at the tables in the database found some old ones which were not in use and possibly causing the db to crash. He then removed the offending tables, and bingo my site came back online. OMG what a relief! New backups made all around.
    Thanks again to everyone here and at GoDaddy too
    Brian Rodgers

Topic Closed

This topic has been closed to new replies.

About this Topic