Domains

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
quickman97
New to forums
New to forums
Posts: 4
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jan 03, 2014 9:55 pm

Domains

Post by quickman97 »

I dont want to use a provided sub domain all I want to use is my greenlifegaming.net domain but I have a forum and a donate page i made it where if they type greenlifegaming.net they go to the fourms but i want it if they type greenlifegaming.net/donate it will take them to the donate page but I can't figure it out.
User avatar
Madhavok
This is my homepage
This is my homepage
Posts: 83
Joined: Wed Nov 20, 2013 12:40 pm
Location: Houston, TX
Contact:

Re: Domains

Post by Madhavok »

I have a redirect HTML script you can use. Just replace the example website with the link to your donate page. Name the file index.html and put it in an empty directory named donate on your webpage.

Code: Select all

<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="refresh" content="1;url=http://example.com">
        <script type="text/javascript">
            window.location.href = "http://example.com"
        </script>
        <title>Page Redirection</title>
    </head>
    <body>
        <!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
        If you are not redirected automatically, follow the <a href='http://example.com'>link to the forums.</a>
    </body>
</html>
That will redirect all traffic from greenlifegaming.net/donate to your donation page.
Image[url=steam://friends/add/76561197986357938]Image[/url]
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Domains

Post by soja »

Are your forums and donation page hosted on different servers? Why not just put your donation script in a subfolder called donate?
Not a NFO employee
User avatar
Madhavok
This is my homepage
This is my homepage
Posts: 83
Joined: Wed Nov 20, 2013 12:40 pm
Location: Houston, TX
Contact:

Re: Domains

Post by Madhavok »

The script that I gave you is good if you are trying to use the built in system for donation here, because it redirects to your donation coffer, or a PayPal account.
Image[url=steam://friends/add/76561197986357938]Image[/url]
Post Reply