Support » Fixing WordPress » 500 internal server error

  • Resolved jorgent

    (@jorgent)


    Hi.

    I know there are threads about “500 internal server error”, but I’m a newbie and couldn’t find any solutions to my problem in those threads.

    I have a blog at “www.mydomain.com”. This week I’ve been working on an other blog at “www.mydomain.com/testblog”. I’ve worked a lot with it and today I decided to change the permalink structure to “/%year%/%monthnum%/%day%/%postname%/”. This worked fine, but since I’m a newbie I also trid to add “/archives/%post_id%” so that the whole structure field looked like this: “/%year%/%monthnum%/%day%/%postname%/archives/%post_id%”

    That was very stupid because after I did that, I got an error and the blog seems lost.

    —————————————————–

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

    Please contact the server administrator, support@b-one.net 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.”

    —————————————————–

    I guess I have to do something with the .htaccess file, but I’ve never touched that file before, so I’m totally lost. My blog at “www.mydomain.com” is working without errors and I’m afraid that I destroy that blog if I edit the .htaccess file.

    I don’t have any vital post at my blog with the error so it’s not a big deal if the posts are gone forever, but the blog itself with all the plugins and modified css and php files are very important for me. How can I access the blog again? Can I just move the blog to another folder and delete the current folder? Please help me..

Viewing 13 replies - 1 through 13 (of 13 total)
  • Mark (podz)

    (@podz)

    Support Maven

    Use your ftp client to find and delete the .htaccess file.
    It can be hidden by default with some ftp clients so you may need to alter a setting.
    If these links don’t help, post back and tell us what ftp client you have:
    http://www.tamba2.org.uk/wordpress/ftp/
    http://codex.wordpress.org/FTP_Clients

    Thank you very much for such a quick reply!

    The .htaccess file is located in my root folder. Does anything happen with my blog at “www.mydomain.com” if I delete the .htaccess file?

    Mark (podz)

    (@podz)

    Support Maven

    No – nothing bad will happen.
    If you are worried, download it first so you have a copy, then nuke the one on the server.

    Ok, I’ll do that! But if nothing happens, why does the .htaccess exist? It seems like a useless file if it’s possible to delete it without consequences? Or you don’t have to answer. If I want to know I can google it 😉

    EDIT: It didn’t help. I still get the error.

    Mark (podz)

    (@podz)

    Support Maven

    http://www.jorgent.com/
    I see a post about Liverpool ?

    .htaccess isn’t useless – far from it. It’s a very powerful file indeed and can be used for things such as stopping others hotlinking to your images, securing areas of a site so that people need a login and more – check out what Codex has to say:
    http://wordpress.org/support/topic/36272

    When refreshing your browser, press CTRL and F5 to force a full reload ?

    Yes, I don’t have problems with my blog at http://www.jorgent.com, but my testblog at http://www.jorgent.com/testblog is gone.

    Mark (podz)

    (@podz)

    Support Maven

    There should be a file .htaccess inside the /testblog folder.
    Check and remove it ?

    I can’t see any .htaccess file in the /testblog folder.

    Try checking your testblog’s files’ permissions (CHMOD). At one point, I was getting that error when having PHP files CHMODed to 777, but everything went fine with 766 or 666.

    All the files are 755.

    Oh yes!! I read through the first link you gave me Podz, and I couldn’t see the .htaccess file in the /testblog folder because it was hidden, but “enable server side filtering” in my ftp client did the trick and I could see the .htaccess file. After I deleted it the blog is back! Thanks!

    New problem 🙁 I get a “404 Not Found” error when I click on the post titles. The posts was not important so I deleted them. But after creating a new post, I still get the error when I click on the title. I removed the permalink structure and everything worked fine, but when I add the structure again I get the 404 error. What should I do?

    Never mind. I was stupid enough to add the example of the structure instead of the actual structure.. All good now 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘500 internal server error’ is closed to new replies.