Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

.htaccess redirection

Name: Anonymous 2010-09-23 20:54

RewriteCond %{HTTP_HOST} ^url.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.url.com$
RewriteRule ^dir$ "url2.com" [R=301,L]

When I open url.com/dir now, it shows up url2.com in the browser line. But I want that it redirects to url2.com but keeps showing url.com/dir in browser line, url2.com should be "hidden".

Is that possible?

Name: Anonymous 2010-09-23 21:03

This board is for programmers only.  Demonstrating your failure to understand program behavior on the simplest level does not make for a good debut.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List