- Impact
- 467
will attempt to explain it better than that, and really appreciative of any tips and ideas....
Basically, what i want to do is figure out a solution for my domain portfolio website so I can SEE in my stats exactly WHICH domain brought someone there, although it is now just a 1-page contact form landing page. I USED to really showcase all my domains and used a few different scripts and all worked fine, each domain had its own individual page with a contact form and I could just redirect each domain to its specific landing page url, and of course that would be clear in my statcounter results which domain was visited etc.
But, I decided to simplify things and save myself the time and trouble constantly adding domains to my portfolio script, forwarding them to the specific pages and then removing things or marking as sold when no longer available etc. So, I decided to move to a 1-page lander with a contact form and just redirect all domains there. BUT, of course that means that now I no longer know which domain brought the person there which is a bummer.
So, what I want to figure out is how to forward or redirect my domains to the 1-page site and yet see which domain brought them there. If this is something I can do with a particular htaccess snippet that would be awesome. If it matters, my portfolio domain has its own IP address, but forwards to general wiredtree nameservers. I had thought about just forwarding all domains to its nameserver but since it doesn't have its own that wouldn't work as far as i know.
To illustrate, here is what I want, or at least how I imagine it working:
I forward all domains like now but add /domainexample1, domainexample2 etc for the domain forwards.
So when someone types domainexample1.biz in the url they are redirected to mydomainportfolio.xyz/domainexample1, which shows the same lander as on mydomainporftolio.xyz, but I am able to see that domainexample1.biz is what brought them there..... does that make sense?
Thanks in advance for any tips. If there is a different/better way to go about it that is great, just want to keep it simple as possible.
Basically, what i want to do is figure out a solution for my domain portfolio website so I can SEE in my stats exactly WHICH domain brought someone there, although it is now just a 1-page contact form landing page. I USED to really showcase all my domains and used a few different scripts and all worked fine, each domain had its own individual page with a contact form and I could just redirect each domain to its specific landing page url, and of course that would be clear in my statcounter results which domain was visited etc.
But, I decided to simplify things and save myself the time and trouble constantly adding domains to my portfolio script, forwarding them to the specific pages and then removing things or marking as sold when no longer available etc. So, I decided to move to a 1-page lander with a contact form and just redirect all domains there. BUT, of course that means that now I no longer know which domain brought the person there which is a bummer.
So, what I want to figure out is how to forward or redirect my domains to the 1-page site and yet see which domain brought them there. If this is something I can do with a particular htaccess snippet that would be awesome. If it matters, my portfolio domain has its own IP address, but forwards to general wiredtree nameservers. I had thought about just forwarding all domains to its nameserver but since it doesn't have its own that wouldn't work as far as i know.
To illustrate, here is what I want, or at least how I imagine it working:
I forward all domains like now but add /domainexample1, domainexample2 etc for the domain forwards.
So when someone types domainexample1.biz in the url they are redirected to mydomainportfolio.xyz/domainexample1, which shows the same lander as on mydomainporftolio.xyz, but I am able to see that domainexample1.biz is what brought them there..... does that make sense?
Thanks in advance for any tips. If there is a different/better way to go about it that is great, just want to keep it simple as possible.