Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Other Design Topics »Graphic Design Tutorials

Notices

Graphic Design Tutorials Graphic Design and Web Design Tutorials and reference section


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-02-2008, 05:49 PM
crazyleaf's Avatar
Teeth Designer
 
Join Date: Jan 2007
Location: CrazyLeaf HQ
Gender: Male
Posts: 1,565
Default [HTML]Redirect without using PHP

This tutorial will show you to redirect users to another webpage without using header and other PHP methods. It's actually very simple, just one line of HTML code.

The code must be added between the <head> and </head> tags.

Code:
<meta http-equiv="Refresh" content="1; url=http://www.yoursite.com/newpage.html">
In the Content attribute there is the number 1, and an URL. The number 1 represents the number of seconds until the redirection is made, and the URL is the web address the user is redirected to.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 20-02-2008, 11:45 PM
tommylogic's Avatar
f*ck yeah it validates!!!
 
Join Date: Apr 2007
Location: Virtually Everywhere
Gender: Male
Posts: 5,707
Default

There are some know issues with redirecting via HTML... you might look into this method as well -->
How to Redirect a Webpage | 301 redirect
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 21-02-2008, 08:45 AM
crazyleaf's Avatar
Teeth Designer
 
Join Date: Jan 2007
Location: CrazyLeaf HQ
Gender: Male
Posts: 1,565
Default

Yeah .. I would have to say that redirecting via .htaccess is the way to go, but it's a bit complicated for most users. Anyway using your methods and mine a user now has 3 ways of redirecting, which is cool.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 21-02-2008, 08:49 AM
lolly's Avatar
Only Ask If You Want Truth™
 
Join Date: Feb 2007
Gender: Female
Posts: 1,186
Default

Google and Yahoo accept undelayed meta refreshs as 301 redirects
__________________
Harmony is the grandest artistic aim
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 21-02-2008, 02:53 PM
tommylogic's Avatar
f*ck yeah it validates!!!
 
Join Date: Apr 2007
Location: Virtually Everywhere
Gender: Male
Posts: 5,707
Default

Quote:
Originally Posted by crazyleaf View Post
Yeah .. I would have to say that redirecting via .htaccess is the way to go, but it's a bit complicated for most users. Anyway using your methods and mine a user now has 3 ways of redirecting, which is cool.
yep.. thats cool. I always push people to learn a little more. I think if people are developing sites, they will eventually need to learn server side (In this case .htaccess & mod_re-write). No better time than the present to start using it than a situation like this.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Redirect a Web Page | 301 redirect Graphic Design Blog Graphic Design Blog 0 28-02-2008 03:50 AM
How to Redirect a Webpage | 301 redirect tommylogic Graphic Design Tutorials 1 23-02-2008 03:34 PM
serious help for HTML/CSS exp. stone General Web Design Forum 3 10-08-2007 05:00 PM
Html 5 Mack General Web Design Forum 1 09-08-2007 01:07 PM
HTML help workinprogress Graphic Design and Web Design Help 5 06-04-2007 09:25 AM


All times are GMT. The time now is 10:29 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0