We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,259 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

htaccess of the secondary domain

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.

2
Contributors
1
Reply
9 Months
Discussion Span
2 Months Ago
Last Updated
5
Views
webmaster@123
Newbie Poster
19 posts since Oct 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

The Re Mod should look something like this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^secondary.domain$ [NC]
RewriteRule (.*)$ secondary.domain/$1 [R=301,L]
LastMitch
Industrious Poster
4,181 posts since Mar 2012
Reputation Points: 132
Solved Threads: 335
Skill Endorsements: 45

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0805 seconds using 2.64MB