Announcement

Collapse
No announcement yet.

Menu Link Session id?

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

    Menu Link Session id?

    Hey guys,

    I have been having some problems with my sites ranking and posted on Google webmaster help about it. Someone responded and stated one of the problems I have has something to do with my menu links. Here is what they wrote below:

    Oh - just noticed that your top menu links all go to a long odd store url

    /mm5/merchant.mvc?Session_ID=900091d2521c98018d5b14724a530134&Screen=ABOUT&Store_Code=spotlightdisplays



    that cannot be good - menu links to your about page should end in about.html etc not your storefront.

    My site is Spotlightdisplays dot com How do I fix this? Any help would be appreciated. Thanks!
    Semper Fi,

    Robert Perry






    #2
    Re: Menu Link Session id?

    Sounds like you need to do some tweaking for a couple of things. First I suspect you might have your Domain Settings > Site Configuration set to Include Session Parameters in Miva Merchant URLs: Always. Change it to "When transitioning between Secure and Non-Secure URLs"

    Then go to the SEO Settings tab and activate the Short link settings.

    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #3
      Re: Menu Link Session id?

      Hi Leslie and thank you for your reply. I just went and looked at those settings and they were set exactly as you recommended?
      Semper Fi,

      Robert Perry





      Comment


        #4
        Re: Menu Link Session id?

        Do you have any other suggestions Leslie? Or anyone else?

        Thanks!
        Semper Fi,

        Robert Perry





        Comment


          #5
          Re: Menu Link Session id?

          In Google's Webmaster Tools, you can set it to ignore everything after the "?" - that should help.

          http://support.google.com/webmasters...answer=1235687

          You should change your store page links to short URL's. Also, be sure to have canonicals for your store pages like "ABOUT":

          http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139066#4
          Last edited by nottheusual1; 04-30-12, 05:45 AM.

          Comment


            #6
            Re: Menu Link Session id?

            Originally posted by nottheusual1 View Post
            In Google's Webmaster Tools, you can set it to ignore everything after the "?" - that should help.

            http://support.google.com/webmasters...answer=1235687

            You should change your store page links to short URL's. Also, be sure to have canonicals for your store pages like "ABOUT":

            http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139066#4
            Thank you very much Nott, I will fix the Canonicals. As far as the Short URL'S. I thought I already have the site set to it? It is checked off in settings.

            Thanks!
            Semper Fi,

            Robert Perry





            Comment


              #7
              Re: Menu Link Session id?

              You still need to go into the page templates and change the link structures. Usually those links are in some pretty static area like the navbar, cat tree and/or footer, so it isn't that big a deal.

              Comment


                #8
                Re: Menu Link Session id?

                I think I just figured this out. I looked in my htaccess file and found this:
                RedirectPermanent /about.htm http://www spotlightdisplays com/mm5/merchant.mvc?Screen=ABOUT&Store_Code=spotlightdisp lays

                Should I just delete that? And should I put a redirect in for about.html to about.htm because when I type the url with about.html the screen comes up white?

                Thanks!
                Semper Fi,

                Robert Perry





                Comment


                  #9
                  Re: Menu Link Session id?

                  Originally posted by nottheusual1 View Post
                  You still need to go into the page templates and change the link structures. Usually those links are in some pretty static area like the navbar, cat tree and/or footer, so it isn't that big a deal.
                  Your talking about my About Page right? Because all my cat. tree pages seem to be using short links and my products?
                  Semper Fi,

                  Robert Perry





                  Comment


                    #10
                    Re: Menu Link Session id?

                    Originally posted by usmcss View Post
                    I think I just figured this out. I looked in my htaccess file and found this:
                    RedirectPermanent /about.htm http://www spotlightdisplays com/mm5/merchant.mvc?Screen=ABOUT&Store_Code=spotlightdisp lays

                    Should I just delete that? And should I put a redirect in for about.html to about.htm because when I type the url with about.html the screen comes up white?

                    Thanks!
                    OK, I tried deleting it but the about page didn't work after the change so I put it back and it works fine. So I am assuming that I need to go in and change the about page template so it will work for the short links.

                    Thank!
                    Semper Fi,

                    Robert Perry





                    Comment


                      #11
                      Re: Menu Link Session id?

                      How do you link to other store pages like "LOGN" and "BASK"? Can you post that part of the code from your navbar?
                      Last edited by nottheusual1; 04-30-12, 08:20 AM.

                      Comment


                        #12
                        Re: Menu Link Session id?

                        Here is the nav bar code:

                        <div id="topbar">
                        <div id="logobar">
                        <div id="search">
                        <form method="post" action="&mvt:global:sessionurl;">
                        <input type="hidden" name="Store_Code" value="&mvte:store:code;">
                        <input type="hidden" name="Screen" value="SRCH">
                        <mvt:item name="customerlink" />
                        <mvt:item name="affiliatelink" />
                        <input type="text" name="Search" id="searchfield" value="&mvte:global:Search;" />
                        <input type="image" src="graphics/en-US/new/search_btn.gif" class="searchbutton" />
                        </form>
                        </div>
                        <a href="http://www spotlightdisplays com/" id="logo" title="Spotlight Displays" border="0" /></a>


                        <ul>
                        <mvt:if expr="g.Screen EQ 'OUS1' OR g.Screen EQ 'OUSM' OR g.Screen EQ 'OSEL' OR g.Screen EQ 'OPAY' OR g.Screen EQ 'OPRC' OR g.Screen EQ 'OINF' OR g.Screen EQ 'OCST' OR g.Screen EQ 'ORDL'">
                        <li id="currenttab"><b><h3>Checkout</h3></b></li>
                        <mvt:else>
                        <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;Screen=OINF&St ore_Code=&mvt:global:Store_Code;" rel="nofollow">Checkout</a></h3></b></li>
                        </mvt:if>
                        <mvt:if expr="g.Screen EQ 'BASK'">
                        <li id="currenttab"><b><h3>Basket</h3></b></li>
                        <mvt:else>
                        <li class="hiddentab"><b><h3><a href="&mvt:global:sessionurl;Screen=BASK&Store_Cod e=&mvt:global:Store_Code;"rel="nofollow" >Basket</a></h3></b></li>
                        </mvt:if>
                        <mvt:if expr="g.Screen EQ 'LOGN' OR g.Screen EQ 'ACED' OR g.Screen EQ 'ACAD' OR g.Screen EQ 'ACLN' OR ((g.Error_Message_Count GT 0) AND (g.Screen EQ 'SFNT'))">
                        <li id="currenttab"><b><h3>Account</h3></b></li>
                        <mvt:else>
                        <mvt:if expr="(g.Basket:cust_id EQ 0) OR (g.Screen EQ 'INVC')">
                        <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;Screen=LOGN&Or der=0&Store_Code=&mvt:global:Store_Code;" rel="nofollow">Account</a></h3></b></li>
                        <mvt:else>
                        <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;Screen=ACLN&Or der=0&Store_Code=&mvt:global:Store_Code;" rel="nofollow">Account</a></h3></b></li>
                        </mvt:if>
                        </mvt:if>
                        <mvt:if expr="g.Screen EQ 'ABOUT'">
                        <li id="currenttab"><b><h3>About Us</h3></b></li>
                        <mvt:else>
                        <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;Screen=ABOUT&S tore_Code=&mvt:global:Store_Code;">About Us</a></h3></b></li>
                        </li>
                        </mvt:if>
                        <mvt:if expr="g.Screen EQ 'SFNT' AND g.Error_Message_Count EQ 0">
                        <li id="currenttab"><b><h3>Storefront</h3></b></li>
                        <mvt:else>
                        <li class="hiddentab"><b><h3><a href="http://www spotlightdisplays com/">Storefront</a></h3></b></li>
                        </mvt:if>
                        </ul>
                        <br class="clear" />
                        </div>
                        </div>
                        Semper Fi,

                        Robert Perry





                        Comment


                          #13
                          Re: Menu Link Session id?

                          All of your page/screen links are long urls and include the session ID - that'll keep the ugly links in front of Google.

                          You should be able to link to them with something like "http://&mvt:global:domain:name;/BASK.html" and you shouldn't need the store code and session URL in your URL's. Try this - if the about link breaks, we can fix that.

                          Code:
                          <div id="topbar">
                          <div id="logobar">
                          <div id="search">
                          <form method="post" action="&mvt:global:sessionurl;">
                          <input type="hidden" name="Store_Code" value="&mvte:store:code;">
                          <input type="hidden" name="Screen" value="SRCH">
                          <mvt:item name="customerlink" />
                          <mvt:item name="affiliatelink" />
                          <input type="text" name="Search" id="searchfield" value="&mvte:global:Search;" />
                          <input type="image" src="graphics/en-US/new/search_btn.gif" class="searchbutton" />
                          </form>
                          </div>
                          <a href="http://www spotlightdisplays com/" id="logo" title="Spotlight Displays" border="0" /></a>
                          
                          
                          <ul>
                          <mvt:if expr="g.Screen EQ 'OUS1' OR g.Screen EQ 'OUSM' OR g.Screen EQ 'OSEL' OR g.Screen EQ 'OPAY' OR g.Screen EQ 'OPRC' OR g.Screen EQ 'OINF' OR g.Screen EQ 'OCST' OR g.Screen EQ 'ORDL'">
                          <li id="currenttab"><b><h3>Checkout</h3></b></li>
                          <mvt:else>
                          <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;/OINF.html" rel="nofollow">Checkout</a></h3></b></li>
                          </mvt:if>
                          <mvt:if expr="g.Screen EQ 'BASK'">
                          <li id="currenttab"><b><h3>Basket</h3></b></li>
                          <mvt:else>
                          <li class="hiddentab"><b><h3><a href="&mvt:global:sessionurl;/BASK.html"rel="nofollow" >Basket</a></h3></b></li>
                          </mvt:if>
                          <mvt:if expr="g.Screen EQ 'LOGN' OR g.Screen EQ 'ACED' OR g.Screen EQ 'ACAD' OR g.Screen EQ 'ACLN' OR ((g.Error_Message_Count GT 0) AND (g.Screen EQ 'SFNT'))">
                          <li id="currenttab"><b><h3>Account</h3></b></li>
                          <mvt:else>
                          <mvt:if expr="(g.Basket:cust_id EQ 0) OR (g.Screen EQ 'INVC')">
                          <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;/LOGN.html" rel="nofollow">Account</a></h3></b></li>
                          <mvt:else>
                          <li class="hiddentab"><b><h3><a href="&mvt:global:secure_sessionurl;/ACLN.html" rel="nofollow">Account</a></h3></b></li>
                          </mvt:if>
                          </mvt:if>
                          <mvt:if expr="g.Screen EQ 'ABOUT'">
                          <li id="currenttab"><b><h3>About Us</h3></b></li>
                          <mvt:else>
                          <li class="hiddentab"><b><h3><a href="&mvt:global:sessionurl;/ABOUT.html">About Us</a></h3></b></li>
                          </li>
                          </mvt:if>
                          <mvt:if expr="g.Screen EQ 'SFNT' AND g.Error_Message_Count EQ 0">
                          <li id="currenttab"><b><h3>Storefront</h3></b></li>
                          <mvt:else>
                          <li class="hiddentab"><b><h3><a href="http://www.spotlightdisplays.com/">Storefront</a></h3></b></li>
                          </mvt:if>
                          </ul>
                          <br class="clear" />
                          </div>
                          </div>
                          Edited to put DOTs in last url in nav bar.
                          Last edited by nottheusual1; 04-30-12, 08:59 AM.

                          Comment


                            #14
                            Re: Menu Link Session id?

                            Ok Nott, I did it and it is shorter, can it go to just this /about.html

                            www spotlightdisplays com/mm5/merchant.mvc?/ABOUT.html
                            Semper Fi,

                            Robert Perry





                            Comment


                              #15
                              Re: Menu Link Session id?

                              Okay - one more time - I didn't remove the session URL stuff. Try this:

                              Code:
                              <div id="topbar">
                              <div id="logobar">
                              <div id="search">
                              <form method="post" action="&mvt:global:sessionurl;">
                              <input type="hidden" name="Store_Code" value="&mvte:store:code;">
                              <input type="hidden" name="Screen" value="SRCH">
                              <mvt:item name="customerlink" />
                              <mvt:item name="affiliatelink" />
                              <input type="text" name="Search" id="searchfield" value="&mvte:global:Search;" />
                              <input type="image" src="graphics/en-US/new/search_btn.gif" class="searchbutton" />
                              </form>
                              </div>
                              <a href="http://www spotlightdisplays com/" id="logo" title="Spotlight Displays" border="0" /></a>
                              
                              
                              <ul>
                              <mvt:if expr="g.Screen EQ 'OUS1' OR g.Screen EQ 'OUSM' OR g.Screen EQ 'OSEL' OR g.Screen EQ 'OPAY' OR g.Screen EQ 'OPRC' OR g.Screen EQ 'OINF' OR g.Screen EQ 'OCST' OR g.Screen EQ 'ORDL'">
                              <li id="currenttab"><b><h3>Checkout</h3></b></li>
                              <mvt:else>
                              <li class="hiddentab"><b><h3><a href="https://www.spotlightdisplays.com/OINF.html" rel="nofollow">Checkout</a></h3></b></li>
                              </mvt:if>
                              <mvt:if expr="g.Screen EQ 'BASK'">
                              <li id="currenttab"><b><h3>Basket</h3></b></li>
                              <mvt:else>
                              <li class="hiddentab"><b><h3><a href="http://www.spotlightdisplays.com/BASK.html"rel="nofollow" >Basket</a></h3></b></li>
                              </mvt:if>
                              <mvt:if expr="g.Screen EQ 'LOGN' OR g.Screen EQ 'ACED' OR g.Screen EQ 'ACAD' OR g.Screen EQ 'ACLN' OR ((g.Error_Message_Count GT 0) AND (g.Screen EQ 'SFNT'))">
                              <li id="currenttab"><b><h3>Account</h3></b></li>
                              <mvt:else>
                              <mvt:if expr="(g.Basket:cust_id EQ 0) OR (g.Screen EQ 'INVC')">
                              <li class="hiddentab"><b><h3><a href="https://www.spotlightdisplays.com/LOGN.html" rel="nofollow">Account</a></h3></b></li>
                              <mvt:else>
                              <li class="hiddentab"><b><h3><a href="https://www.spotlightdisplays.com/ACLN.html" rel="nofollow">Account</a></h3></b></li>
                              </mvt:if>
                              </mvt:if>
                              <mvt:if expr="g.Screen EQ 'ABOUT'">
                              <li id="currenttab"><b><h3>About Us</h3></b></li>
                              <mvt:else>
                              <li class="hiddentab"><b><h3><a href="http://www.spotlightdisplays.com/ABOUT.html">About Us</a></h3></b></li>
                              </li>
                              </mvt:if>
                              <mvt:if expr="g.Screen EQ 'SFNT' AND g.Error_Message_Count EQ 0">
                              <li id="currenttab"><b><h3>Storefront</h3></b></li>
                              <mvt:else>
                              <li class="hiddentab"><b><h3><a href="http://www.spotlightdisplays.com/">Storefront</a></h3></b></li>
                              </mvt:if>
                              </ul>
                              <br class="clear" />
                              </div>
                              </div>
                              Sorry - too many open windows ....

                              Comment

                              Working...
                              X