WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess file? (6 posts)

  1. brett924
    Member
    Posted 1 year ago #

    I have a self-hosted wordpress site, but I don't code a lick. It's brettcohrs.com. You can get to that homepage, but i can't login to my admin nor can you go to specific posts or pages (click on one of the post titles and you'll see).

    GoDaddy tells me it's a .htaccess issue and they can't help me with that. I can't seem to figure out how to rewrite the .htaccess (in a fit, I deleted it).

    Is there a simple way to rewrite it and upload that would right my site and get it going? If not, is there a way for me to download all my posts and other files and upload them under a fresh WP installation?

  2. michael.mariart
    Member
    Posted 1 year ago #

    Al you need to do is go into your WordPress admin area and go to 'Settings -> Permalinks'. Change the setting back to 'default', and then change it back to what you had it has originally. This "resets" the permalinks and re-generates the .htaccess fie as it should be.

  3. brett924
    Member
    Posted 1 year ago #

    The problem there is that I can't access my admin area. When I go to login, I get this error:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    Apache Server at brettcohrs.com Port 80

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you using custom permalinks? What is in your .htaccess file?

  5. brett924
    Member
    Posted 1 year ago #

    I do change my permalinks here and there. Sometimes, I just take the default (which I set to just the name of the post/page). To my embarrassment, I got mad and just deleted the .htaccess file. I honestly don't even know what it's for. I was hoping to find a standard issue file and upload it to see if it helps.

    My site: brettcohrs.com. Homepage works, but click on a post and it gives an 'oops' message.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    Try:
    - switching to the Twenty Eleven theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.