Jump to content
xisto Community
Sign in to follow this  
contor

Redirec Script

Recommended Posts

Or modify your .htaccess file such that index_cm.php is the "home" page for the directory/account. Either way would work.I believe there is a Tutorial on modifying the .htaccess file to perform such a task.On the otherhand, the above posting would also work, your call.

Share this post


Link to post
Share on other sites

Whell, that header(); function is 'bad' .

I use JavaScript or meta tag:

java script:

<body onload="windows.location.href('location.php');">

Meta:

<meta http-equiv="refresh" content="seconds_to_redirect;URL=url">

E.g.:

<meta http-equiv="refresh" content="2;URL=index.php">

This will redirect you on file index.php in 2 seconds.

Share this post


Link to post
Share on other sites

Actually, using javascript is worse... what if a user diabled java with the browser? Then javascript is useless. Well anyway, topic was answered and now closed. If you would like to continue this discussion please PM a moderator.Thank you.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.