February 23rd, 2011, 04:31 AM
htaccess - no hidden redirect
I have built a website with htaccess file and deployed it on two independent servers. Strangely, the httaccess worked differently.
RewriteRule ^(.*)$ www.google.com [NC,L,R=301]
*The server that acts as expected: replace the current url with www.googl.com
*The other one: concatenate www.google.com to the current url.
2) hidden redirect
patched the first problem.
Now, I want to do a hidden redirect to google.
I have omitted the [R] attribute and:
*The "good" server does hidden redirect
*The other one doesn't redirect at all (no hidden and shown redirect).
Does someone has a guess?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!