A redirecting script for webpages using Dreamweaver
10:45 AM Posted by BlogTechno
A redirect script in the coding of your webpage is a good idea if you have a page that still gets hits but you no longer want to maintain it, or you want to take advantage of the hits on another page, or if you are making a transition from one website to another.
A redirect script will automatically change to another web page within a certain time. No clicks or other hassles.
Step1:Open your webpage in an editing program. Some web hosts have built in HTML editors. I use Dreamweaver but you can also use Notepad.
Step2:Find the Head code. Find the Head code. HTML is just a language like English or French or Spanish - don't be intimidated! At the top of the page of HTML coding find the HEAD code. There may already be stuff written between the open and closing sections.
Step3:Type the META tag that you see in blue in the image to the left or you can cut and paste it below adding the brackets to the beginning and end.
meta http-equiv="refresh" content="N; URL=other-web-address"
Instead of the words "other-web-address" you should type in the URL of the webpage you want your visitors to go to.
The URL is the address you can see in the bar at the top of your web browser. It usually begins with http.
Change the N to how many seconds you want the browser to wait before it takes your visitor to the new page. I usually just want them to go immediately so I put a zero in place of the N. You may want them to read something first, in which case you could put 10 or even 30 in place of the zero. Test it and see how fast you want the page to refresh.
Step4:Save your page being sure to retain the extension. The extension is the end part after the period. It might be HTM or HTML or SHTM. Now upload it to your host server and test it live online. It should automatically refresh and load a new page in place of the original page.
Step5:You can have your page refresh to any URL - web page address - you want.
0 comments:
Post a Comment