How can I forward the pages, which are deleted, to the homepage?
Author: Lei W.
Visited 1565,
Followers 1,
Shared 0
Hello to all!
I delelted some pages of my website. But still the goolge show the old results. If some one click it, it would be shown "Not Found. The requested URL /xxx.html was not found on this server." How can I forward these pages directly to my homepage?
Thanks in advance! Lei
Posted on the
Make a file index.html with the following contents
<meta http-equiv="refresh" content="0;url=http://www.my-homepage.com">
and upload the file on your server, where you deleted the page.
Or you make a forward by your provider settings.
with a
.htacces
and mod rewrite
302 forwarding
search by google
Author
I write a .htacces and 404.php. that works.