View Full Version : Redirection Page
PinkLiquorice
06-04-2007, 06:03 PM
How do I create a redirection page so that my domain name www.xxxxxxx.co.uk goes to www.xxxx.co.uk/cmps_index.php
and where do I upload it on my hosting?:)
Bratz-Designs
06-04-2007, 06:05 PM
Rename the file cmps_index.php to index.php :)
PinkLiquorice
06-04-2007, 08:12 PM
Ive done that now thanks :) Im still having a problem with my hosting, I have changed hostings recently before I was able to use their web forwarding service and mask www.xxx.co.uk to go to www.xxx.co.uk/index.php but now I cant. :confused:
Anyone please? x :)
Anyone please? :)
PinkLiquorice
06-06-2007, 04:25 PM
Anyone?
LEAD_WEIGHT
06-06-2007, 05:54 PM
http://www.javascriptkit.com/howto/htaccess7.shtml
http://corz.org/serv/tricks/htaccess.php
http://corz.org/serv/tricks/htaccess2.php
http://www.apacheref.com/ref/mod_rewrite.html
http://www.vbulletin.com/forum/showpost.php?p=1236230&postcount=5
Your host would have something simular installed for you, and if not you ca try those links to understand how to create one.
Do you have access to a control panel from your host? If yes, You should have a place there to make this work.
If not,
One of the most requested items we get is "How do I make an html redirect page".
Strangely enough this is one of the easiest things to accomplish, but then anything is easy when you know how to do it!
Here's the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>
Code Description:
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"> is the part that actually does the redirecting.
The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url.
You could set this to 5 and add some optional text to your page - something like:
Remove this
Optional page text here.
for a blank page or place with
"Please wait while we redirect you to our new site".
and change 0 to 5
0 will give you a quick redirect
That's it! Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly
you can upload (ftp)it to your root or just copy the code and paste it on a blank page from your host, name it index.html.
PinkLiquorice
06-07-2007, 05:53 PM
:D Thank you!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.