How do I auto-redirect my web pages?

Redirects are used when you want to point a specific url or web page to another location. For example, you want your visitors to be redirected to when they visit DomainA.Com/Sales.HTML.

  1. Select the type of redirect you want to create from the drop down menu. You have two choices:
    • Temporary - Temporary redirects will not update the visitor's bookmarks.
    • Permanent - A permanent redirect will notify the visitor's browser to update any bookmarks that are linked to the page that is being redirected.
  2. There will be two empty text boxes on the page. The first text box is following the root path of your current domain. Enter the path to the file you want to redirect in the first empty text box.

EXAMPLE: "" (Just enter Sales.HTML or the directory and filename you are redirecting.)

Enter the domain name and path or url you want your visitor to be redirected to in the second empty text box.

NOTE: "http://DomainB.Com/Order.HTML" (Just enter the domain name and directory/filename of the new location.)

  1. Click on the Add button.
  2. A confirmation page will display the redirection you have created.
  3. Click on the Go Back link.
  4. When the page loads, you will see a table with your newly created redirects containing the following information, split into four columns:
    • Directory - This entry will be the location of the file you are redirecting.
    • Redirect URL - This entry will be the new location you are redirecting the visitor.
    • Type - This entry will be the type you chose in Step 1 above.
    • Remove - Click on the X icon to remove the Redirect. When the next page loads, click on the Yes button to remove the Redirect. A confirmation page will display "YOUR_REDIRECTED_PATH has been successfully removed."

Was this answer helpful?

 Print this Article

Also Read

How can I execute php code as .htm or .html files?

In your .htaccess file insert this line of code:AddType application/x-httpd-php .html .htm...

How to deploy Tomcat WAR file in cPanel server?

Here is the tutorial how to deploy WAR file: STEP-1) Build your web app suppose example.war; Now...

HTTP Error Codes !

400 Bad Request The user’s request contains incorrect syntax.   401 Unauthorized The...

I have problems accessing my mysql database remotely

If you have problems accessing your database remotely please make sure that: You are using the...

What's the Hostname & Port for MySQL?

When configuring any of your scripts on the server, use the following connection info to connect...