Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Auto redirect

Aloittaja RoflGuy, toukokuu 26, 2011, 09:58:20 AP

« edellinen - seuraava »

RoflGuy

Um,

is their a way that when someone enter a website it auto redirect him to other? like it shows to him your going to be redirected to new website ...

i seen it somewhere but can't find it anymore

IchBin™

IchBin™        TinyPortal

RoflGuy

Um, but where i put that?

do i delete all smf?

IchBin™

Well you need to provide details if you want a detailed answer. Where are you redirecting them from? Where are you redirecting to?

The page I linked you to basically just redirects someone if they hit the file you put that code in. So if you have a file at example1.com/index.html and you want example1.com/index.html to go to example2.com/index.html, then you just put the code in the example1.com/index.html.
IchBin™        TinyPortal

RoflGuy

ye i see , im redirecting from bos-servers.co.cc to sn-server.co.cc


what i want is that if someone just writed bos-servers.co.cc it redirect him to sn-server.co.cc

IchBin™

Put the code for the redirect that I showed you on that page, into your default index file at bos-servers.co.cc. In the redirect point the code to sn-server.co.cc. If you're looking to do a redirect for ALL links at bos-servers.co.cc, you should consider adding a forward at your domain registrar.
IchBin™        TinyPortal

RoflGuy

i deleted the smf of bos xD

do i reinstall?

IchBin™

Nope, just add a index.html into that place and put the code in it. No need to have SMF installed where you are not going to use it.
IchBin™        TinyPortal

HunterP

Lainaus käyttäjältä: killerftw - toukokuu 26, 2011, 01:00:58 IP
ye i see , im redirecting from bos-servers.co.cc to sn-server.co.cc
what i want is that if someone just writed bos-servers.co.cc it redirect him to sn-server.co.cc

It's beginning to look a bit like "redirection day" today, but you might want to add a .htaccess file containing :

Redirect 301 / http://sn-server.co.cc

And place this file in the root of the "bos-servers.co.cc" server.

Aleksi "Lex" Kilpinen

Hi killerftw - Are we ready to mark this solved, or is there something you need further asssistance with? :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: