Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Problem with redirects/Google AdWords
Old 09-07-2007, 04:25 PM Problem with redirects/Google AdWords
Webmaster Talker

Posts: 626
Trades: 0
I have a CMS setup (Joomla!). I have google Adwords setup.

I just converted my site from a static site to this CMS recently but I have noticed that ALL my ads on Google AdWords are breaking because of their click fraud tracking thing.

Is there a way that I can put a command into my .htaccess file which will strip off &clid= and then anything behind it? I would like it to then redirect to the proper page.

Can someone please help?
jim.thornton is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-07-2007, 11:44 PM Re: Problem with redirects/Google AdWords
solomongaby's Avatar
Webmaster Talker

Latest Blog Post:
How Do You Find Music Online ?
Posts: 522
Name: Gabe Solomon
Location: Romania
Trades: 1
i don't understand why the url will break you're adsense ads ....
how did you come to that conclusion ?
__________________
If you like my posts ... TK is appreciated:)

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
solomongaby is offline
Reply With Quote
View Public Profile Visit solomongaby's homepage!
 
Old 09-09-2007, 10:19 PM Re: Problem with redirects/Google AdWords
Webmaster Talker

Posts: 626
Trades: 0
It isn't the adwords that is breaking... Google appends a ?clid=sf2tikstrWET3rwf after the url that I provide. "They say" that it is so that they can track click fraud.

The problem is being caused by this, but it isn't broken there... What is happening, is Joomla! (my CMS) is trying to read the ?clid= argument in as a GET variable and it is causing my page to become a 404 error.

So what I need to do, is have some kind of .htaccess rewrite rule or something that will take WHATEVER url is punched in and strip off the clid= argument.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 09-10-2007, 07:39 PM Re: Problem with redirects/Google AdWords
solomongaby's Avatar
Webmaster Talker

Latest Blog Post:
How Do You Find Music Online ?
Posts: 522
Name: Gabe Solomon
Location: Romania
Trades: 1
if you use a Joomla CMS i am sure that they're developers figure out a solution for you're problem ... and i bet you can find an answer faster on they're forum

a rule for htaccess should look like :
Code:
RewriteEngine On
RewriteBase /

RewriteRule ^(.*)?clid=(.*)$ $1
__________________
If you like my posts ... TK is appreciated:)

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
solomongaby is offline
Reply With Quote
View Public Profile Visit solomongaby's homepage!
 
Reply     « Reply to Problem with redirects/Google AdWords
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13802 seconds with 12 queries