1
cyberspace
how to redirect

I was wondering how to redirect my website adress to just an ipdress. for example say the link to my website would be 123.45.67.890/index.php . how would I be able to change it so that when a person enters 123.45.67.890 it would go to my XOOPS website instead of having to add the /index.php ?

thanks already in advance!
"Feed the children of the next generation cocaine, LSD, and XTC"

2
coopersita
Re: how to redirect

Ask your system admin. Or use your .htaccess file to do it.

3
snow77
Re: how to redirect
  • 2007/1/9 19:13

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


you can put an index,html file with this code in your root:

<html>
<
head>
<
title>YOUR SITE TITLEtitle>
<
meta http-equiv="Refresh" content="0; URL=http://www.YOURURL.com">
head>
<
body>
body>
html>

4
preachur
Re: how to redirect
  • 2007/1/9 20:08

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Just don't MASK the redirect. If you do your users will experience login problems. You can also assign that IP to a regular domain name if you have nameservers set up.
Magick can never be restrained, but when freely given is thrice regained!

5
cyberspace
Re: how to redirect

thx for all the responses, I ended up using the .htaccess. it was the easiest way.
"Feed the children of the next generation cocaine, LSD, and XTC"

6
ron-cpw
Re: how to redirect
  • 2007/1/23 1:42

  • ron-cpw

  • Just popping in

  • Posts: 82

  • Since: 2006/12/19


...a rookie question on this technique:

(I have a pending new site that may require the XOOPS install to be in a subdirectory)

If you use the index.html redirection, or an .htaccess to redirect...

..does that affect how you look to the search engines?
If so, how? ...and how can you overcome that?

thanks

Login

Who's Online

346 user(s) are online (252 user(s) are browsing Support Forums)


Members: 0


Guests: 346


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits