12.wordpress网站伪静态设置-url链接SEO优化操作

这一节讲到了wordpress博客网站伪静态设置、url链接SEO优化操作。

wordpress网站伪静态设置可以将网站的url链接设置成不同的格式,以下3种固定链接的格式都不错,可以根据自己的需求选择:文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

(1)/%post_id%.html ,此路径为文章ID。优点是链接最短、扁平化,弊端是没有层次结构。文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

示例:http://www.seoshipin.cn/2176.html文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

(2) /%postname%.html,此路径为文章别名。优点是链接包含关键词,弊端是没有层次结构且需要修改别名比较麻烦。文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

示例:http://www.seoshipin.cn/xiaochengxu.html文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

(3)/%category%/%post_id%.html,此路径为分类目录别名/文章ID【本站所用的固定链接】,也可以把post_id改为postname:分类目录别名/文章别名。文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

优点是链接有层次结构,弊端是有父分类的分类目录链接会重复(暂未验证是主题导致的还是wordpress系统导致的)。文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

示例:http://www.seoshipin.cn/jianzhan/wordpress/2176.html文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

网站空间服务器上的伪静态设置

可以看这个:wordpress伪静态设置规则,固定链接设置哪个比较好?文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

https://www.seoshipin.cn/question/2213.html文章源自SEO视频网-https://www.seoshipin.cn/jianzhan/wordpress/398.html

 

1、要做好SEO优化基础操作

2、吸引性的标题,能解决用户问题的内容

3、坚持原创

4、投票权重

写在最后,无论是建站还是做SEO优化,一定要去实践,建议本教程看3遍以上,操作5遍以上。

 
  • 本文由 潮涌SEO 发表于 2017年4月25日 01:15:09
  • 转载请务必保留本文链接:https://www.seoshipin.cn/jianzhan/wordpress/398.html