Please i want to know the ways in which redirection can be done. Also interested in knowing how 404 redirection is done without using htaccess. I have a windows server so more information... Please reply... Thanks in advance.
i am using wordpress. and in my theme there is a 404.php in this i use meta redirection codes like <META http-equiv="refresh" content="0;URL=http://www.gdiworkathome.com">
Meta refresh is not not advisable as search engines view it negatively and considered back hat by most of them. You will have to do a server side redirect.Why don't you ask your web hosting company to do it for you.
If you want go for 404 in php you can use following code in the scenarios you like: <?php header("HTTP/1.0 404 Not Found"); ?> Code (markup):
If you want to create a custom 404 error in Microsoft Internet Information Services (IIS), I suggest you to read their support page about the HTTP Error 404 or this article about creating a custom 404 error page in Microsoft IIS.
Thanks for all you replies... I will certainly try this out. Can anyone explain me in detail how to process it practically. ???????