Help - Search - Members - Calendar
Full Version: Custom Error Pages
Hostony Board > General Support > HowTo
Xenobug
Hi!
I'm moving around and renaming a few pages on my site, and I would like to direct viewers to another page if they happen to find an old link.
How do I create a custom error page that will send users to a new page (or have a link to a new page)?
Xenobug
Also, the pages I want to redirect are part of my subdomain. Will it still work?
Alec
Replace your old page with a new file index.php and put the following code:


<?
header("Location: http://yourlink");
?>
Danimal
There's also an option in the CPanel where you can edit your own custom error pages if the page in question isn't an "index" page. It's pretty simple to use, you just type what you want in the text box and there it is. You can also create your own pages as ".shtml" pages and just name them 401, 403, 404, etc. and upload them. That's what I did.
Xenobug
smile.gif It worked! Thanks for your help!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here