Double slash in URL path - bad practice?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-23 06:57:55

问题


My web app generates multiple slashes in URLs like: http://www.example.com/some///slashes.

Is it a bad practice? Does Google care?

Does Google see /some/slashes and /some///slashes as different URLs? If it does, I think Google won't merge PageRank of these URLs, or will it?

Thanks!


回答1:


This can lead to search engines indexing incorrect URLs and duplicate content. Multiple pages with the same content is bad for SEO. Duplicated pages detract from the original page. You can end up with the incorrect URL being indexed and the proper URL being removed from search results.



来源:https://stackoverflow.com/questions/23543190/double-slash-in-url-path-bad-practice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!