Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess for passing Google gclid parameters

    Hi Guys,

    Could you please take a look at my currect htaccess configuration, and tell me what to do that the glcid parameter of google analytics will me accepted.

    Code:
    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^mydomain\.nl [NC]
    RewriteRule ^(.*)$ http://www.mydomain.nl/$1 [L,R=301] 
    
    RewriteCond %{HTTP_HOST} ^mydomain\.com [NC]
    RewriteRule ^(.*)$ http://www.mydomain.nl/$1 [L,R=301] 
    
    RewriteCond %{HTTP_HOST} ^www.mydomain\.com [NC]
    RewriteRule ^(.*)$ http://www.mydomain.nl/$1 [L,R=301] 
    
    RewriteRule ^eleonora http://www.mydomain.nl/woonkamers/landelijk-woonkamers [NC,R=301,L]
    RewriteRule ^bankstellen http://www.mydomain.nl/banken/bankstellen [NC,R=301,L]
    RewriteRule ^p/1/1043/mo61-cg38/woonprogramma-bruges http://www.mydomain.nl/woonkamers/meubelset/woonkamerset-bruges/11778 [NC,R=301,L]
    
    RewriteCond %{REQUEST_URI} !^$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php [L]
    
    DirectoryIndex index.htm index.html index.php default.php
    
    php_value upload_max_filesize 20M
    php_value max_execution_time 1000
    php_flag display_errors on
    php_value memory_limit 256M
    
    Redirect 301 /home/kasten http://www.mydomain.nl
    Redirect 301 /meubels_online_bestellen http://www.mydomain.nl/blog/80/meubels-online-bestellen

  • #2
    New to the CF scene
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is there nobody who could help me?


  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    I don't know anything about the google analytics. Does it just pass them via querystring? If so, just make sure you add QSA as a flag to a rewrite rule to pass the querystring off to the rewrite.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •