| |
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 |
 |

06-23-2008, 08:26 PM
|
 |
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
|
|
.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.
|

06-24-2008, 05:43 AM
|
 |
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
|
|
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
|

06-24-2008, 07:37 PM
|
 |
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
|
|
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...
|

06-24-2008, 07:51 PM
|
 |
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
|
|
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.
|

06-24-2008, 09:07 PM
|
 |
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
|
|
whatever you do DO NOT 301 all the pages to the new domain. you are better off throwing thousands of 404 errors.
|

06-26-2008, 07:02 PM
|
 |
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
|
|
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.
|

06-27-2008, 07:59 AM
|
 |
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
|
|
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.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
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. |
|