The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forwarding to my site

View previous topic View next topic Go down

Forwarding to my site

Post by hazardpirl on 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

hazardpirl
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Re: Forwarding to my site

Post by Ultron's Vision on 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
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

Re: Forwarding to my site

Post by hazardpirl on 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

hazardpirl
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

Re: Forwarding to my site

Post by Ultron's Vision on 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
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

Re: Forwarding to my site

Post by hazardpirl on 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

hazardpirl
New Member

Posts : 3
Reputation : 1
Language : english

Back to top Go down

View previous topic View next topic Back to top


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