At the moment I am redirecting visitors from http://www.domain.net/subfolder to a phpwcms page using
Code: Select all
<meta http-equiv="refresh" content="0; URL=http://www.domain.net/phpwcmspage.phtml">
However I have heard that:"redirecting... click here if nothing happens"
My concern is that I really would like to get rid of the message on the redirecting pages in order for the visitor not to notice so much that he/she is redirected. So I wonder which technique to use in order to make 100% sure that visitors end up on the page they are supposed to end up. Please let me know your opinion.Actually some browsers allow you to surpress meta redirects and according to the web accessibility guidelines you shouldn't redirect with this technique.
You can also redirect on the server directly or via an SSI, for example PHP:Code: Select all
<?PHP header('Location:otherfile.html'); ?>
Thanks.