Please help me with this...

Using a single web hosting account to host multiple sites

Please help me with this...

Postby url isse » Fri Jun 11, 2004 7:11 am

how do I redirect url for following situation..

www.mydomain.com/docs/A

to www.mydomain.com/myfolder/notes/A/

thanks in advance...
url isse
 

Postby seomike » Fri Jun 11, 2004 7:59 am

seomike
 
Posts: 331
Joined: Thu May 06, 2004 7:36 pm
Location: Dallas

But directory A is dynamic... It change

Postby url isse » Fri Jun 11, 2004 9:19 am

But directory A name is dynamic... It changes everytime..

how do i handle that situation....

Thanks
url isse
 

Postby seomike » Fri Jun 11, 2004 9:37 am

# begin mod rewrite
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} ^/docs/.*$
RewriteRule ^docs/(.*)$ http://www.mydomain.com/myfolder/notes/$1 [R,L]
#end redirect

Try this then
seomike
 
Posts: 331
Joined: Thu May 06, 2004 7:36 pm
Location: Dallas


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 23 guests

cron