← Site Menu
NetMinistry

Creating Friendly URLs That Redirect to Site Pages

This article details how you can set up your own tool for virtual directory management within our system. This article was previously titled Virtual Directory Creation and Management

Note: Previously it was necessary to request a custom 404 page setup be enabled to enable this feature. Custom 404 pages are now enabled for all accounts and the steps below can be used without any additional setup.

Step 1:

Once this is done, you can create a .txt file (using Notepad on Windows or Text Edit in Plain Text mode on a Mac) that specifies the rules for redirecting. It must be named 301Redirect.txt and be formatted as follows:

 

  1. One redirect rule per line
  2. The first part of the line will be the full web URL you want people to use, starting with 'http://'
  3. Next will be two "pipe" characters (||)
  4. Finally you will include the url you would like to redirect someone to.

In the following rule:

http://www.yourdomain.com/about||http://www.yourdomain.com/pages.asp?pageid=12345

When a visitor types http://www.yourdomain.com/ into their browser, they will be redirected to http://www.yourdomain.com/pages.asp?pageid=12345

A sample redirect file might look like:

http://www.yourdomain.com/about||http://www.yourdomain.com/pages.asp?pageid=12345
http://www.yourdomain.com/contact||http://www.yourdomain.com/pages.asp?pageid=67890
http://www.yourdomain.com/store||http://www.yourdomain.com/store.asp
http://www.yourdomain.com/events||http://www.yourdomain.com/calendar.asp
(Etc...)

Step 2:

Upload 301Redirect.txt to your File Manager>File Storage. Once this is done your virtual directories will begin working.

 

 

Version 1.9 • Last Updated 4/21/2016 3:27:41 PM

Back to Search

© Tampa Bay Church Websites • 12000 N Dale Mabry Hwy, Suite 262 • Tampa, FL 33618 • (813) 441-9814 • Sales: (813) 441-9815