Note 1: You don't have to know PHP programming to do this tutorial.Note 2: I assume that your server supports files with .php extension. If not, you won't be able to do this tutorial. For more info on how to install PHP on your PC go to Php.net 1. Open notepad or any other HTML Editor and paste the following code.
| <? $URL="http://www.adesdesign.net"; header ("Location: $URL"); ?> <html> <title>Ades Design</title> <head></head> <body> </body> </html> |
3. Now customize your script. Put your own link instead of Adesdesign.net and change the title Ades Design.
You can also put some text or link inside the body. In case your redirection does not work people will be able to click and go to the desired page.
Related Articles
- Redirect UrlOccasionally, you may wish to have a redirect page that pauses for a few seconds before sending the visitor off to the destination. For example, there may be important text on the redirect page you wish the visitor to get a chance to read, or a banner ad to see.before proceeding. This redirect script
- How To Set Up A 301 Redirect On IIS, Non-www Domain Name To Www Domain NameTo further elaborate on a article I wrote: 301 Redirects And Domains With And Without WWW, I wanted to discuss the actual implementation of a 301 redirect on IIS.
- Not To Be Banned By GoogleStrategic search engine optimization involves far more than keyword research, META tags and content. If you want to mange an SEO program, you need to be aware of any issue that can affect your success. Domain name management is one of the big factors. Effective domain name management is critical bec...
- Image SlideshowWho needs an Image Slideshow? You will when you see how easy it is to make and how great it looks. The author gives you code for every step so that you can set it easily into your PHP for the website design.
- An Easy Way Not to Get Banned by GoogleStrategic search engine optimization involves far more than keyword research, META tags and content. If you want to mange an SEO program, you need to be aware of any issue that can affect your success. Domain name management is one of the big factors...
- CSS Cursors - How To Use ThemOne thing that CSS allows us to use for screen presentation are alternate cursors. This is not the idea of downloading or forcing a download of a cursor, as was done in the past (though that is possible as well), but instead, we use several built in concept cursors.
- Domain Name Registration - Changing Your Website URLDomain name registration is the most important step to take when setting up a website, although not actually the first step. The first step to take is to choose a good domain name!
- More Than One Way to RedirectAfter my article describing what a .htaccess file is and how it can be used to help your own Web development, I received dozens of E-mails on the subject. It has been one of the most popular topics I have covered for 2005 so far...
- Can I Optimize A Site Designed With Frames?Can you optimize a site designed in frames? Of course you can! The question should be, ?how effectively can I optimize a web sire designed in frames?
- JavaScript RedirectionRedirection is often used to take viewers to a page depending on their browsers name or version. To redirect a viewer instantly, you just need to add a short command in your head section:
