WebCreations
T A C L O B A N   C I T Y,   P H I L I P P I N E S
Blk 17, Lot 20, Phase 4 Ext., V&G Subd.
Tacloban City 6500, Philippines
Landline: +63 53 3273746
Mobile: +63 920 2429954
+63 919 4704133


Tips & Tricks Hello, Here's our WebMaster Tips for this month.
It's all about "Redirects".


You need to be able have a visitor click a link, have that link activated, but then send the user not at all to that page, but to a different one. It is most important that the user does not find out the URL of the link being activated. How do you do this?

    Easy! It's called a redirect script. If you know the URL you want to send them to, it's just one line in your Perl program. Here is an example:

    #!/usr/bin/perl
    print "Location: http://webcreations-ph.netfirms.com/links/\n\n";

You don't need any other lines in the program - that's it. Put in the script the URL of where you want to send them. In your html, you just put the CGI script (perl program) in the link HREF and no one will know where it will really take them until the script runs.




You recently changed the URL of a web page. You offer a link from the original page to your new page. Another way of doing it is to auto-redirect without letting the visitor know that he's being taken to a new page! Here's how:

    The trick is a simple page reload/refresh.

    <META HTTP-EQUIV="refresh" CONTENT="15;URL=yournewpage.html">

Place the code inside your <HEAD></HEAD> commands. The time is set to 15 seconds (You can change the time to "0" or to "360", I don't care). Afterwhich the user will be automatically directed to "yournewpage.html". Cute, huh?



Mail Box

Do you like our WebMaster Tips? You don't need to go to this page for every new issue. Simply subscribe to our Mail List and you'll receive your free copy of new issues right at your email box! Subscribe Now.

 Free Email
 Free Greeting Cards
 Free HTML Tutorials
 Free For All Links
 Free Midi Downloads
 Free WebMaster Tips
 Free Subscription
 Web Page Design
 Web Hosting
 Other Services
 Support Center
 Earn Cash
 Free Stuff
 Tell A Friend
 Contact Us
 Visitors Book
 Message Board


Search!
[Advanced Search]
Back  Top
| Home | About Us | Web Design | WebHosting | Other Services | Support | Earn Cash | FreeStuff | Tell A Friend | Add A Site | Feedback |
WebCreations Pbilippines