Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ally Watson 16 posts 37 karma points
    Jan 10, 2012 @ 11:21
    Ally Watson
    0

    Url rewriting filtered results for Google analytics

    I have a page on my site that uses query strings to filter results. In order to output the information I require I need to use the node Id and the category name. For the purposes of google analytics I need  to rewrite the url and I was wondering if the following is valid or if there is a better rewrite rule I should use to make it more google friendly?

     Querystring url  = http://localhost/page-name/?cat=1338-categoryname

     Rewrite = http://localhost/page-name/1338-categoryname

  • Euan Rae 105 posts 135 karma points
    Jan 10, 2012 @ 12:28
    Euan Rae
    0

    The best way to structure the (rewritten) url would be as follows:

    http://localhost/page-name/categoryname/1338

     

    There are a couple of things to note with this for SEO:

    - it is best to have the category name seperated

    - there is some evidence that the keywords to the left hold more weight, but it is more important that it is consistent

    /Euan

  • Ally Watson 16 posts 37 karma points
    Jan 10, 2012 @ 14:35
    Ally Watson
    0

    Thanks Euan that's really helpful advice!

     

    Ally

  • Euan Rae 105 posts 135 karma points
    Jan 10, 2012 @ 15:07
    Euan Rae
    0

    No worries!

    Another thing I thought of is the link text: to get the best results you should have the a tags that link to the page like so:

    <a href="http://localhost/page-name/categoryname/1338">categoryname</a>

    Cheers,

    Euan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies