Reply
How to do this 301 redirect
Old 10-23-2007, 12:57 PM Exclamation How to do this 301 redirect
Nima's Avatar
Skilled Talker

Posts: 73
I want to redirect all pages of website A that are in folder "Gallery" to the www.websiteB.com/index.php


How can i do that?

Thanks
Nima
__________________
Nima | PR5 Directory only $4.99 | Poker Forum

Free PR3 Deep Link Directories (Nima - Bam)
Nima is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-23-2007, 03:07 PM Re: How to do this 301 redirect
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
redirect 301 /gallery/ http://www.newsite.tld

should be fine.
__________________
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 10-23-2007, 06:33 PM Re: How to do this 301 redirect
Nima's Avatar
Skilled Talker

Posts: 73
that doesnt work
__________________
Nima | PR5 Directory only $4.99 | Poker Forum

Free PR3 Deep Link Directories (Nima - Bam)
Nima is offline
Reply With Quote
View Public Profile
 
Old 10-24-2007, 02:22 AM Re: How to do this 301 redirect
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Apache? Is mod_rewrite set up?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 10-24-2007, 04:51 AM Re: How to do this 301 redirect
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
Quote:
Originally Posted by Nima View Post
that doesnt work
Define "doesn't work"
__________________
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 10-26-2007, 08:22 PM Re: How to do this 301 redirect
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Wireless Audio
Posts: 2,320
Name: Keith Marshall
Location: West Hartford, CT
chrishirst suggestion above will only work on Apache web server, and needs to be written to the .htaccess file on the public root directory. I don't believe this requires the mod rewrite to be active.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to do this 301 redirect
 

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.13566 seconds with 12 queries