ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Issues with EE V1.6 & Google Adwords GCLID String

September 16, 2011 10:37am

Subscribe [2]
  • #1 / Sep 16, 2011 10:37am

    joomlales

    1 posts

    Hello!

    I have been attempting to rectify what appears to be a common issue with Google Adwords Campaigns that are pointed towards a domain’s primary landing page in EE.

    I know the fix is in .HTACCESS. In fact, I have implemented the fix outlined in thsi post: http://ellislab.com/forums/viewthread/85978/P18/#527314 - with no success.

    I am not the Author of the original .HTACCESS. Can someone who is better versed in EE and .HTACCESS configuration have a look at what is currently in my client’s .HTACCESS file and comment accordingly?

    Here it is:

    RewriteEngine On
    RewriteBase /

    # Catch any Google campaigns directed to the home page
    RewriteCond %{REQUEST_URI} ^/$
    RewriteCond %{QUERY_STRING} ^(gclid=.*)
    RewriteRule ^(.*)$ /index.php/ [L,PT]

    # Everything else to the EE controller
    RewriteCond %{QUERY_STRING} ^(css=.*)$ [NC]
    RewriteRule ^(.*)$ /index.php?/%1 [L]
    RewriteCond $1 !^(b |images|uploads|scripts|system|themes|favicon/.ico|robots .txt|index.php) [NC]
    RewriteRule ^(.*) /index.php?/$1 [L]

    ## 301 Redirects
    # 301 Redirect 1
    RewriteCond %{QUERY_STRING}  ^$
    RewriteRule ^about-us/yegendorf-blog$ /blog/? [R=301,NE,NC,L]

    All and and help will be greatly appreciated!

    😊

  • #2 / Sep 16, 2011 8:55pm

    Dan Decker

    7338 posts

    joomlales,

    I’m sorry you are having trouble with getting your .htaccess set up according to your desires. I’m afraid that this is outside the scope of EE technical support however. I’m going to move this thread into Community Help to keep the discussion going. If you ever need technical assistance with any ExpressionEngine features, feel free to start a new thread.

    Cheers,

  • #3 / Sep 19, 2011 8:30am

    joomlales

    1 posts

    Thanks Dan. I really was not sure where to post my question.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases