View Full Version : Redirection Page
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
04 Jun 2007, 20:05
Rename the file cmps_index.php to index.php :)
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? :)
LEAD_WEIGHT
06 Jun 2007, 19:54
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:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
for a blank page or place with
"
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
".
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.
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.