How do I fix a redirect in Firefox so that it leads my site to another address but with a slash at the end of it?
This is my redirect in .htaccess:
RewriteCond %{HTTP_HOST} ^test\.mydomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.test\.mydomain\.com$
RewriteRule ^testword$ "http\:\/\/outsidedomain\.com\/test\.mydomain\.com\/testword\/" [R=301,L]
It works fine in Chrome.
This is what it's suppose to do:
test.mydomain.com/testword should lead to outsidedomain.com/test.mydomain.com/testword/. Instead, in Firefox it leads to outsidedomain.com/test.mydomain.com/testword. Notice the lack of forward slash.
It has to have a slash at the end because otherwise the script from outsidedomain.com doesn't work properly.
UPDATE:
I'm using http://nyanit.com to display a page at my blog so when a user writes mydomain.com/testword it leads to http://nyanit.com/mydomain.com/testword/. It show's all right in Chrome where the "nyanit" script is loaded only once but in Firefox displaying that "testword" page starts a redirection again so the page doesn't show but only the sript is showing multiple times.
Check it out here. Try both Chrome and Firefox to see what I mean.