vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Redirection Page (https://vborg.vbsupport.ru/showthread.php?t=148904)

PinkLiquorice 06-04-2007 06:03 PM

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 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/showp...30&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.

DDad 06-06-2007 06:07 PM

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:

<!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
Code:

Optional page text here.
for a blank page or place with
"
Code:

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!


All times are GMT. The time now is 06:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03232 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete