Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

specific redirect in .htaccess

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Custom Error Pages  
Author Message
cmohn

External


Since: Nov 06, 2003
Posts: 1



(Msg. 1) Posted: Thu Nov 06, 2003 8:27 pm
Post subject: specific redirect in .htaccess
Archived from groups: alt>apache>configuration (more info?)

Hello,

I was wondering if it is possible to say in the .htaccess only if someone
tries to call upon test1.htm to redirect him to test2.htm. The reason i want
to do that is because I recently replaced my old website but the search
engine still shows links to files which doesn't exist anymore. I mean
eventually the search engines will update but until then I would like to be
found.
Thanks for any advice.
chris

 >> Stay informed about: specific redirect in .htaccess 
Back to top
Login to vote
spam3

External


Since: Jul 01, 2003
Posts: 411



(Msg. 2) Posted: Fri Nov 07, 2003 1:32 am
Post subject: Re: specific redirect in .htaccess [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris wrote:

 > Hello,
 >
 > I was wondering if it is possible to say in the .htaccess only if someone
 > tries to call upon test1.htm to redirect him to test2.htm. The reason i want
 > to do that is because I recently replaced my old website but the search
 > engine still shows links to files which doesn't exist anymore. I mean
 > eventually the search engines will update but until then I would like to be
 > found.
 > Thanks for any advice.
 > chris
 >
 >

RedirectMatch (.*)/test1.htm$ (.*)/test2.htm$ [L]

--
Justin Koivisto - spam.RemoveThis@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: specific redirect in .htaccess 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
.htaccess redirect - Is it possible to do something similar to this ... redirect http://www.widget.com/index.html http://www.newwidget.com/index.html If not, an alternative idea? Thanks

User specific configuration... - Hello, I installed apache2 on a RedHat box from the apache.org sources and it works fine. Now I want to set up name based virtual hosts but I do not know how to do it exactly to reach the following: A user should be able to connect via ftp and see..

Is there a way to block Specific Clients from connecting. - I have a Site with speech mp3 files on it, People are chewing up the bandwidth on streaming the files. Is there anyway using directives in the .htaccess file in the directory to allow people to right click and select save as (ie MSIE or Mozilla) but if....

redirect.pl - help - Greetings, I have apache 1.3 installed on FreeBSD 4.7. I'm trying to find a redirect.pl for my cgi-bin (need it for a web page). where is this located ? Or, where can I get it ? thanks, -D

redirect - Hi , I have apache in my win2000 for server web with +/- 60 sites. I must set config for this : All people that connect to my fixed ip to external must redirect to dir : /public/ Only the local pc can navigate inside all server dir ??? Thks
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]