doushan2311 2015-07-27 09:06
浏览 44
已采纳

关于文件的SEO HTML状态301?

Good morning.

Currently trudging through SEO part of a website and i'm using a checklist found on http://www.clickminded.com/seo-checklist/ found parts of to be very helpful.

I have gotten to a part which suggested using Scream Frog SEO which has flagged up quite a significant amount of 301 redirects on images/css/js and even links to other parts of my website.

example of this would be :

Address : http://c-elec.co.uk/welcome/gourmet

Content : text/html

Status code : 301

Status : Permanently moved

Every 301 has the same error and content type even if its an image,js file or css always having their redirect URI has the same as their original address.

I am not sure if this is a problem with how my project is structure or a server issue but other sites i've checked on the server have no 301 when scanned. I'm using php/codeigniter with foundation 5 on a NGINX server.

Thanks for any feedback

  • 写回答

1条回答 默认 最新

  • drnf09037160 2015-07-27 09:10
    关注

    It seems, that some of your resources are included using http://www.example.tld. These requests are redirected to http://example.tld automatically, maybe by some rewrite rule or whatever.

    So this request: http://www.c-elec.co.uk/js/app.js is redirected to http://c-elec.co.uk/js/app.js

    You need to find out where this redirect is done or include your resources with http://example.tld.

    BTW: You are including JS code after the closing HEAD and after the closing BODY tag.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题