|.htaccess redirect not working with IE|
This is my first post, and I'm way over my head, I am a complete noob, but I got stuck being the webmaster for my rugby club. I have a problem that I can't resolve with .htaccess redirects with internet explorer. I have been searching google for a week, called my host, called my bud who owns his on dev company...can't find a solution.
I appreciate any help, but please easy on the tech terms. I'm very new to this. I'd appreciate an english version if possible, or, if that's not, if you could just drop some topics that I could read to understand. I'm not looking for a spoon feed, I just have NO IDEA where to start.
I think it's related to this thread:
what is happening is that on FF, Chrome, and Safari, it works, but in IE, the .htaccess redirects the home page, but if I click on any links on my new (wordpress) site, it does the following:
Should redirect to example.com/Wordpress/page
instead redirects to example.com/Wordpress/#/page
then shortly after it changes to example.com/page which does not exists. But if I hit the back button or open the link in a new window it works. Could anyone point me in the right direction?
Hey BKed, Welcome to WebmasterWorld!
Could you please post an examplified version [meaning change any domain specifics to www.example.com] of your .htaccess file? The answer to your question sounds a bit like a caching issue, especially since it works in some browsers and not others, but it would be helpful to see the code you have to be sure.
If you haven't, make sure you empty the cache in IE and then try to request the page again and see if you get the same result or not -- Usually, when a redirect works in one browser it should work in all browsers as long as they make a new request, but I have known there to be some "oddities" in mod_rewrite, so anything's possible.
:: insert boilerplate about typing too slow ::
... and speaking of boilerplate, did you see the part about "Why We Make You Do It Yourself"? It doesn't mean we will all sit back and refuse to help. It simply means you gotta come clean and show us your present rule so we can pick holes in-- Whoops! I mean, fine-tune it until it's perfect.
phranque? You out there? Within the past year or so there was a post in (probably) /apache/ that finally made it clear why some rules seem to behave differently in certain browsers, even though this ought to be impossible. But it goes without saying that I can't find it :( The closest I get is assorted problems that turn out to be due to browsers caching pages and/or the 301 response itself.
|Within the past year or so there was a post in (probably) /apache/ that finally made it clear why some rules seem to behave differently in certain browsers, even though this ought to be impossible. |
.htaccess redirect not working for IE Browser:
(still not a browser problem)