Answer the question
In order to leave comments, you need to log in
site.2.in/?ref=1"?" />
How to implement a redirect like: "site.1.in/?ref=1 -> site.2.in/?ref=1"?
Hello guys.
Please help in resolving the issue. Rummaged through the expanses of the Internet - did not find a sensible answer.
In general, I have a website - with a referral structure. And of course, the day came when everyone's favorite vktochkacom blacklisted the site.
Dug in the Internet. In addition to the redirect, I did not find anything smarter. Those VK support is still silent and I think it’s unlikely that they will answer anything sensible. But the question is different.
I registered a free site.ucoz.net domain and redirected it to site.in using
<script> document.location = «http://site.ru/»; content=0; target=»_blank»; </script>
Answer the question
In order to leave comments, you need to log in
Thank you very much. Problem solved. We insert the code into .htaccess (of course, we replace the links with our own). Thanks to all.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} robots.txt$ [NC]
RewriteRule ^([^/]+) $1 [L]
RewriteCond %{HTTP_HOST} ^site\.com
RewriteRule ^(.*)$ site.org /$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.site\.com
RewriteRule ^(.*)$ site.org/$1 [R=301,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question