Double slash in URL path - bad practice?

2019-06-09 05:12发布

问题:

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.