Hello, this thread is maybe in a wrong sub forum so feel free to move it. I have a problem, two domain names (which are not mine) are pointing at my website so I'm a little bit confused. Any suggestions on what to do? Another question is why would anyone do this? Thank you for your time. p.l.u.r.
Ah, well then create a vhost pointing them somewhere else... What exactly is the problem? Are you getting traffic from the domains? If so, why complain?
Well, I don't like it I thought about redirecting them somewhere... Since my site is not developed yet I don't get any traffic from anywhere p.l.u.r.
I would direct them to a page that explains that your site may not be what they're looking for, but allow them to still proceed if they wish
I thought about doing that when there was just one domain pointing to me. Since there are now two domains (same name, different extension) I don't want to talk to that person... p.l.u.r.
I think a mail to him will be the only way unless you re direct. I would like say there may be a logical reason for them doing this but I can't see that. However, why would someone point to you if your site is not developed??
Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.affiliateurl.com/$1 [R=301,L] Code (markup):
Im sorry, I read your previous post wrong. However, now I am very confused. Do you want or dont want the traffic and why?
I am sorry, I am nearly hijacking this thread. OP is Angelus. So she would be in a better position to answer "Do you want or dont want the traffic". My question is on technical aspect: That is somebody has a domain or link to a site, then how to redirect that to some other place.
Im sorry, its getting WAY to late (2:30) and Im on nyquil. To redirect from a specific name, I assume you would use a HTTP_REFERER Code (markup): and then a RewriteRule Code (markup): , but I may be mistaken.
What I do on my site is create my site in a vhost that is not the default vhost. The default vhost is simply an outdated domain I am not using any more. Unconfigured domains, or domains that are not mine will by default point to this outdate page, which has nothing more than an .htaccess file redirecting 301 to my main site. You could throw them whereever you wish at this point, but it gaurentees that you site cannot have duplicate domains pointed at it. I wish I had the actual code handy, but that should get you started.
Ok, so I dont know htaccess very well, but after reading a few tutorials, I mashed together this: RewriteEngine on RewriteCond %{HTTP_REFERER} site-to-redirect\.com [NC] RewriteRule (.*) http://example.com/$1 [R=301, L] Code (markup): I really dont have a clue if that is right or not - I could be totally off (late and on nyquil). Can anyone here confirm?