Print Page | Close Window

USING Global.ASA to reroute?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29580
Printed Date: 28 March 2026 at 5:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: USING Global.ASA to reroute?
Posted By: CavComm
Subject: USING Global.ASA to reroute?
Date Posted: 28 July 2011 at 5:27pm
Wondering if anyone can help.
 
PRIMARY Question
We need to move our forums from for example http://www.example.com/forums - http://www.example.com/forums to http://forums.example.com - http://forums.example.com
 
Is it possible to do this in Global.ASA so that any sub-links people click on redirect?
 
Secondary Question

Our forums have been around for years, and a lot of people post links to other threads in their messages which will obviously not work.  Anyway of doing that as well? OR alternatively a SQL query on posts to remove the http://www.example.com/forums/xxxxxx%28post - http://www.example.com/forums/xxxxxx(post) and replace it with http://forums.example.com/xxxxxx%28post - http://forums.example.com/xxxxxx(post)? 
 
Any ideas?
It wasnt my choice to move it, but since we have an online store on our main domain, our PCI company didnt like the fact that you could login to forums without SSL, and wont make an exception, so I am moving out of the store domain.
 
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 29 July 2011 at 7:43am
A global.asa would be no good, what you need to do is to do this at IIS level.

Change the forum folder in to an application folder in the IIS manager allowing you to set it's own settings for the folder. Then set a redirect in the IIS settings for the folder to teh following:-

http://forums.example.com$S$Q

Set this as a permanent redirect. The $S$Q on the end will then do a permanent 301 redirect to the correct location on the new domain.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net