The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Forwarding to my site

2 posters

Go down

Forwarding to my site Empty Forwarding to my site

Post by hazardpirl May 23rd 2013, 10:17 pm

hi i purchased a .org domain and then had it forward to my site. my domain is www.rspsdesigners.org and i set it to forward to www.rspsdesigners.forumotion.com but when i type www.rspsdesigners.org i want it to stay as the link when it forwards but instead when it forwards to my site the link changes back to www.rspsdesigners.forumotion.com , is there any way to make it so when i type www.rspsdesigners.org and it takes me to my site that i can make it stay www.rspsdesigners.org in the url instead of it changing to www.rspsdesigners.forumotion.com
avatar
hazardpirl
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Forwarding to my site Empty Re: Forwarding to my site

Post by Ultron's Vision May 23rd 2013, 10:54 pm

I suppose you have PHP Management enabled, yes?

If so, type in this code as your index.html or index.php:

Code:
<?php
header("Location: http://www.rspsdesigners.forumotion.com");
?>

Alternatively, add this JavaScript code on your website:

Code:
window.onload = function(){
document.write("Our main domain is currently located at http://www.rspsdesigners.forumotion.com. If you see this message, you will be redirected to our main site in 10 seconds; you can click the link to get there faster, though.");
setTimeout(function(){
window.location = "http://www.rspsdesigners.forumotion.com";
},10000);
};

I would rather do the PHP Solution, though.
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Forwarding to my site Empty Re: Forwarding to my site

Post by hazardpirl May 23rd 2013, 11:01 pm

where do i enable php management cause the only way i knew of doing php was adding a php page but that doesnt affect the homepage
avatar
hazardpirl
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Forwarding to my site Empty Re: Forwarding to my site

Post by Ultron's Vision May 23rd 2013, 11:18 pm

Well, send me a PM with your host details and what options your host gives you.
Save a new PHP Page as index.php in your domain root folder, that should do it.
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

Forwarding to my site Empty Re: Forwarding to my site

Post by hazardpirl May 23rd 2013, 11:35 pm

Ultron's Vision wrote:Well, send me a PM with your host details and what options your host gives you.
Save a new PHP Page as index.php in your domain root folder, that should do it.
I PMED YOU
avatar
hazardpirl
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum