SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: URL redirection

  1. #1
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    URL redirection

    Hi.

    I have a domain name that is hosted for me. It was free from freenetname ages ago, and can't modify the DNS records.

    At the moment i use a 1 pixel high frameset to redirect it to my paid for webspace, but wonder if there is any better way of doing this, as it can be a little slow or unreliable?

    For example some web forwarding programs use invisible frames...
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Netzero had a similar service. They gave their clients the option of buying the name back. Maybe your service gives you the same option?
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeh they do. The princely sum of 94.

    I'm not paying that! I'll stick with my frameset and wait until it is released so i can re-register it!

    There must be a better way than the frameset option!?
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  4. #4
    ********* obeah makeda's Avatar
    Join Date
    Jun 2001
    Location
    rollin' on dubs
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what you could do is create a default file at the location of your registered name that contains a link to your new site. In the header of this file add a meta tag:

    <META HTTP-EQUIV="refresh" CONTENT="0;url=yourPage.html">

    For most browsers, this will instantly redirect them to your new site. For browsers that don't support this, they can get to your site via the link that you provide. The obvious downside to this is that they won't see your registered URL in the address bar.

  5. #5
    Xbox why have you forsaken me? moospot's Avatar
    Join Date
    Feb 2001
    Location
    Clearwater, FL
    Posts
    3,615
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have to be careful though because some search engines won't index your site if you are redirecting. A JS redirect would be a better solution.

    <SCRIPT Language="JavaScript">
    window.location.href="http://www.yourdomain.com";
    </SCRIPT>

  6. #6
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes I know I could do that (in fact location.replace works better) but I want to maintain the domain name in the address bar...
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  7. #7
    SitePoint Guru prequel's Avatar
    Join Date
    Nov 1999
    Location
    Brisbane, Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i use iredirector from http://www.scripts24.com/

    works well

  8. #8
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by prequel
    i use iredirector from http://www.scripts24.com/

    works well
    Freenetname servers aren't apache! So couldn't use that script even if i wanted to pay for it..!

    Any other ideas?
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •