.htaccess - Block domain to redirect the particular site -
one of competitor redirect site own site.i need .ht access code block that.so,that no 1 can redirect site.
as per comments think website redirecting cpanel option redirects
.
check option. redirecting might due this.
no htaccess
work in condition.
update
for htacccess
# block site referrers rewriteengine on rewritecond %{http_referer} badsite\.com [nc,or] rewritecond %{http_referer} www\.badsite\.com [nc,or] rewritecond %{http_referer} http\://badsite\.com [nc,or] rewritecond %{http_referer} http\://www\.badsite\.com [nc] rewriterule .* - [f]
i suggest change login details of cpanel asap
Comments
Post a Comment