Slash

Is there any advantage to having a url with a hash written with a slash around it. For instance:

http://www.example.com/#/profile

Does it optimize SEO? I thought that something after the slash was not indexed.

+4
source share
2 answers

You need to avoid using fragments (anything after the hash mark) to indicate the main parts of the content of your site, since Google and other search engines usually ignore them completely.

However, most uses of URL fragments (such as the one you posted) include dynamically loading AJAX content into the page; the web application modifies the fragment so that visitors can use the back button or page bookmarks, but the state of the application will not be lost. In your example, the fragment is probably used for a private section of the site that will not be indexed by search engines, so using fragments does not affect SEO.

Bottom line: Do not use hash tags for the content you want to index. If you want to speed up your user interface with AJAX content in a private section of your site, go straight ahead.

+5
source

A hash indicates the beginning of a fragment of a Uri "fragment", and a part indicates where on the page you can go down.

I don’t understand why any search robot could accept anything after the hash.

+1
source

Source: https://habr.com/ru/post/1314881/


All Articles