Connecting Tech Pros Worldwide Forums | Help | Site Map

how define in htacess a link that donīt exist?

Member
 
Join Date: Mar 2008
Posts: 46
#1: Aug 12 '09
hi,
i have this domain for example: mydomain.com
and i want when i enter this url in browser:

mydomain.com/test

the htacess see the "test" redirect the site for test location ex: www.silva.com
and to that for the other words that i enter after "/"
for the folders that exist in server the htacess will donīt do nothing
the objective is only for the words what i want
this is possible?
thanks for your help
:)



Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,938
#2: Aug 12 '09

re: how define in htacess a link that donīt exist?


Hi, there.

Please see this thread. The question is different, but the answer is generally the same. Instead of redirecting to a local site, provide a complete http:// URL to wherever you want to redirect to.

When you have given it a go, post back with any other questions and the source-code you have tried with.

Thanks,
Mark (moderator).

P.S. I moved your thread from PHP to Apache (.htaccess is apache stuff).
Member
 
Join Date: Mar 2008
Posts: 46
#3: Aug 13 '09

re: how define in htacess a link that donīt exist?


hi,
thanks a lot for your help
i will try that
:)
Reply


Similar Apache Web Server bytes