IE changes the title value, if there is a # present in the URL
If a '#' value is present in the URL, Internet explorer replaces the title text with the URL
Steps to Reproduce:
- In Internet Explorer, Go www.store.apple.com/us, have a look the title, it will say "Welcome to the Apple Store - Apple Store(U.S)"
- Append '#开发者_运维知识库123' to the URL, so the new URL should will now be, http://www.store.apple.com/us#123
- See the value in the Title Bar, it will be 'http://www.store.apple.com/us#123'
Is there a way to overcome this apart from stripping it with Javascript and will it affect Search Engine Rank?
P.S: The apple.com is used just for example purpose, this bug holds good for any website.
What version of IE are you using?
I tried with IE8, and the window title changes to show the URL, however the title shown in the tab is still the title specified in the <title> tag of the page.
What is displayed in IE won't have any effect on search engine ranking.
精彩评论