Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect Page for Every Link [NO PLUGIN]
Simpler Instructions:

Apply the file redirect.php to the ROOT of your domain. For example: public_html/yoursite/redirect.php. Insert the PHP code to it and save.

Select the theme you want a redirect to happen, enter it, Add Templates and set the title of the template redirect_page. Insert the HTML code to it and save.

Upload anon.js to public_html/yoursite/jscripts/anon.js. Change protected_link to your site.

Go to the same theme's templates, Show Thread Templates, showthread. Insert the script to the bottom above </body> and </html> (bottom area).

If you chose NOT to upload anon.js, replace the top area of the script with this.

<script src="" type="text/javascript"></script>

If done correctly, any link in a post or thread will give you the notification. It's possible you can move this script to other parts of your forum, such as your navigational links on your forum's header.

Include the script for any sources you'd like to include with the redirect.

<script src="jscripts/anon.js" type="text/javascript"></script>
<script type="text/javascript"><!--
protected_links = "yourdomain.ext";


<script src="" type="text/javascript"></script>
<script type="text/javascript"><!--
protected_links = "yourdomain.ext";
[Image: logo.png]
Xyaena's Forums Webmaster

Messages In This Thread
RE: Redirect Page for Every Link [NO PLUGIN] - by Xyaena - 08-11-2019, 02:20 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)