Wordpress No 404
-
Hello,
My issue is that in wordpress 404 does not seem to be working properly.
An example of this is:
sitename.com/category/catname loads the files in that category but I can also type
sitename.com/category/asdasfaasd/catname and it still goes to the posts in that category and does not 404. I can replace the misc text with anything and it does not 404.
My worry is that this can be used to exploit duplicate content.
I've looked at a couple of other sites and they do the same.
I'm using Yoast as my SEO plugin and my theme is elogix from themeforest.
I've tried disabling all plugins, cloudflare and changing theme and the same issue exists.
If anyone can help it would be extremely appreciated.
-
Hi Paul,
Will do. I forgot to mention but I actually found the flaw with the 404 when I was looking at the SEOmoz crawler statistics. It said that my sub categories were duplicate content as the pages it was referring to were assigned to multiple categories.
An example roughly based on my structure that it detected as duplicate content is the posts existing in: /category/seo/no1 and /category/seo/no2 so as a result it was duplicate content. I deleted the sub categories and assigned them all to just the SEO category and realised that the sub categories were still resolving so to troubleshoot this I decided to add a random prefix to the end e.g. /seo/asdnas and the address still resolved to the root category.
My theory was that if someone generated for example 100 urls and built links that google would see it as 100 duplicate pages due to the fact it was not 404ing or changing url when as you said 301ing.
I will close the thread and mark your question as good answer.
Cheers.
-
Hmmm... you should be seeing the URL change in the browser's address bar after the redirect pushes to the corrected URL, Luke. I certainly do in my installs that I confirmed it with.
At any rate, if this answered your question fully, would be a good idea to mark the question as "Answered" to help other users. I'd also love a mark as "Good Answer if you found it valuable.
And yea, absolutely - something new to learn every day. That's what I love about this business I only remember seeing this correction functionality mentioned once in passing in some documentation, but I couldn't find it by search even though i knew what I was looking for. So no wonder you couldn't scrounge it up.
Paul
-
Hi Paul,
Thanks for clearing that up for me!. When I was playing with it I was extremely confused as normally 301 actually redirects and shows the new URL.
As a temporary solution I ended up stripping the category base meaning it now 404s or 301s to the correct page if you try any of the things I originally mentioned.
I actually did a fair bit of research on it prior to asking on SEOmoz and could not find anything at all about it. I even asked a couple of web developers I know who use Joomla and Drupal and they could not figure it out either.
You clearly do learn something new every day as I had no idea about this prior to your reply.
Thanks for taking the time to answer my question and clearing it up for me, it's appreciated,
Luke
-
WordPress has this error-correction functionality built-in, Luke.
If you user a server header checking tool on that non-existent URL, you'll see that WP is automatically using a 301-redirect to push the user to the correct address each time - so no duplicate content or split authority problems at all.
Paul
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
-
404 Pages. Can I change it to do this without getting penalized ? I want to lower our bounce rate from these pages to encourage the user to continue on the site
Hi All, We have been streaming our site and got rid of thousands of pages for redundant locations (Basically these used to be virtual locations where we didn't have a depot although we did deliver there and most of them was duplicate/thin content etc ). Most of them have little if any link value and I didn't want to 301 all of them as we already have quite a few 301's already We currently display a 404 page but I want to improve on this. Current 404 page is - http://goo.gl/rFRNMt I can get my developer to change it, so it will still be a 404 page but the user will see the relevant category page instead ? So it will look like this - http://goo.gl/Rc8YP8 . We could also use Java script to show the location name etc... Would be be okay ? or would google see this as cheating. basically I want to lower our bounce rates from these pages but still be attractive enough for the user to continue in the site and not go away. If this is not a good idea, then any recommendations on improving our current 404 would be greatly appreciated. thanks Pete
Intermediate & Advanced SEO | | PeteC120 -
Google is showing 404 error. What should I do?
Dear Experts, Though few of my website pages are accessible, Google is showing 404 error. What should I do? Even moz reports gives me the same. Problems:
Intermediate & Advanced SEO | | Somanathan
1. Few of my Pages are not yet catched in Google. (Earlier all of them were catched by Google)
2. Tried to fetch the those pages, but Google says, page not found.
3. Included them in sitemap, the result is the same. Please advice: Note: I have recently changed my hosting server.0 -
Joomla to Wordpress site migration - thousands of 404s
I recently migrated a site from Joomla to Wordpress. In advance I exported the HTML pages from Joomla using Screaming Frog and did 301 redirects on all those pages. However Webmaster Tools is now telling me (a week after putting the redirects in place) that there are >7k 404s. Many of them aren't HTML pages, just index.php files but I didn't think I would have to export these in my Screaming Frog crawl. We have since done a blanket 301 redirect for anything with index.php in it but Webmaster Tools is still picking them up as 404s. So my question is, what should I have done with Screaming Frog re exporting to ensure I captured all pages to redirect and what should I now do to fix the 404s that Webmaster Tools is picking up?
Intermediate & Advanced SEO | | Bua0 -
How should I go about repairing 400,000 404 error pages?
My thinking is to make a list of most linked to and most trafficked error pages, and just redirect those, but I don't know how to get all that data because i can't even download all the error pages from Webmaster Tools, and even then, how would i get backlink data except by checking each link manually? Are there any detailed step-by-step instructions on this that I missed in my Googling? Thanks for reading!!
Intermediate & Advanced SEO | | DA20130 -
How do I change HTML title, and add H1 tags with Volusion? and why is it so hard!?!?! wordpress is WAYY better.
So I could go in depth with this and tell you all about the problems I have encountered with Volusion... but i'm not. I just need to help a client change the 7,000 product pages they have that have duplicated title tags, and no H1 tags. (probably one of the worst case of On-Page SEO set ups ever right? Shouldn't Volusion be built to help you do these types of essentials easily? Or (for the price) even better would be to do it automatically based on the product name??)
Intermediate & Advanced SEO | | TylerAbernethy0 -
Handful of internal pages penguin penalized. 302 them or let them 404?
We have a site that is for the most part doing great, but the internal pages that received too much link building received some penguin penalties (no warning in WMT) but it's fairly obvious. Has anyone tried letting these pages 404 and just creating new URL's? Or 302 redirecting the old URL's to new ones?
Intermediate & Advanced SEO | | iAnalyst.com0 -
Should I remove the ?replytocom variables in wordpress?
I'm using Yoast's wordpress plugin and there is an option to remove the replytocom variables. I'm curious what everyone's thoughts were on that, and if I should do it. Here's the site if you need to see it. Thanks!
Intermediate & Advanced SEO | | NoahsDad0 -
Wordpress Duplicate Content
We have recently moved our company's blog to Wordpress on a subdomain (we utilize the Yoast SEO plugin). We are now experiencing an ever-growing volume of crawl errors (nearly 300 4xx now) for pages that do not exist to begin with. I believe it may have something to do with having the blog on a subdomain and/or our yoast seo plugin's indexation archives (author, category, etc) --- we currently have Subpages of archives and taxonomies, and category archives in use. I'm not as familiar with Wordpress and the Yoast SEO plugin as I am with other CMS' so any help in this matter would be greatly appreciated. I can PM further info if necessary. Thank you for the help in advance.
Intermediate & Advanced SEO | | BethA0