How to best remove old pages for SEO
-
I run an accommodation web site, each listing has its own page. When a property is removed what is the best way to handle this for SEO because the URL will no longer be valid and there will be a blank page.
-
Stephanie Chang posted on just this subject last month on the blog at http://www.seomoz.org/blog/how-should-you-handle-expired-content. Her post may help you with some ideas -- it was actually because of all of these types of questions in Q&A that she wrote the post.
-
It looks like your server is Linux possibly..Apache..running PHP.
If that's the case, you can build a page that you'd like to display for all pages that do not exist and upload it on the server as 404.php or whatever you might want to call it.
Then, add the following line in your .htaccess file.
ErrorDocument 404 /404.php
You are all set.
To me i looks like you are already set or doing this in some fashion. I checked to see if I visit http://www.visitdevonandcornwall.com/test and see what happens.
It gives me a friendly 404 and the HTTP Header is correct.
HTTP/1.1 404 Not Found => Server => cloudflare-nginx Date => Fri, 11 May 2012 17:17:51 GMT Content-Type => text/html Connection => close X-Powered-By => PHP/5.3.6 Expires => Thu, 19 Nov 1981 08:52:00 GMT Cache-Control => no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma => no-cache Set-Cookie => __cfduid=d1b9e2169ed78a6697f752eef1c0a5ee01336756670; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.www.visitdevonandcornwall.com
-
A home bodge job... url www.visitdevonandcornwall.com
-
What platform is your website ? You could also send me the URL via PM or post here and I can check.
-
I agree with the idea of the message, best user experience. Sadly people do not want their property showing, often because they change from a business to a residential property.
How do I show the page is a 404, is that a code snippet in the header or similar?
-
It would be best to make it a 404 or you could consider still having the property listed but mentioning it's no longer available and displaying similar / nearby / related properties on that page as long as it makes sense from both the usability / TOS and other business issues.
Think from a user's perspective. Let's say I took a URL of a property from your website and linked to it from my blog post where I am talking about my vacation or if I emailed it to friends/family. If that property is no longer available, what's a good user experience for people clicking on that link from my website or from my email. In my opinion, it might be a good idea to have a user friendly message saying that property is no longer available and displaying other related properties.
I hope that helps and makes sense.
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 for types of pages not to index
Trying to better understand best practices for when and when not use a content="noindex". Are there certain types of pages that we shouldn't want Google to index? Contact form pages, privacy policy pages, internal search pages, archive pages (using wordpress). Any thoughts would be appreciated.
Technical SEO | | RichHamilton_qcs0 -
Does a number of products in anchor text (link to product list page) have any influence on SEO?
For example: shower cabins (660), used in our onpage-navigation which links to a product list page.
Technical SEO | | Maxaro.nl0 -
Page for page 301 redirects from old server to new server
Hi guys:
Technical SEO | | cindyt-17038
I have a client who is moving their entire ecommerce site from one hosting platform (Yahoo Store) to another (BigCommerce) and from one domain to another. The old domain is registered with the Yahoo as of yesterday and we have redirected the old domain (at the domain level) to the new domain. However, we are having trouble getting the pages to redirect page for page. Currently they are all redirecting to the new domain home page. We did just move the old domain from GoDaddy to Yahoo yesterday thinking this would solve it however as of this morning the old pages are still redirecting to the home page of the new domain. To complete the 301 redirect picture, we uploaded the redirects (all relative links for both from and to) to BigCommerce. And while the domain was hosted at GoDaddy with a redirect to the new domain, they were working. We moved the domain to Yahoo because of email issues thinking it should still work. Is it possibly just a waiting game now as the change populates across the DNS? old url to test:
rock-n-roll-action-figures.com/fender-jazz-bass-miniature-guitar-replica-classic-red-finish.html0 -
Is the Authority of Individual Pages Diluted When You Add New Pages?
I was wondering if the authority of individual pages is diluted when you add new pages (in Google's view). Suppose your site had 100 pages and you added 100 new pages (without getting any new links). Would the average authority of the original pages significantly decrease and result in a drop in search traffic to the original pages? Do you worry that adding more pages will hurt pages that were previously published?
Technical SEO | | Charlessipe0 -
Best way to manage SEO for a massive events listing website.
I run a website that tracks entertainment for the entire state of South Dakota. While I've made some fantastic strides in gaining traffic, I feel lost on how to manage all those entries in an SEO friendly manner. I have a TON of errors showing on my crawl diagnostics and I just don't know what to do. The nature of the website is such that there are going to be duplications all over the place. I know that I can help some of this by getting my canonical links setup properly (that's coming in my next version of the site's theme), but what else should I do to make those event listings friendly for the SE's?? http://www.entertainsd.com
Technical SEO | | jcherland0 -
Splitting Page Authority with two URLs for the same page.
Hello guys, My website is currently holding two different URLs for the same page and I am under the impression such set up is dividing my Page Authority and Link Juice. We currently have the following page with both URLs below: www.wbresearch.com/soldiertechnologyusa/home.aspx
Technical SEO | | JoaoPdaCosta-WBR
www.wbresearch.com/soldiertechnologyusa/ Analysing the page authority and backlinks I identified that we are splitting the amount of backlinks (links from sites, social media and therefore authority). "/home.aspx"
PA: 67
Linking Root Domains: 52
Total Links: 272 "/"
PA: 64
Linking Root Domains: 29
Total Links: 128 I am under the impression that if the URLs were the same we would maximise our backlinks and therefore page authority. My Question: How can I fix this? Should I have a 301 redirect from the page "/" to the "/home.aspx" therefore passing the authority and link juice of “/” directly to “/homes.aspx”? Trying to gather thoughts and ideas on this, suggestions are much appreciated? Thanks!0 -
What's the best way to eliminate duplicate page content caused by blog archives?
I (obviously) can't delete the archived pages regardless of how much traffic they do/don't receive. Would you recommend a meta robot or robot.txt file? I'm not sure I'll have access to the root directory so I could be stuck with utilizing a meta robot, correct? Any other suggestions to alleviate this pesky duplicate page content issue?
Technical SEO | | ICM0 -
301 lots of old pages to home page
Will it hurt me if i redirect a few hundred old pages to my home page? I currently have a mess on my hands with many 404's showing up after moving my site to a new ecommerce server. We have been at the new server for 2 years but still have 337 404s showing up in google webmaster tools. I don't think it would affect users as very few people woudl find those old links but I don't want to mess with google. Also, how much are those 404s hurting my rank?
Technical SEO | | bhsiao1