Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

slash hash slash

Tags:

url

seo

Is there any advantage to have a URL with a hash written with slashes around it. For example:

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

Does it SEO better? I thought anything after a slash was not indexed.

like image 363
blakems Avatar asked Jul 06 '10 20:07

blakems


2 Answers

You'll want to avoid using fragments (anything after the hash mark) to indicate major parts of your site's content since Google and other search engines will generally disregard them completely.

However, most uses of URL fragments (like the example you posted) involve dynamically loading AJAX content onto the page; the web app modifies the fragment so that visitors can still use the back button or bookmark the page, but the app's state won't be lost. In your example, the fragment is probably used for a private section of the site that won't be indexed by search engines, so using fragments has no effect on SEO.

Bottom line: for content you want indexed, don't use hash marks. If you want to speed up your UI with AJAX content in a private section of your site, then go right ahead.

like image 93
derekerdmann Avatar answered Nov 12 '22 00:11

derekerdmann


The hash indicates the start of the "fragment" portion of the Uri, the part the indicates where within the page to jump down to.

I don't see why any search engine spider would take anything after the hash into consideration.

like image 42
James Curran Avatar answered Nov 12 '22 01:11

James Curran