try another color scheme:


Go Back   TECH6.0 > Get Techie > Programming > PHP/MySQL


Best method for creating an Auto redirector?

This is a discussion on Best method for creating an Auto redirector? within the PHP/MySQL section, part of the Programming category; Just wondering about this as I have found a lot of info on this and everyone has an opinion of ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-01-2009, 08:28 AM
TaL's Avatar
TaL TaL is offline

Moderator
 
Name: Steve
Join Date: Dec 2008
Location: Canada
Posts: 75
TaL will become famous soon enoughTaL will become famous soon enough
Default Best method for creating an Auto redirector?

Just wondering about this as I have found a lot of info on this and everyone has an opinion of what method is best. I like the auto redirecting process used here so I figured I would see what method you use here
__________________
Go placidly amid the noise and haste, and remember what peace there may be in silence

The Desiderada
Reply With Quote
  #2  
Old 04-01-2009, 01:25 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

You can also use a simple META refresh

HTML Code:
<head>
<meta http-equiv="refresh" content="5; URL=http://example.com">
</head> 
where 5 is the number of seconds to delay before redirecting and URL is the location to redirect to.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #3  
Old 04-01-2009, 07:38 PM
TaL's Avatar
TaL TaL is offline

Moderator
 
Name: Steve
Join Date: Dec 2008
Location: Canada
Posts: 75
TaL will become famous soon enoughTaL will become famous soon enough
Default

I have read that by using the refresh method, you can break the back button...Any experience with this?
__________________
Go placidly amid the noise and haste, and remember what peace there may be in silence

The Desiderada
Reply With Quote
  #4  
Old 04-01-2009, 08:16 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

I have read that by using the refresh method, you can break the back button...Any experience with this?
As Said by TaL View Post
Yeah, if the redirect happens quickly (less than 2-3 seconds), readers with older browsers can't hit the "Back" button. This is a usability problem.

btw, If you want a permanent redirect to some location, you can also use .htaccess 301 redirect which is considered as Search engine friendly redirects.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #5  
Old 04-01-2009, 08:51 PM
TaL's Avatar
TaL TaL is offline

Moderator
 
Name: Steve
Join Date: Dec 2008
Location: Canada
Posts: 75
TaL will become famous soon enoughTaL will become famous soon enough
Default

Thanks for that...just so I understand though...are you saying that if you use a time of more than 3 seconds then the refresh method is not going to break the back button?
__________________
Go placidly amid the noise and haste, and remember what peace there may be in silence

The Desiderada
Reply With Quote
  #6  
Old 04-01-2009, 09:52 PM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

yup that is what I meant.

But would be best if you actually test it yourself on different browsers. And let me know the results too
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 08:04 AM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top