Support » Fixing WordPress » Screwed up .htaccess

  • I uploaded a plug-in to display a “printer friendly” version of a blog post, and it required pasting some code into my .htaccess file. Needless to say, I screwed it up somehow. I didn’t backup the original .htaccess beforehand because the process looked so simple–just cut and paste. How could I mess up? Right.

    Now, only my main page will show up–no archives or comments. I removed the line of offending code and deleted the plug-in, but still have no access to my site beyond the front page.

    Is there a way to make WordPress generate a new .htaccess file? Or do I need to ask my host to restore the file from a backup?

Viewing 1 replies (of 1 total)
  • Moderator James Huff


    If you can make it to your admin interface at /wp-admin/, go to Options/Permalinks, delete the offending .htaccess file, and set your permalinks again.

    If you cannot make it to your admin interface at /wp-admin/, delete the offending .htaccess file first, then try to set your permalinks again in Options/Permalinks.

Viewing 1 replies (of 1 total)
  • The topic ‘Screwed up .htaccess’ is closed to new replies.