Reply
What to do about old html pages
Old 04-12-2008, 03:36 PM What to do about old html pages
Junior Talker

Posts: 5
Name: Mike
I just completed redeisgn of an existing site. The new site has completely different file names than the previous version. Google says use a 404 error page with info about the new site and links to new pages.

What should I do about other websites (not Search Engines) linking to pages which no longer exist in my new site. Should I do a redirect to just let the 404 do its job?
mikemc9 is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 04-12-2008, 04:35 PM Re: What to do about old html pages
chrishirst's Avatar
Super Moderator

Posts: 10,598
Location: Blackpool. UK
301 redirect
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-12-2008, 07:54 PM Re: What to do about old html pages
Junior Talker

Posts: 5
Name: Mike
if the old page was a xxx.htm and the new page is php how do I set up a 301 in html?
mikemc9 is offline
Reply With Quote
View Public Profile
 
Old 04-12-2008, 08:21 PM Re: What to do about old html pages
King Spam Talker

Posts: 1,029
This is not necessarily the proper syntax for your server.

RedirectMatch permanent oldpage.html newpage.php

All you do is say send the oldpage to the newpage and this change is permanent (301)
colbyt is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 10:26 AM Re: What to do about old html pages
Junior Talker

Posts: 5
Name: Mike
Can I have a specific example on a 301 redirect. I'm fairly new at this.
mikemc9 is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 10:37 AM Re: What to do about old html pages
A Monkey Typing's Avatar
Super Talker

Latest Blog Post:
Valid Markup and the W3C
Posts: 113
Location: Northeastern PA
.HTACCESS redirect:

Code:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
http://www.webconfs.com/how-to-redirect-a-webpage.php
__________________
2MonkeysTyping Webdesign Monkeybusiness
A Monkey Typing is offline
Reply With Quote
View Public Profile Visit A Monkey Typing's homepage!
 
Old 04-13-2008, 01:56 PM Re: What to do about old html pages
King Spam Talker

Posts: 1,029
I gave it to you in one format

Quote:
RedirectMatch permanent oldpage.html newpage.php
And the monkey gave it to you in another. One of the two will work for you.
colbyt is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 05:55 PM Re: What to do about old html pages
Novice Talker

Posts: 10
Name: Tobias Eichner
Location: Germany
Alternatively a general "This page doesn't no longer exist... please visit our sitemap for more information" could be the better solution. At least it will save you much time especially on complex websites with dozens of pages.
__________________
Business consulting services: http://www.starenterprise.com
CGI Perl scripts and software development: http://www.sunnyscript.com
tobias is offline
Reply With Quote
View Public Profile Visit tobias's homepage!
 
Old 04-13-2008, 05:56 PM Re: What to do about old html pages
tamar's Avatar
Ultra Talker

Posts: 418
Name: Tamar Weinberg
Location: New York
Definitely do a 301 redirect. If the content is valuable and you want search traffic from it, a 404 just won't do. Google will forget about that page and move on. Tell Google (especially if it has indexed the page that serves the 404) that your content has moved to another location.
tamar is offline
Reply With Quote
View Public Profile Visit tamar's homepage!
 
Old 04-14-2008, 02:24 PM Re: What to do about old html pages
chrishirst's Avatar
Super Moderator

Posts: 10,598
Location: Blackpool. UK
Quote:
Can I have a specific example on a 301 redirect. I'm fairly new at this.
Sure, tell us what server technology you use and we'll be able to give you the right one.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to What to do about old html pages
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.19049 seconds with 14 queries