We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32017
    • 151 Posts
    Thanks for taking the time to post, the robots file was updated yesterday so we will see, i tried making google delete it but its an unrecognised url from within there webmasters tools system.

    I know what you mean about passing variables and i will have to work on making just that specific one not run.

    But im sure we tried it to no success sad

    Unless you are familiar with a different htaccess rule we can try?
      London web design - MODx specialists
      • 22303 MODX Staff
      • 10,725 Posts
      Here’s the simplest solution, which I just tested...
      RewriteCond %{QUERY_STRING} ^ref= [OR]
      RewriteCond %{QUERY_STRING} ^referrer= 
      RewriteRule ^(.*)$ $1? [R=301,L]

      You’ll need to add that before the MODx RewriteCond’s and RewriteRule. Obviously, you could extend that to deal with any troublesome query strings...

      The secret is the ? at the end of the RewriteRule’s substitution string.
        • 32017
        • 151 Posts
        Quote from: OpenGeek at May 22, 2007, 02:24 PM

        Here’s the simplest solution, which I just tested...

        You’ll need to add that before the MODx RewriteCond’s and RewriteRule. Obviously, you could extend that to deal with any troublesome query strings...

        The secret is the ? at the end of the RewriteRule’s substitution string.

        What do you know, works a charm. Much appreciated and much love from across the pond .

        Modx all the way smiley
          London web design - MODx specialists