Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: phranque
I have two pages, one about 'widgets' (generally) and one about specifically about 'widget usage'.
I've a crazy idea to move the 'widget usage' content into the main 'widgets' page under a subheading (H2) of 'Widget usage'. The H2 tag will be an anchor point (id="usage") such that the URL: www.mydomain.com/widgets/#usage will skip down the page to the appropriate part of the widgets page.
Should I 301 redirect the old usage page to www.mydomain.com/widgets/#usage?
or just www.mydomain.com/widgets/
Logically, it seeems the right thing to do, but I've never seen a URL like this in G. SERPS, so I'm not sure how G. will interpret the 301 when it contains a #?
But mainly, to be sure the redirection will actually work. I've thought of it, but never done it, instead just used named anchors with links from other pages. It's part of the HTML specifications to used a named anchor but I doubt that it's specified as valid with Apache. I've never seen it in the Apache documentation.
I'm still unsure. I assume that since google does not show anchors in its SERPS, Google must simply strip out the # part (and anything following it) and simply index the page using the main part of the URL. For some reason a part of me thinks that that might not be the case though...