Uninstalled WordPress, now getting 200 errors of 500 response code
-
Hello there,
A little while ago I installed WordPress on the server I use with Bluehost to try out a theme. My business domain name is also the primary account on this server. WordPress was causing some serious issues on the server so I uninstalled it, and now I have over 200 "500 response code" errors according to WebMaster tools. I've included a screenshot of some of them.
Could anyone advise me on what to do about this?
Thanks so much!
-
PM sent with the code (in case you're okay making your own .htaccess file) or a link to a zip file that has a ready-made .htaccess file if you prefer.
Note: This will only work if you use Apache and have htaccess & mod_rewrite enabled... If you're on a linux host, chances this is okay but if in doubt, my contact details are in the PM.
Once done, feel free to email me the list of all error pages if you still have it, I'll paste into Screaming Frog in list mode and check that all the error pages now return 301s for you.
-
Sending you a PM with the file now
-
Just to say I'll be sorting the htaccess for you later this afternoon
I'll ping you a private message on Moz when done and will include my contact details in case you need a hand or run into any problems.
-
Ah! Okay cool. I'm based just outside Bristol - Been to Gatwick a few times... hope it wasn't too stressful!
I'll sort a htaccess file out for you tomorrow, no problems. Might be good to exchange Skype or Twitter details though, in case you run into any issues when adding it, though I'll put a bit of advice into the email I send the htaccess file with, so you should be fine Also, let me know when you've implemented the htaccess and I'll run a quick screaming frog crawl over both your site and the list of error pages, just to make sure all is as it should be
No worries re: returning the favour, just help the next person in line who needs a bit of help that you're able to provide, that's enough
-
Wow Mike, that's very generous of you and I would really love your help. htaccess scares me. I downloaded all the 500 codes into a spreadsheet and was going to try to figure out how to add *disallow to each entry, then try pasting into Webmaster tools htaccess thingy, but I might do more harm than good.
Unfortunately I did a bunch of silly things with sub-domains before I knew about SEO and indexing. I know better now but fixing the error of my ways is a different story. 301 redirects I can do, but 200 of them, one by one, would be painful!
The blog doesn't have any entries at all, I was just playing around with WordPress (I'm a web designer, but not developer).
I'm actually at Gatwick airport right now flying back to Boston!
Let me know if there's anything you need from me, and I hope that I can somehow return the favor one day.
Warmly,
Sarah
-
Personally, if you're 100% that you don't want the Wordpress install, I'd:
- Delete all files in the myblog subfolder, except the .htaccess file
- Edit the .htaccess file (or create a new one if you deleted it)
- 301 Redirect any good posts (had rankings, traffic or links) to a specific, related page on your main site
- Add a redirect rule to 301 all remaining pages to / (main site's homepage)
This may sound odd, but I'd then submit a sitemap with the pages that caused the 500 and 404 errors, aiming to get Google to recrawl the error pages & find the new 301 rules.
If you need a hand with this, I'm busy today but I can make the .htaccess entry for you tomorrow morning *UK time) and ping over to you.
EDIT: I'll be out for the next few hrs, but will keep an eye for a response when I can. If you want to drop me an email, check my Moz profile page, look under 'Mike Gracia's Blog:' and email me at that domain (my email is mike@).
-
Hi Mike,
Thank you for your very helpful response.
I already have a website against my primary domain, and it is not a WordPress site. I only installed WordPress (against a sub-domain on Bluehost) to play with. I used the Mojo WordPress install and uninstall.
There are over 200 "500 response codes" coming up in Webmaster tools so to redirect each one of them individually would be a nightmare.
I just used the "Wild card" redirect in Bluehost in the hopes of redirecting ALL 200 urls at once. Hopefully that's the right way to go about it.
Thank you!
-
If you've uninstalled Wordpress, then all URLs in /myblog (assuming this was your WP install dir, looking at the screenshot) will return 404s.
It's odd that they are returning a 500 (server error) response, though, I'd expect 404 errors. Have you
Have you done-away with your blog entirely? The only thing I can think of is the uninstall of Wordpress didn't go quite right and some files remain. All of the files in the screenie were for the Jetpack plugin, are there other 500 URLs?
- How did you uninstall? Manually?
- Is the directory /myblog still there?
- Is the MySQL database for WP still there? (this wouldn't cause the 500 issue, that'll be file related, still a valid question in case you need to salvage your WP install for a later date!).
301 Redirects
If you have removed the Wordpress site, it's going to be important to 301 redirect (permanently moved) the /myblog (in .htaccess assuming you're using Linus). Otherwise:
- You'll lose any link juice to the blog posts
- Visitors will hit 500 errors (at present) or 404 not found errors (if you fix the 500 error, which I suspect is due to a problematic uninstall)
Recommended Actions (if you don't want a blog):
- Check to see if WP was uninstalled correctly, any remaining files in /myblog
- Check if the MySQL database is still there - if it is, WAIT! Do you have any old WP posts that you want to keep?
- 301 Redirect any decent posts to a relevant new page on your website
- Add a blanket 301 Redirect for all other pages under /myblog (redirect rules can do this, no need for lots of individual 301s!)
Don't You Want a Blog?
A final question Don't you want a blog? Were you using it to publish decent content etc? If so, no reason to ditch Wordpress. If WP is causing issues, must be a problem somewhere (likely a in a theme or plugin file, or a conflict). Wordpress can be a great CMS but the downside is the number of plugins. It's too easy to install lots of theme and run into problems. Same with some cheap or free WP themes too.
If you do want a blog still, perhaps post here with what the problems were? Maybe the community can help get you back on-track with a blog?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How to solve this merchant error?
Hello All, In my google merchant suddenly lots of warning appeared i.e. 1) Automatic item updates: Missing schema.org microdata price information 2) Missing microdata for condition Can you please tell me how to solve this errors? Thanks!
Technical SEO | | varo
John0 -
Location of Content within the Code Structure
Hi guys,
Technical SEO | | artdivision
When working with advanced modern websites it many times means that in order to achieve the look and feel we end up with pages that has almost 1000 lines of code or more. In some cases it is impossible to avoid it if we are to reach the Client's visual and technical specifications. Say the page is 1000 lines of code, and our content only starts at line 450 onwards, will that have an impact from a Google crawlability, hence affect our SEO making it harder to rank? Thoughts? Dan.0 -
403 forbidden error how to solve them
hi, i have been using a great tool today called screaming frog which was shown to me by Thomas Zickell when i used the tool i found some worrying things for my site www.in2town.co.uk. what i have found is, i have a large number of 403 forbidden status on my home page and i do not know why here is an example http://www.in2town.co.uk/emmerdale/emmerdale-debbie-hits-rock-bottom it loads fine but on the tool it shows it as an error and shows it as having no meta tags or anything but there is meta tags in there can anyone please let me know how to solve this and why it has happened many thanks
Technical SEO | | ClaireH-1848860 -
Get rid of a large amount of 404 errors
Hi all, The problem:Google pointed out to me that I have a large increase of 404 errors. In short I had software before that created pages (automated) for long tale search terms and feeded them to google. Recently I quit this service and all those pages (about 500000) were deleted. Now google GWM points out about 800000 404 errors. What I noticed: I had a large amount of 404's before when I changed my website. I fixed it (proper 302) and as soon as all the 404's in GWM were gone I had around 200 visitors a day more. It seems that a clean site is better positioned. Anybody any suggestion on how to tell google that all urls starting with www.domain/webdir/ should be deleted from cache?
Technical SEO | | hometextileshop0 -
403 forbidden error website
Hi Mozzers, I got a question about new website from a new costumer http://www.eindexamensite.nl/. There is a 403 forbidden error on it, and I can't find what the problem is. I have checked on: http://gsitecrawler.com/tools/Server-Status.aspx
Technical SEO | | MaartenvandenBos
result:
URL=http://www.eindexamensite.nl/ **Result code: 403 (Forbidden / Forbidden)** When I delete the .htaccess from the server there is a 200 OK :-). So it is in the .htaccess. .htaccess code: ErrorDocument 404 /error.html RewriteEngine On
RewriteRule ^home$ / [L]
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.$ - [L]
RewriteRule ^uploads/.$ - [L]
RewriteRule ^fileadmin/.$ - [L]
RewriteRule ^typo3conf/.$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php Start rewrites for Static file caching RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|screens|showpic.php)/ - [L]
RewriteRule ^home$ / [L] Don't pull *.xml, *.css etc. from the cache RewriteCond %{REQUEST_FILENAME} !^..xml$
RewriteCond %{REQUEST_FILENAME} !^..css$
RewriteCond %{REQUEST_FILENAME} !^.*.php$ Check for Ctrl Shift reload RewriteCond %{HTTP:Pragma} !no-cache
RewriteCond %{HTTP:Cache-Control} !no-cache NO backend user is logged in. RewriteCond %{HTTP_COOKIE} !be_typo_user [NC] NO frontend user is logged in. RewriteCond %{HTTP_COOKIE} !nc_staticfilecache [NC] We only redirect GET requests RewriteCond %{REQUEST_METHOD} GET We only redirect URI's without query strings RewriteCond %{QUERY_STRING} ^$ We only redirect if a cache file actually exists RewriteCond %{DOCUMENT_ROOT}/typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html -f
RewriteRule .* typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html [L] End static file caching DirectoryIndex index.html CMS is typo3. any ideas? Thanks!
Maarten0 -
Which do you believe & why? Wordpress posts or pages?
I hear a lot of conflicting opinions regarding when to use pages over posts. If you were using wordpress mainly as a static site and less of a blog would you use pages over posts? Let's say it is a yacht review site. Would you set up most of the content (boat review pages) as pages or posts? I hear some say in that case you would want to use mostly pages and use posts for news related items. Then there are others that suggest only making the few (contact, about, privacy, terms) as pages and everything else created as posts organized into categories. Any thoughts? Also, is there a tool to find out if a website that is not yours is using a page or a post? Thanks
Technical SEO | | PEnterprises0 -
Crawl Errors In Webmaster Tools
Hi Guys, Searched the web in an answer to the importance of crawl errors in Webmaster tools but keep coming up with different answers. I have been working on a clients site for the last two months and (just completed one months of link bulding), however seems I have inherited issues I wasn't aware of from the previous guy that did the site. The site is currently at page 6 for the keyphrase 'boiler spares' with a keyword rich domain and a good onpage plan. Over the last couple of weeks he has been as high as page 4, only to be pushed back to page 8 and now settled at page 6. The only issue I can seem to find with the site in webmaster tools is crawl errors here are the stats:- In sitemaps : 123 Not Found : 2,079 Restricted by robots.txt 1 Unreachable: 2 I have read that ecommerce sites can often give off false negatives in terms of crawl errors from Google, however, these not found crawl errors are being linked from pages within the site. How have others solved the issue of crawl errors on ecommerce sites? could this be the reason for the bouncing round in the rankings or is it just a competitive niche and I need to be patient? Kind Regards Neil
Technical SEO | | optimiz10 -
404 vs. 200?
Is it better to have an error page return a 404 or 200? If I change it to 200, will I still be able to see reports of 404's and/ or broken links? Is there a valid SEO reason that Google would have for not wanting error pages to return 200? In other words, is there any SEO reason to absolutely change it to return a 404? I would rather let it return 200 if no priority reason to change. [title edited by staff to provide clarity]
Technical SEO | | cindyt-170380