How can I forward the pages, which are deleted, to the homepage?
Автор: Lei W.
Просмотрено 1612,
Подписчики 1,
Размещенный 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
Размещено
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
Автор
I write a .htacces and 404.php. that works.