404 handling the right way
-
Hi,
Currently when a page is not found I make a 301 redirect to a 404 page
should I really do a redirect or maybe a rewrite of the 404 page without redirection?
Thanks,
Asaf
-
I am not sure, as many sites do the redirect then the 404, I asume that search engines handle it ok, but I think it better to be safe. I like things to be done properly at my end i dont like to rely on others to fix the problem.
by the way I use
Server.TransferRequest("/seo-perth/error404")reather than just Server.Transfer it is a bit more correct
-
Thanks for the answer,
I'm using .net so I'll change the redirect to Server.Transfer, I think it looks better.
Do you think there is any difference from SEO perspective between the two methods ?
-
This is somthing i wondered about myself, i wanted a user frendly 404 page and I wanted to return a 404 without a redirect. Getting both was a problem.
I use .net, how i achived this was making my 404 page return a 404, and used server.transfer("/folder/my404Page")
Not sure what technology you are using but for .net that will work fine.
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
-
Search Console has found over 18k 404 errors in my site, should I redirect?
most of them where old URLs pointed from a really old domain, that we have just shutten down. If the pages didn't receive any traffic, should we redirect? If I follow this https://moz.com/learn/seo/http-status-codes we shouldn't
Technical SEO | | pablo_carrara0 -
Where to place your important links to gain maximum SEO benefits . Left or Right?
People spent **more than twice as much time looking at the left side **of the page and that is the reason it's good practice to place your important links in left side.
Technical SEO | | vivekrathore0 -
"HTTP error: 404 not found" submitting YOAST SITEMAP
When I upload the YOAST site map to google webmaster i get "HTTP error: 404 not found" just for the portfolio tag and categories..For other things iI dont get any i kinf of errors Is it because i dont have any tags and categories of portfolio element? I have to say in my template I have the portfolio post option but im not using it. Tx
Technical SEO | | tourtravel0 -
Is there a tool or other way to see which of my website pages employ noindex tag?
Hi guys I am checking my website for possible technical issues and was wondering if there is a tool or other way to see which of my pages employ the head noindex tag if any. Do you happen to know? Thanks Lily
Technical SEO | | wspwsp0 -
How to properly remove 404 errors
Hi, According to seomoz report I have two 404 errors on my site. (http://screencast.com/t/2FG8fA1dvGB) I removed them from google webmasters central about 2 weeks ago (http://screencast.com/t/MQ8XBvrFm ) , but they're still showing as an error in the next report (weekly update). Is there anything else you do about 404 or just remove urls through gwc? Or maybe seomoz data is delayed? Thanks in advance, JJ
Technical SEO | | jjtech0 -
How to handle large numbers of comments?
First the good news. One site that I've been working on has seen an increase in traffic from 2k/month to 80k! As well as lots of visitors, the site is also getting lots of comments with one page getting more than 70 comments/day and showing no sign of a slow down! Approximately 3000 comments in total and growing! What is the best approach for handling this? I'm not talking about the review/approval/response but just in the way these comments are presented on the website taking both seo and usability into account. Does anyone have any particular recommendations? Options I've considered are: Just show the most recent x comments and ignore the rest. (Nobody is going to read 3000 comments!) Paginate comments (risk of duplicate content? Using Ajax could hide long-tail phrases in comments?) Show all comments (page load speed is suffering and this is likely to be causing problems for mobile visitors) How do active comments on a page contribute to an article's freshness? Any thoughts would be greatly appreciated.
Technical SEO | | DougRoberts2 -
Best way to change from one CMS to wordpress??
I have a client that was working with another SEO consultant and they pretty much dropped the ball big time! The SEO company took his site off of wordpress and put it on another CMS (http://www.wsinetsuccess.com/WSI-E-Fusion). My client would like to take hes site off of the WSI E Fusion platform and back onto wordpress. My question is how is the best way to going about doing this with out loosing all of the PR to the site? Should I find all of the URLs that are on the site and just 301 them to the right page? Thank you very much for your help.
Technical SEO | | pakevin0 -
How to handle a future company expansion?
One of my clients is looking to start a new company and they are thinking of SEO right from the get go. While this is great for me there are a few issues that I have never really encountered before. For instance, my client knows that she will be expanding into a different city in the future but wants to generate local traffic to start with. She will initially start with CITY-A before moving to CITY-B one year later. Which of the following would be a better solution: 1) Have CITY-A targeted on the root domain for one year, build links and grow the site for CITY-A then create two sub domains in one year targeting CITY-A and CITY-B (ie. CITY-A.companyname.com and CITY-B.companyname.com), then make the root domain a generic company site with no mention of location (or mentions of both locations). . . 2) Create the two sub domains now and begin with CITY-A.companyname.com and have the root domain be a general overview of the company and our services without being location specific. 3) Create the root domain (companyname.com) and have that target CITY-A and keep it targeting the initial city, then create a sub-domain in a year to target CITY-B I keep going between these solutions and seem to have hit a mental block. What are your thoughts? Any other ideas are more that welcome! Thanks, Net66
Technical SEO | | net660