Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW > Web Design and Website Development > Programming
Register FAQ Members List Downloads Calendar Today's Posts Webmaster Resources Webmaster Blogs
 
 

Programming Programming related discussion. Topics includes PHP, MySQL, ASP.NET, Perl, HTML, XHTML, CSS, JavaScript, 'Flash, Flex, ActionScript and AJAX.
Sub Forums: PHP Forums :: MySQL Forums :: CSS Forums :: XHTML :: Flex Flash ActionScript

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-23-2008, 08:26 PM
tb987's Avatar
Senior Member
312 posts this year. worth their weight in gold!
Trusted Member - And full of good stuff!
Last months UKWW Tokens: 9
 
Join Date: Mar 2008
Posts: 277
Thanks: 2
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Question .htaccess 301 redirect question

I am moving from one forum system to anther, the import is done and the URL structure is completely different.

I have 301 redirect for the main entry pages i.e

Redirect 301 /forum/old.html http ://www.new.com

I don't have time to do this for every page, so I thought I would add the following to the bottom of the list:

Redirect 301 /forum/ http ://www.new.com

The problem is this overrides the individual redirects.

Is there any way round this?

Tony

Last edited by tb987; 06-26-2008 at 07:00 PM.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 06-24-2008, 05:43 AM
Bagi Zoltán's Avatar
Boss Cart consultant
1157 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
Last months UKWW Tokens: 15
 
Join Date: Feb 2007
Location: Veszprém, Hungary
Posts: 1,594
Thanks: 4
Thanked 25 Times in 13 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

If the URL structure will be totally different i believe the best solution would be specifying the custom error page affecting the old URLs with the /new/ folder
Quote:
ErrorDocument 404 /new/
__________________
Time may come when you will need a shopping cart
digitális mérleg keresőoptimalizálás
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 06-24-2008, 07:37 PM
tb987's Avatar
Senior Member
312 posts this year. worth their weight in gold!
Trusted Member - And full of good stuff!
Last months UKWW Tokens: 9
 
Join Date: Mar 2008
Posts: 277
Thanks: 2
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

Um not sure what you mean - I just redirected the whole folder in the end - I think the answer was to use conditional rewrite rules which would have been a right pain. Let's see what thes SEs think...
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 06-24-2008, 07:51 PM
Bagi Zoltán's Avatar
Boss Cart consultant
1157 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
Last months UKWW Tokens: 15
 
Join Date: Feb 2007
Location: Veszprém, Hungary
Posts: 1,594
Thanks: 4
Thanked 25 Times in 13 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

Let me explain. If you had an URL with the old pattern like yourdomain.com/old/showpage?id=5, and now you have this content with the new pattern at yourdomain.com/new/page/5/. If you simply redirect the /old/ folder to the /new/ one the googlebot will get a lot of 404 not found error response, because the webserver won't serve any content for this request yourdomain.com/new/showpage?id=5. This was the reason why i suggest to specify the /new/ folder as the local error page, because that will give a 301 response for the googlebot and let it know that all the relevance and importance of the old URL structure must be passed on to the /new/ folder.
__________________
Time may come when you will need a shopping cart
digitális mérleg keresőoptimalizálás
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 06-24-2008, 09:07 PM
OldWelshGuy's Avatar
Super Moderator
992 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
Last months UKWW Tokens: 8
 
Join Date: Oct 2004
Posts: 2,272
Thanks: 2
Thanked 10 Times in 10 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

whatever you do DO NOT 301 all the pages to the new domain. you are better off throwing thousands of 404 errors.
__________________
Umbrella Consultancy SEO WALES - Web Design Wales- Internet Marketing Consultancy - Google expert
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 06-26-2008, 07:02 PM
tb987's Avatar
Senior Member
312 posts this year. worth their weight in gold!
Trusted Member - And full of good stuff!
Last months UKWW Tokens: 9
 
Join Date: Mar 2008
Posts: 277
Thanks: 2
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

I have done this OWG - it will be interesting to see what happens. I am expecting traffic to drop off for a while, at least I have a decent forum now which is much more user friendly.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 06-27-2008, 07:59 AM
johnafrankllin's Avatar
Senior Member
168 posts this year. Executive spud!
We have not managed to scare them away..
Last months UKWW Tokens: 12
 
Join Date: Feb 2008
Posts: 149
Thanks: 1
Thanked 1 Time in 1 Post
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

I think its better to use a 404 error page on old site and redirect it to new one after showing some message like "The Page you are looking has been moved or removed. Browser will redirect you to our new site" or any thing that suites your requirement.
__________________
Let me learn Search Engine Optimization: SEO Services India
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
.htaccess, 301, redirect



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Webmaster Resources
UK WW SEO Tools
Find UK Hosts
 
The Forum Rules
Forum Rules - MUST READ
 
Site Of the Month
BizzFace
Nominate site of the month
 
Tag Cloud
ad exchange audio ads bid bidding directory bid directory list bid for position business clothes dedicated servers delisted designer directory links wanted discount executive suites finance google handbags internet and marketing internet marketing iphone jewelry link exchange nokia n95 paid blogging phones electronics replica samsung sem seo seo company sunglasses teac cd recorder uk property writer wallets web web design web development website development website promotion wholesale yahoo backlink

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:41 AM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0