网站URL的类型及SEO优化要点
搜狐
SEO资讯 2019-02-27 10:00:02 字数:4408

原标题:网站URL的类型及SEO优化要点

无论是动态还是所谓的静态和伪静态URL,网站的页面地址设置一直是SEO人群们在意的一个重要方面,浅谈网站URL的类型及SEO优化点。

网站URL路径的主要类别

(1)URL的301跳转

当我们在不经意间或者突然的改版导致URL变化。这个时候我们一定要进行301跳转。301跳转是代表永久地址的更改,这样的操作会很清晰的告诉搜索引擎蜘蛛我们的网站进行变更了,把旧URL的权重转移到新的URL,搜索引擎会当前网站的缓存以及内容进行及时的更新,避免因修改URL而带来的权重的流失。

一般权重的转移需要一定的时间来完成权重传递,有时会长达几个月,这个时候请保持耐心对待这样的临时现象。

(2)域名的选择

域名应该更为合理,让域名更容易让用户记住,更符合你的产品性质,千万不要为了放关键词注册很长的域名,同时也不要为了放关键词,将在域名中塞入一些符号从而让用户很难。

(3)二级域名的内容页

二级域名在中文网站里面似乎受到极高的追捧,因为二级域名通常是针对一个专题一个具体的内容进行专精,这使得搜索引擎对我们的网站二级域名给予了极大的重视,这更利于我们网站对于我们的产品或者某个专题能够做到集中优化。

(4)在URL里插入关键词

在条件允许的情况下,目录名文件名可以适当加入和内容标题相关的关键词。Google公司的Matt Cutts曾在他自己的博客中里有暗示过,URL中的关键词多少对可利于网站的排名。

(5)大小写格式的统一

URL优化中我们尽量保持统一的大小写格式。避免被搜索引擎视为2个不同的网页,从而造成内容重叠,收录混乱导致网站的权重降低以及快照更新倒退。

(6)保证URL长度的合理性

虽然我们在URL放入放关键词更利于我们网站的排名,不管是网络蜘蛛,还是网站访问者,都喜欢简单直观的URL。URL的层级不宜过多,尽量保持合理,过长或结构层次过多会导致页面权重降低。切忌SEO的一大禁忌不可过分贪心,太贪心会失败得很惨!

(7)URL的描述性

整个URL包括域名,目录名和文件名,在可能的情况下,用具有描述性的单词,尤其是目录名和文件名。让用户看到URL,就可以大致了解这个网页是什么内容。

(8)连词符的妙用

URL中目录名文件名单词之间可使用连词符-,也可以适当使用下划线_,但是切忌使用很奇怪的字符。连词符会被搜索引擎当作空格识别。

(9)URL格式使用英文单词和拼音利于排名

在我们大量的观察中,百度搜索引擎更目前适合于比较简短的URL或者英文单词,而在google中发现不管是中文还是英文乃至拼音都可以有较好的收录和排名,但是做SEO入门者会问我的英文很差,那么是否代表我们的网站就只能选择英文单词呢?答案是否定的,互联网在不断发展,搜索引擎也在不断的进步,我们要将目光放远一点,做好优化的基础,我们的排名上去是迟早的事情。

(10)URL静态化

URL的静态化虽然现在有许多专业人士提到静态和动态区别已经不大了,但是我们不难发现DEDE-CMS也好,DZ,PHPWIND等这些CMS系统都在不断的提供更好的伪静态和静态化的支持,所以我们能做好的就一定不要放弃,我们很多人在追求静态化呢?我们没办法只能感叹现在都是被逼迫的。

URL如何来优化?

这是许多SEOER们一直在讨论的问题,因为优化好我们的Url将会有利于给我们网站的优化,而如何优化URL更符合我们的SEO策略呢,对于SEO而言,URL的好坏将直接影响搜索引擎对我们网站长尾关键词的影响。对于搜索用户来说,URL优化的好坏,会给予我们的潜在用户一定的心理暗示。

因此一个好的URL结构无论是对搜索引擎,还是用户,都有着非常重要的作用,而对于我们网站建设之初一定要定位好我们的URL优化策略。

