View Single Post
Old 02-04-2018, 05:07 PM  
mightyjoe
Confirmed User
 
Join Date: Jun 2004
Posts: 1,395
Quote:
Originally Posted by sarettah View Post
That is not what it says in the thread that K0nr4d posted. He does say you could do that but points out you would also block yourself if you use cloudflare.

He posted a javascript solution in the first post:



And variations of that were discussed further in the thread.

.
Code:
<script>
if(window.location.href.indexOf("yourd"+"omain.com ") < 0) {
window.location("http://yourd"+"omain.com");
}
</script>


Can somebody help me how to put this script? It is on the header before the </head>?

What exactly is "yourd" and "omain.com "?
mightyjoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote