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
-
Best Practices to Design Site Mock Up Using Wordpress Rather than Wireframes?
We are in the process of redesigning our real estate website. Our designer/developer is very quick and confident on Wordpress. He suggests designing directly on Wordpress and bypassing wireframes and a mock ups. He is very confident in his Wordpress abilities. Is it a mistake to take this approach? He has also asked that we select a real estate theme at this point. I would think that the theme would be selected after the wireframes and mock ups get done. But there are certainly different approaches. Are there best practices for redesigning a webiste; any suggestions? Are there significant risks/disadvantages to bypassing wireframes/mock ups? Thanks,
Intermediate & Advanced SEO | | Kingalan1
Alan Rosinsky0 -
What is the easiest way to make AMP pages with Wordpress?
Hi Mozzers! I really want to start created AMP pages for my clients sites, but have found a lot of trouble with the top plugins. One was extremely confusing and the other most popular option for a free plugin was super basic and had virtually no customization options. What's the best way to create these for a non developer? Thanks, Ricky
Intermediate & Advanced SEO | | RickyShockley0 -
Whats the Best way to Protect Wordpress Website from Getting Hacked.
Hi All, I just like to know whats the best way to protect wordpress website for getting hacked. I tried using Wordfence but nothing much happened. I m in shared Host and when ever there is a sign of attack my hosting company takes the site off which affects my site ranking a lot. I m trying to keep all my plugins updated but still it happens . Like to know what other people do . I am open for Paid tool suggestion as well. Thanks
Intermediate & Advanced SEO | | Verve-Innovation0 -
Updated Wordpress version and installed SEO plugin, ranking went down
Last week, we updated our Wordpress version to the most recent version, and installed the SEO plugin. Our rankings immediately went down from #9 to #19. Is this normal? Will our rankings improve once the search engines crawl our site in the next couple weeks? Any feedback is helpful!
Intermediate & Advanced SEO | | safiaabbasi0 -
Do 404 Pages from Broken Links Still Pass Link Equity?
Hi everyone, I've searched the Q&A section, and also Google, for about the past hour and couldn't find a clear answer on this. When inbound links point to a page that no longer exists, thus producing a 404 Error Page, is link equity/domain authority lost? We are migrating a large eCommerce website and have hundreds of pages with little to no traffic that have legacy 301 redirects pointing to their URLs. I'm trying to decide how necessary it is to keep these redirects. I'm not concerned about the page authority of the pages with little traffic...I'm concerned about overall domain authority of the site since that certainly plays a role in how the site ranks overall in Google (especially pages with no links pointing to them...perfect example is Amazon...thousands of pages with no external links that rank #1 in Google for their product name). Anyone have a clear answer? Thanks!
Intermediate & Advanced SEO | | M_D_Golden_Peak0 -
Wordpress Tags vs. Categories(looking to restructure things)
Just looking for some advice on this topic. I know it's much debated but it seems the consensus is that having some broad categories and more defined tags is optimal. The issue with my site is that it is very broad in nature. We're profiling and interviewing all types of careers. The site is www.jobshadow.com for reference. Up until now I haven't used Wordpress Tags at all. I've just been using categories(i.e. 9-5 type jobs, salaried jobs, hourly jobs, jobs in medicine, etc). I've probably got way too many categories. They are being counted as links on every post page which pushes me way overboard on links per page. -Just curious if anyone has any thoughts on best practices for my site. -Also, none of the categories themselves are really pulling in any SEO traffic so switching those wouldn't be a big deal. Just looking for the best way to help users browse the site and the growing number of content. And rom what I hear Tags can pull in some random/long tail traffic pretty easily if done right. Look forward to hearing your thoughts. Thanks for the help!
Intermediate & Advanced SEO | | astahl110 -
Problem with 404 and 500 Status code pages
Dear SeoMozzers, I have a question related to one of the sites I have recently changed the URL, going from http:example.com to http://www.example.com I did 301 redirects, as I was recommended to do. In the past month I have noticed an incredible drop in Google's rankings for many keywords and checking the crawling errors appearing in the SEO Crawling Report I have witnessed mayhem with Canonical/301 redirect types of errors. Now, things seem a little better. I have noticed a reduction in the number of 301 and Canonical type or errors (by the way, I still do not get the Canonical issue :-)). My little questions are the following: Will I ever go back to the positions I used to occupy before I redesigned the site's URL structure? I have now noticed that the SeoMoz Crawling report show "404 Staus" errors and one "505 Status" error. Can somebody please tell me how to fix the 404 Status Errors? Can I fix them by myself, or maybe I can ask the guys at the web hosting company, since I am really bad at taking care of technical issues? Thank you for the time you took to clarify my doubts. Ad maiora, Sal
Intermediate & Advanced SEO | | salvyy0 -
Moving wordpress to main website - errors galore
Hi there A while back I asked whether I should move my established blog on wordpress over to my main website http://www.gardenbeet.com. The overwhelming response was to move it. I still have not seen any benefit other than problems (2mths later). Maybe something is Not Quite Right? Here is a list of issues? Any insights would be welcome. I have installed Yeost SEO plugins 1. A blog category (garden art) ended up outranking my main website for the term Garden Art - so I did a 301 on the garden art category - main website has now regained its ranking in the top 3 position (was number 2 before the move). 2. I have removed the categories from the blog as a 301 on the Garden Art catgegory would not make sense to a user. I decided to use tags as a navigational tool instead. I figured that because I have over 500 tags I could not have had the tags out rank my main website for any key term. So far correct. But now i have wanings from SEO moz 500 missing meta tags,(for the tags) - do i really have to write over 500 meta? over 160 long urls and titles - when i commenced the blog I had no idea that Urls and headings were linked in wordpress ( my developer does not think i should rename the urls and use a 301 as I already have a tonne due to a site rebuild) - is it OK to leave the long urls and fix the title only? On wordpress I had bewteen 400-900 users on my blog a day (using wordpress analytics) - now only 200 (using GA) - Yes I now have increased links to my website but have seen no imrpovement on my SERPS - will i see an improvement in my rankings? my wordpress site use to have page rank of 3 -
Intermediate & Advanced SEO | | GardenBeet0