• I was hosting a site that I was designing for a friend on my server ’til they got some hosting and a domain sorted. Last night I tried to move the site to the new server.

    So I exported the Database in phpMyadmin and did a fresh install of WordPress on the new server, which I copied all the wordpress files (everything…mistake?) from my server to. I then created a new Database and user in mySql and imported the database I had saved. I had edited the sql file with the new url to replace the old one. I have also redirected the old blog to the new url.

    I went in to wp-config.php and edited the database info to the new details and hurray! The front page loads and I can get into the admin dashboard. But any page, or link I click within the site gives me a 500 Internal Server Error.

    As you can probably tell I’m new to all this server business so any help would be much appreciated, and hopefully, detailed!! Oh and, I have no htaccess file on the new server (I’ve seen it mentioned in other Help posts I’ve looked at). I also have no access to the site that was on my server as I get redirected to the new site.

    Old url: http://www.justni.co.uk/universi
    New url: http://www.universi.org.uk

    Url that I now get visiting old url: http://www.universi.org.uk/universi

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forget the old one – delete it and leave just a 301 redirect htaccess file in that directory. Or do NOT redirect at all. Mess with one thing at a time.

    Set the permalinks to the default on the new blog. Does it work?

    I tried visiting your new link. It works perfectly on my end. moshu’s solution worked?

    Thread Starter justni

    (@justni)

    I ended up just fixing it myself before I got a reply. I had no htaccess file so I created one and set the permalinks to postname. Also had to change the permissions.

    Thanks for the replies though!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Moved wordpress to new server, now getting 500 internal server errors’ is closed to new replies.