首页 > 问答 > 伪静态方式以及301重定向对SEO的影响?

伪静态方式以及301重定向对SEO的影响?

[导读]:公司新闻栏目页:(wwwcom)/zxdt/mtbd.html 公司新闻内容页:(wwwcom)/zxdt/mtbd/ .html 行业资讯栏目页面:(wwwcom)/zxdt/wdhyzx.html 行业资讯内容页:(wwwcom)/zxdt/wdhyzx/ .html 希望调整为...

公司新闻栏目页:(wwwcom)/zxdt/mtbd.html
公司新闻内容页:(wwwcom)/zxdt/mtbd/.html
行业资讯栏目页面:(wwwcom)/zxdt/wdhyzx.html
行业资讯内容页:(wwwcom)/zxdt/wdhyzx/
.html

希望调整为公司新闻、行业资讯URL规划方案一:
公司新闻URL:wwwcom/news/ 内容页URL:wwwcom/news/.html
行业资讯URL:wwwcom/zixun/ 内容页URL:wwwcom/zixun/
.html

以下两个规则是否正确:
规则一:
rewrite ^/news/$ wwwcom/zxdt/mtbd.html permanent;
rewrite "^/news/$" /zxdt/mtbd.html last;
rewrite ^/zixun/$ wwwcom/zxdt/wdhyzx.html permanent;
rewrite "^/zixun/$" /zxdt/wdhyzx.html last;

规则二:
rewrite ^/zxdt/mtbd.html$ /news/ permanent;
rewrite ^/zxdt/mtbd/(.+)$ /news/$1? permanent;
rewrite ^/zxdt/wdhyzx.html$ /zixun/ permanent;
rewrite ^/zxdt/wdhyzx/(.+)$ /zixun/$1? permanent;

另外听技术人员说每次后台发布文章,都会将之前的文章路径/zxdt/mtbd/*.html做301跳转到新的媒体报道内容页,这种对SEO是否有影响?

对于百度肯定是更加新欢静态页面的
至于301肯定是要做的,因为你要让百度知道你的首选域是什么。

本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/38026.html