Retain anchor when redirecting subdomain (IE)
Posted
by dani
on Stack Overflow
See other posts from Stack Overflow
or by dani
Published on 2010-03-13T00:32:32Z
Indexed on
2010/03/13
0:37 UTC
Read the original article
Hit count: 774
Firefox:
http://example.com/about/#anchor -> http://www.example.com/about/#anchor
Internet Explorer 6-8:
http://example.com/about/#anchor -> http://www.example.com/about/
Why is the anchor dropped in IE and what can I do about it? (Query string is not dropped, only the #xyz part)
I am running Wordpress with the .htaccess below, but the problem is probably to be found elsewhere?
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Is a PHP header or javascript redirect my only option? Thanks for all hints.
© Stack Overflow or respective owner