How would i make it so when people go to this link: http://xaxisgaming.site.nfoservers.com
It automatilcy re-directs them to this link: http://xaxisgaming.site.nfoservers.com/forums
Please help! Thanks
How to redirect a page
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Oct 12, 2015 7:32 am
Re: How to redirect a page
1. Create an HTML page with content like:
OR
2. Create a PHP page with content like:
Put one of these files in your home public directory.
Code: Select all
<!doctype html public "-//wc3//dtd html 4.0//en">
<html>
<head>
<meta http-equiv="refresh" content="0; url=/forums" />
</head>
<body>
</body>
</html>
2. Create a PHP page with content like:
Code: Select all
<?php
header('Location: '.forums);
?>
Re: How to redirect a page
You can also do this via the "Domains" tab in your control panel. For the root of your domain in the "Target" box, enter "public/forums".
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
-
- New to forums
- Posts: 2
- Joined: Mon Oct 12, 2015 7:32 am
Re: How to redirect a page
so i did this: https://gyazo.com/980e2a85c468e289e4f6bfa5ebbd311c and it did not work
where would i put that html code???
where would i put that html code???
Re: How to redirect a page
In the "subdomain" box change that to "@".
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: How to redirect a page
Follow kraze's advice to redirect using your domains tab in the control panel.
However, if you want to put that html code in copy and paste it to a good text editor and save it as index.html then upload it to your public folder.
For the php code copy and paste it to your editor and save it as index.php and upload it to your public folder.
However, if you want to put that html code in copy and paste it to a good text editor and save it as index.html then upload it to your public folder.
For the php code copy and paste it to your editor and save it as index.php and upload it to your public folder.
Re: How to redirect a page
Either way you will need to fix your subdomain and change it to @
-
- New to forums
- Posts: 1
- Joined: Tue Apr 04, 2017 9:36 pm
Re: How to redirect a page
A 301 redirect is a permanent redirect from one URL to another. 301 redirects send site visitors and search engines to a different URL than the one they originally typed into their browser or selected from a search engine results page. These redirects also link various URLs under one umbrella so search engines rank all of the addresses based on the domain authority from inbound links. More about....Redirect a Web Page
Brian
Brian
Re: How to redirect a page
Nice necro.