By amirchss
Hi there-
I’m getting a 500 internal server error whenever I try to load up my website. I made a mistake earlier when I was using Wordpress. I accidentally put an incorrect URL for my site in the in the admin dashboard, which messed up the site. I hardcoded the variables inside wp-config.php, so I could load the site again. This worked, however, I made the mistake of deleting these variables once the site was working. Since then I am getting a 500 internal server error, and every page on my site is blank. When I put the variables in again, to define the site URL, it didn’t work. I have already checked the .htaccess file and disabled plugins, which did not work. Any ideas?
Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You can always change the siteurl option in the database directly, it’s in the wp_options table of your database. On SSH
select * from wp_options where option_name = 'siteurl';
Above query will show you the current siteurl
update wp_options set option_value = "http://yourwordpresssitename.com" where option_name = 'siteurl';
Above query will update the siteurl for you.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.