<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peculiar IQ &#187; Hash Symbol</title>
	<atom:link href="http://peculiariq.com/tag/hash-symbol/feed/" rel="self" type="application/rss+xml" />
	<link>http://peculiariq.com</link>
	<description>Strange or odd; unusual</description>
	<lastBuildDate>Wed, 31 May 2017 13:58:09 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Hash Symbols and Special Characters in URLs Explained</title>
		<link>http://peculiariq.com/hash-symbols-and-special-characters-in-urls-explained/</link>
		<comments>http://peculiariq.com/hash-symbols-and-special-characters-in-urls-explained/#comments</comments>
		<pubDate>Mon, 10 Aug 2015 18:09:47 +0000</pubDate>
		<dc:creator><![CDATA[Justin Hoffman]]></dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Social]]></category>
		<category><![CDATA[Fragment URL]]></category>
		<category><![CDATA[Hash Bang]]></category>
		<category><![CDATA[Hash Symbol]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://peculiariq.com/?p=240</guid>
		<description><![CDATA[I’ve been recently engaged on a few SEO related initiatives and came across inquiries regarding the usage of “hash” symbols (formerly known as the “pound” sign) specifically in URLs and how they affect SEO rankings. Are these characters simply ignored by Google search crawlers, or does this make an impact that people should be aware [&#8230;]]]></description>
				<content:encoded><![CDATA[<div id="attachment_241" style="width: 310px" class="wp-caption alignright"><a href="http://peculiariq.com/wp-content/uploads/2015/08/hash-tag.jpg"><img class="size-medium wp-image-241" src="http://peculiariq.com/wp-content/uploads/2015/08/hash-tag-300x198.jpg" alt="hash-tag" width="300" height="198" /></a><p class="wp-caption-text">hash-tag</p></div>
<p>I’ve been recently engaged on a few SEO related initiatives and came across inquiries regarding the usage of “hash” symbols (formerly known as the “pound” sign) specifically in URLs and how they affect SEO rankings. Are these characters simply ignored by Google search crawlers, or does this make an impact that people should be aware of? How should these kinds of characters be used on the web? This is a brief description of where and how to implement these across your dynamic web applications.</p>
<p>A hash sign (#) in a URL is referred to as a ‘fragment’. In the past and with many legacy applications, URL fragments have been used to automatically set the browser’s scroll position to a predefined location in the web page, like a standard HTML4 ‘anchor’ link (used on many ‘link-farm style websites and old school Geocities sites). Applied in this manner, a URL refers to a document, then the fragment refers to a specific subsection of that document (or web page).</p>
<p>In recent years, however, this definition changed through the use of major Social NEtworking sites, primarily driven by the popularity and adoption of Twitter. Any information that appears after the first hash symbol in a URL is referred to as the fragment identifier – sometimes also called an anchor tag. By default, the fragment identifier is interpreted only by the local web browser and is typically not passed to the remote web server. For example, the following two links would both be considered requests for the same document by the web server:</p>
<ul>
<li>www.samplewebsite.com/colors.html#red</li>
<li>www.samplewebsite.com/colors.html#blue</li>
<li>www.samplewebsite.com/colors.html#yellow</li>
</ul>
<p>Since the fragment identifiers (tags) in the example URLs above signify two different locations in the same page, search engines like Google, Bing, etc., will consider them both to refer to a single search result: <strong><em>www.samplewebsite.com/colors.html</em></strong></p>
<p>For this reason, it’s important not to use fragments as a way to represent what should instead be different pages. In short, if you want Google to crawl two different pages and index them separately, you’re better off simply using two distinct URLs without fragments. However, in modern implementations, fragments are often used in a different way – to add dynamic functionality to websites and web applications. In this approach, a series of related requests are all processed by the same URL. So, in order to return different variations of the content, parameters are passed via URL fragments. Javascript is then used to interpret the fragment and update only portions of the page that need to change, without the need for a full page or browser refresh. This is typical of AJAX-style applications.</p>
<p>So, the question is, how does Google index distinct content within AJAX style pages? After all, we just said that Google will not consider the fragments in the URLs. The answer is Google has provided a syntax for working around this problem. It’s known as the “hash bang” syntax. By putting an exclamation point immediately after the hash sign, you&#8217;re telling Google that the fragments are not used for traditional scroll positioning but instead for loading separate content variations that should be crawled. With that approach, our example URLs with fragments could indeed be crawled and seen by Google. Our example URLs might then look like this:</p>
<ul>
<li>www.samplewebsite.com/colors.html#!red</li>
<li>www.samplewebsite.com/colors.html#!blue</li>
<li>www.samplewebsite.com/colors.html#!yellow</li>
</ul>
<p>Remember, if you’re not using this special syntax, analytics reporting systems like Google Analytics may not be configured to track clicks on fragment links in your site. To ensure tracking works, either structure your content with distinct URLs or configure your Google Analytics code to also track fragment clicks.</p>
<p>Here are a few useful links regarding Hash Tags in URLs…</p>
<ul>
<li>Character Escaping (Stack Overflow) &#8211; <a href="http://stackoverflow.com/questions/5007352/how-to-escape-hash-character-in-url">http://stackoverflow.com/questions/5007352/how-to-escape-hash-character-in-url</a></li>
<li>Fragment URLs (HTTP Watch) &#8211; <a href="https://blog.httpwatch.com/2011/03/01/6-things-you-should-know-about-fragment-urls/">https://blog.httpwatch.com/2011/03/01/6-things-you-should-know-about-fragment-urls/</a></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://peculiariq.com/hash-symbols-and-special-characters-in-urls-explained/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
