Bluehost.com Web Hosting $6.95

foo to bar with 301, but bar showing foo?

This is a discussion on foo to bar with 301, but bar showing foo? within the Linux Web Servers forums, part of the Web Server and Related Forums category; I want to do the following rewrite: a request for foo.html should be redirected (301) to bar.html a ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-18-2005
John Bokma
 
Posts: n/a
Default foo to bar with 301, but bar showing foo?

I want to do the following rewrite:

a request for foo.html should be redirected (301) to bar.html
a request for bar.html should internally be redirected to foo.html.

So:

http://example.com/foo.html should 301 to
http://example.com/bar.html

However,
http://example.com/bar.html should show the contents of foo.html.

How can I do this?


--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0