Hi
Im doing SEO for my client sites(2 websites) which is now ranked in Good position in all search engines. now my client register some 50 domains related to their business keywords and redirect those 50 domain to the websites that I'm currently doing SEO. Now he wants to track the traffic coming from those secondary domains and i use Google URL builder to generate the tracking URL and i put that code in the .htaccess of the secondary domain, but its not working correctly for me, so kindly anyone help me on this issues.

Member Avatar for LastMitch

The Re Mod should look something like this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^secondary.domain$ [NC]
RewriteRule (.*)$ secondary.domain/$1 [R=301,L]
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.