Grow your CSS skills. Land your dream job.

Page Anchors and how Google Treats Them?

  • # February 6, 2013 at 6:10 pm

    Hey All -

    I’ve got a question about using page anchors and how they are handled with Google.

    I recently redesigned my blog ([http://www.mattsoria.com/blog](http://www.mattsoria.com/blog “Poopsplat”)) and decided against having separate ‘about’ and ‘links’ pages, and instead created a #about section and #links section in the footer of the page. I linked to both of these sections in the main nav with http://www.mattsoria.com/blog/#about (and /#links).

    Now, just to try and cover my bases, and because previous to the redesign I did have an actual page at http://www.mattsoria.com/blog/about, I created a page for each that redirects to the main page at the respective anchor – so if you go to http://www.mattsoria.com/blog/about or /links you’ll actually land in the same spot. I’ve filled these pages with the proper meta, but what my question is:

    How will google index this content, if at all, and what is the best way to go about it. I’ve noticed a rise in popularity of single-page websites that have the user navigate through the page via anchors, especially in agencies’ sites, so how do they handle the issue of wanting a searcher to be able to click directly on a link to their “about” page from the google search, when the about page is really just content on the main page of the site?

    I’ve done some searching and can’t find out a whole lot on the subject, and I’m also just curious to hear about anyone’s experience with this issue. Any insight is extremely appreciated!

    Thanks!
    matt

    # February 6, 2013 at 8:43 pm

    I can’t say 100% that Google and other Search engines archive different #strings in the url as separate urls or not but the best way in my opinion to make sure everything points to the right places is to use 301 Redirects. I noticed that you are using WordPress and I know for a fact that there is a plugin on there that can do most of the messy work for you.

    Basically if using the plugin it will request you to put in the original URL

    http://www.mattsoria.com/blog/about

    and then it will ask you to input either the new URL or the new location. So either of these.

    http://www.mattsoria.com/blog/#about

    /blog/#about

    The process basically tells search engines that the page they have archived has been moved to another location and points the engine in the right direction allowing them to update there archives without losing any data.

    Now like I said at the start, I’m not sure Google indexes site appendages like these but if they do this is probably the best way to go about it. Hope it helps.

    # February 7, 2013 at 12:30 am

    Cyanoxide,

    Thanks for the insight! Yeah – this is how I am handling it currently.
    If you go to http://ww.mattsoria.com/blog/about you’ll see that this redirects to /#about

    Still not sure about how it would be indexed, but I’ll keep on searching.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".