Quote:
|
Originally Posted by sixpacgenius
I'm wondering if there is any advantages on using different scriping language for redirection.
Like, in html we can use meta refresh, in php, header location, and there are varios javascripts.
|
There are some pitfalls to watch for - that may lead you to better understand which has an advantage. For example - search engines have a hard time following the meta refresh technique, so you wouldn't want to use that on pages you want well indexed.
If you use PHP to do a redirect, then you should declare which type of redirect it is by sending the appropriate headers. You can read more on this here. So the advantage with this method is that you have more control over what information is sent in the headers.
It all depends on what the desired end result is 
__________________
Please login or register to view this content. Registration is FREE - Webmaster tutorials and forums. Brand spanking new. Semper Fi!
Last edited by codecrunch; 04-02-2006 at 10:26 PM..
|