本君致力于探索互联网各大趣事,分享干货,偶尔发点牢骚,偶尔开开小车,撩拨你的三观,透支你的节操,请谨慎关注哦。

微信公众号:君隆网络技术(julonpro)

微博:君隆网络技术

0人参与回答
  • 未添加任何数据~~


提示信息

联系电话:
1585150508*
QQ交谈:
小编
站长微信:
站长邮箱: service@qingjiuzhubei.com
195.06msRequest Duration2MBMemory UsageGET zixun/detail/{id?}.htmlRouteAuth status
    • Booting (10.59ms)
    • Application (186.84ms)
      6 templates were rendered
      • site.zixun.detail (resources/views/site/zixun/detail.blade.php)8blade
        Params
        0
        prevArticle
        1
        nextArticle
        2
        newDetail
        3
        comment
        4
        hotnews
        5
        t
        6
        d
        7
        k
      • layouts.site.layout (resources/views/layouts/site/layout.blade.php)18blade
        Params
        0
        obLevel
        1
        __env
        2
        app
        3
        device
        4
        isMobile
        5
        errors
        6
        prevArticle
        7
        nextArticle
        8
        newDetail
        9
        comment
        10
        hotnews
        11
        t
        12
        d
        13
        k
        14
        __empty_1
        15
        __currentLoopData
        16
        loop
        17
        hotnewsVal
      • layouts.site.top (resources/views/layouts/site/top.blade.php)18blade
        Params
        0
        obLevel
        1
        __env
        2
        app
        3
        device
        4
        isMobile
        5
        errors
        6
        prevArticle
        7
        nextArticle
        8
        newDetail
        9
        comment
        10
        hotnews
        11
        t
        12
        d
        13
        k
        14
        __empty_1
        15
        __currentLoopData
        16
        loop
        17
        hotnewsVal
      • layouts.site.bottom (resources/views/layouts/site/bottom.blade.php)18blade
        Params
        0
        obLevel
        1
        __env
        2
        app
        3
        device
        4
        isMobile
        5
        errors
        6
        prevArticle
        7
        nextArticle
        8
        newDetail
        9
        comment
        10
        hotnews
        11
        t
        12
        d
        13
        k
        14
        __empty_1
        15
        __currentLoopData
        16
        loop
        17
        hotnewsVal
      • common.upgrade_vip (resources/views/common/upgrade_vip.blade.php)18blade
        Params
        0
        obLevel
        1
        __env
        2
        app
        3
        device
        4
        isMobile
        5
        errors
        6
        prevArticle
        7
        nextArticle
        8
        newDetail
        9
        comment
        10
        hotnews
        11
        t
        12
        d
        13
        k
        14
        __empty_1
        15
        __currentLoopData
        16
        loop
        17
        hotnewsVal
      • kefu.kefu (resources/views/kefu/kefu.blade.php)18blade
        Params
        0
        obLevel
        1
        __env
        2
        app
        3
        device
        4
        isMobile
        5
        errors
        6
        prevArticle
        7
        nextArticle
        8
        newDetail
        9
        comment
        10
        hotnews
        11
        t
        12
        d
        13
        k
        14
        __empty_1
        15
        __currentLoopData
        16
        loop
        17
        hotnewsVal
      uri
      GET zixun/detail/{id?}.html
      middleware
      web
      controller
      App\Http\Controllers\Site\ZixunController@detail
      namespace
      App\Http\Controllers
      prefix
      /zixun
      where
      as
      zixunDetail
      file
      app/Http/Controllers/Site/ZixunController.php:105-132
      7 statements were executed172.31ms
      • select * from `news` where `news`.`id` = '19463' and `news`.`deleted_at` is null limit 11.88ms/app/Http/Controllers/Site/ZixunController.php:109zzshuju
        Metadata
        Bindings
        • 0. 19463
        Hints
        • Use SELECT * only if you need all columns from table
        • LIMIT without ORDER BY causes non-deterministic results, depending on the query execution plan
        Backtrace
        • 14. /app/Http/Controllers/Site/ZixunController.php:109
        • 22. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 56. /public/index.php:53
      • select * from `new_cates` where `new_cates`.`id` in ('2') and `new_cates`.`deleted_at` is null420μs/app/Http/Controllers/Site/ZixunController.php:109zzshuju
        Metadata
        Bindings
        • 0. 2
        Hints
        • Use SELECT * only if you need all columns from table
        Backtrace
        • 19. /app/Http/Controllers/Site/ZixunController.php:109
        • 27. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 61. /public/index.php:53
      • select * from `news` where `news`.`deleted_at` is null order by `browse` desc limit 10163.22ms/app/Http/Controllers/Site/ZixunController.php:110zzshuju
        Metadata
        Hints
        • Use SELECT * only if you need all columns from table
        Backtrace
        • 12. /app/Http/Controllers/Site/ZixunController.php:110
        • 20. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 54. /public/index.php:53
      • update `news` set `browse` = `browse` + 1, `updated_at` = '2025-08-26 17:45:32' where `id` = '19463' and `news`.`deleted_at` is null4.78ms/app/Http/Model/News/News.php:170zzshuju
        Metadata
        Bindings
        • 0. 2025-08-26 17:45:32
        • 1. 19463
        Backtrace
        • 12. /app/Http/Model/News/News.php:170
        • 13. /app/Http/Controllers/Site/ZixunController.php:111
        • 21. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 55. /public/index.php:53
      • select * from `news` where `id` < '19463' and `newscate_id` = '2' and `news`.`deleted_at` is null order by `id` desc limit 1820μs/app/Http/Controllers/Site/ZixunController.php:115zzshuju
        Metadata
        Bindings
        • 0. 19463
        • 1. 2
        Hints
        • Use SELECT * only if you need all columns from table
        Backtrace
        • 13. /app/Http/Controllers/Site/ZixunController.php:115
        • 21. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 55. /public/index.php:53
      • select * from `news` where `id` > '19463' and `newscate_id` = '2' and `news`.`deleted_at` is null order by `id` asc limit 1740μs/app/Http/Controllers/Site/ZixunController.php:116zzshuju
        Metadata
        Bindings
        • 0. 19463
        • 1. 2
        Hints
        • Use SELECT * only if you need all columns from table
        Backtrace
        • 13. /app/Http/Controllers/Site/ZixunController.php:116
        • 21. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 55. /public/index.php:53
      • select * from `comments` where `news_id` = '19463'450μs/app/Http/Controllers/Site/ZixunController.php:117zzshuju
        Metadata
        Bindings
        • 0. 19463
        Hints
        • Use SELECT * only if you need all columns from table
        Backtrace
        • 12. /app/Http/Controllers/Site/ZixunController.php:117
        • 20. /vendor/silber/page-cache/src/Middleware/CacheResponse.php:38
        • 54. /public/index.php:53
        web
        array:2 [ "name" => "Guest" "user" => array:1 [ "guest" => true ] ]
        api
        array:2 [ "name" => "Guest" "user" => array:1 [ "guest" => true ] ]
          _token
          lrZ5CYOTJ0tyr8FgaNU91tTiusHeym0xAThlLDWP
          _previous
          array:1 [ "url" => "https://data.winndoo.cn/zixun/detail/19463.html" ]
          PHPDEBUGBAR_STACK_DATA
          []
          format
          html
          content_type
          text/html; charset=UTF-8
          status_text
          OK
          status_code
          200
          request_query
          []
          request_request
          []
          request_headers
          array:17 [ "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-ch-ua-plat...
          request_server
          array:41 [ "USER" => "apache" "HOME" => "/usr/share/httpd" "HTTP_ACCEPT_ENCODING" => "gzip, de...
          request_cookies
          []
          response_headers
          array:5 [ "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ ...
          path_info
          /zixun/detail/19463.html
          session_attributes
          array:3 [ "_token" => "lrZ5CYOTJ0tyr8FgaNU91tTiusHeym0xAThlLDWP" "_previous" => array:1 [ "u...