Announcement

Collapse
No announcement yet.

SEO Friendly Links - 'Next' and 'Previous' Button Scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SEO Friendly Links - 'Next' and 'Previous' Button Scripts

    As a new user of Sebenza's Ultimate SEO Links, I can say we're pleased with the new "plain English" URLs the module creates.

    In addition to the obvious SEO benefit, our client's traffic logging stats are also much more useful, providing actual distinctions in their Miva pages whereas previously all pages appeared only as "merchant2/merchant.mvc".

    QUESTION:
    Two areas I would like to modify for tracking purposes are the pages accessed via the Search function, and also the 'Next' and 'Previous' buttons located at the top of my client's Product and Product Category pages.

    Any thoughts?
    The client's store is:
    http://store.blumerandstanton.com

    Thanks in advance,
    Roger Stanton
    ----------
    Roger Stanton
    WebPro360.com - Affordable Web Services for Small Business
    http://webpro360.com
    http://twitter.com/webpro360

    #2
    Re: SEO Friendly Links - 'Next' and 'Previous' Button Scripts

    Next/Prev Button URLS:
    Code:
    <a href="http://www.yourdomain.com/&mvt:nextproduct:code;-p-&mvt:nextproduct:ctgy.html">
    Code:
    <a href="http://www.yourdomain.com/&mvt:prevproduct:code;-p-&mvt:prevproduct:ctgy.html">
    Search Results Layout: (Image and Product Title URLS)
    Code:
    <a href="http://www.yourdomain.com/&mvta:product:code;-p-&mvta:global:Category_Code;.html">
    or
    Code:
    <a href="http://www.yourdomain.com/&mvta:product:code;.html">
    Breadcrumb Navigation Links:
    Code:
    <a href="http://www.yourdomain.com/&mvt:crumb:code;.html">

    Comment


      #3
      Re: SEO Friendly Links - 'Next' and 'Previous' Button Scripts

      Hey Dan,

      Thanks for the code. That's EXACTLY what I was looking for. It works, too, for the Breadcrumb Navigation Links and for the Search Results Layout, although I have to drop the category code because it wouldn't display for some reason.

      The Previous and Next codes are causing a disruption with the routine's If/Else statements. When I use the code you submitted, I start getting a problem with no closing statement for the If statements, etc., etc. When you get a minute, does it appear we have some malformed code in our Previous / Next routine? Here's the full routine:
      Code:
      <mvt:if expr="l.settings:prevproduct OR l.settings:nextproduct">
      <table cellpadding="0" cellspacing="0" width="275px">
      <tbody>
      <tr><td align="left" valign="top" width="125px">
      <mvt:if expr="l.settings:prevproduct">
      <a href="/&mvt:prevproduct:code;-p-&mvt:prevproduct:ctgy.html"><img src="/merchant2/graphics/00000001/button-previous-3.jpg" alt="Previous Product"; border="0" width="119" height="25"></a>
      </mvt:if>
      </td><td align="right" valign="top" width="125px">
      <mvt:if expr="l.settings:nextproduct">
      <a href="&mvt:global:sessionurl;Screen=PROD&Product_Code=&mvt:nextproduct:code;&Category_Code=&mvt:nextproduct:ctgy;"><img src="/merchant2/graphics/00000001/button-next-3.jpg" alt="Next Product"; border="0" width="119" height="25"></a>
      </mvt:if>
      </td></tr>
      </tbody>
      </table>
      </mvt:if>
      Again, this is for the Previous and Next buttons located on the client's Product pages at http://store.blumerandstanton.com

      Thanks for your earlier reply and any other thoughts,
      Roger
      ----------
      Roger Stanton
      WebPro360.com - Affordable Web Services for Small Business
      http://webpro360.com
      http://twitter.com/webpro360

      Comment


        #4
        Re: SEO Friendly Links - 'Next' and 'Previous' Button Scripts

        This entity is missing the ending semi-colon. That was my bad, sorry about that. Wrote that response on the fly.

        Code:
        &mvt:prevproduct:ctgy
        Last edited by Dan - Glendale Designs; 04-30-08, 07:29 AM.

        Comment


          #5
          Re: SEO Friendly Links - 'Next' and 'Previous' Button Scripts

          Dan,

          YOUR bad? I should have been adept enough to have caught that... thanks for the guidance. We got the site running on all 8 now... Thank you!

          Regards,
          Roger
          ----------
          Roger Stanton
          WebPro360.com - Affordable Web Services for Small Business
          http://webpro360.com
          http://twitter.com/webpro360

          Comment

          Working...
          X