We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36509
    • 127 Posts
    I am using Microsoft's SEO tool kit to do some optimization on my site. Every link that I i use [[~1]] instead of the actual address for gets this error message in the software. But when I check the source, it shows the actual link. I.E. When I set the home link up in my menus I link to [[~1]] and the page source when you view it on line it shows

    <li><a href="http://jbmautomation.com/">HOME</a></li>

    So why am I getting these error messages and how do I eliminate them. Thanks (See Below)

    Message:

    The page contains unnecessary redirects.

    Details:

    The link to "http://jbmautomation.com/contact/?PHPSESSID=932edf366caf03d7eb20d0cb69939517" has resulted in HTTP redirection to "http://jbmautomation.com/contact/".
    Search engines can only pass page rankings and other relevant data through a single redirection hop. Using unnecessary redirects can have a negative impact on page ranking.

    Recommended Action:

    If redirection is not the intended behavior, consider replacing the link URL to point directly to the destination URL.

      www.JBMWebDesign.com
      www.JBMAutomation.com
    • Some servers are configured to put PHPSESSID request params in the URL; you seem to have some redirection in place that gets rid of it again.. If you can see that happening when browsing the site, I'd probably check with your hoster / IT guy to see if that can be resolved.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 36509
        • 127 Posts
        I don't see it at all. But Microsoft SEO Tools does. Has anyone else used this set of tools? Have you seen the same results?
          www.JBMWebDesign.com
          www.JBMAutomation.com
        • Can the tool be configured to use cookies rather than the URL to pass the sessionID?

          PHP has a configuration setting "session.use_cookies", and another one "session.use_only_cookies". If the setting for use_cookies is set to 1, then PHP will use a cookie if the user accepts cookies, and the URL if they don't. If the setting for use_only_cookies is set to 1, then if the user does not accept cookies he doesn't get a session.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 36509
            • 127 Posts
            I have this in my .htacess file which I thought would take care of it:

            #Disable Session ID
            
            php_value session.use_only_cookies 1 
            php_value session.use_trans_sid 0
            
              www.JBMWebDesign.com
              www.JBMAutomation.com
              • 36509
              • 127 Posts
              Here is what I am trying to use. After doing some research, a lot of people seem to think it is one of the best free SEO tools out there...

              http://www.microsoft.com/web/seo
                www.JBMWebDesign.com
                www.JBMAutomation.com