开发者

404 error page redirection

I've setup a custom 404 error page using the following code.

 ErrorDocument 400 /errors.php

But when I check the headers sent i see that first a 301 moved permanently is sent followed by a 404 error header. So is it good for seo will it create problem with bots.

My second question is reg. transfer of non-existent s开发者_JS百科ub-domains to 404 error pages.I'm using Cpanel and i want only the subdomains created in CPanel to work and i've created a wildcard redirect but non existent subdomain gives me a OK status.How do i redirect it to 404 page.

Thanks.


googlebot-news has special requirements published recently, like they won't acept old site schema-s any more

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