我将摆脱其中一个网站上的一些模板。这些模板下有很多页面,例如
city.php?city_id=1 city.php?city_id=2 city.php?city_id=3 ...
告诉Google该页面已不存在,以便将该页面从索引中删除的正确方法是?
谢谢!
另请参见:Google 301 Recommendation。
.htaccess
404.html
ErrorDocument 404 /404.html