<?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>Freelance PHP Programmer, Vladimir Kokovic</title>
	<atom:link href="http://www.devmage.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devmage.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Wed, 12 Jan 2011 21:39:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>PHP and AJAX deep linking problem</title>
		<link>http://www.devmage.com/web-development/php-and-ajax-deep-linking-problem/</link>
		<comments>http://www.devmage.com/web-development/php-and-ajax-deep-linking-problem/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 19:25:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.devmage.com/?p=56</guid>
		<description><![CDATA[Recently, I&#8217;ve been working on a web application that has the idea to make it all “ajaxed” &#8211; Huh?! One, among the other requirements, was to make all the sub pages load and populate their content upon AJAX request but on the other hand to make it indexable by search engines. So, here are a few worries I had: 1. which search engines allows this, 2. I couldn&#8217;t find any sample of the PHP and AJAX deep linking on the... <a href="http://www.devmage.com/web-development/php-and-ajax-deep-linking-problem/">Read more >></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been working on a web application that has the idea to make it all “ajaxed” &#8211; Huh?! One, among the other requirements, was to make all the sub pages load and populate their content upon AJAX request but on the other hand to make it indexable by search engines.</p>
<p>So, here are a few worries I had:</p>
<ul>
<li><strong>1.</strong> which search engines allows this,</li>
<li><strong>2.</strong> I couldn&#8217;t find any sample of the PHP and AJAX deep linking on the Web, except Twitter and Facebook 	did it recently but I couldn&#8217;t realize what stands behind it,</li>
<li><strong>3.</strong> how to force the browsers to read the fragment after the hash sign (#something).</li>
</ul>
<p>Sooo, I started thinking about possible answers, spoke to <a title="Mike McKasty" href="http://http://mckasty.net/" target="_blank">Mike</a> &#8230; and here are the results:</p>
<p><strong>Which search engines allows this?</strong></p>
<p>First of all, it&#8217;s Google who introduced its standard for this purpose. I found that they call their specification “Making AJAX Applications Crawlable”. You can read their official article <a href="http://code.google.com/web/ajaxcrawling/" target="_blank">here</a>. When I read that Google supports it, my worries almost disappeared because I knew that Facebook and Twitter already introduced it so they are those who make SEO standards, correct? Ok, another important article says that Yahoo! supports it, as well as IEEE, you may want to read more about it <a title="IEEE" href="http://ieeexplore.ieee.org/Xplore/login.jsp?url=http://ieeexplore.ieee.org/iel5/4812371/4812372/04812393.pdf%3Farnumber%3D4812393&amp;authDecision=-203" target="_blank">here</a>. Honestly, I didn&#8217;t care about Bing at all (read: I hate it).</p>
<p><strong>I couldn&#8217;t find any sample of the PHP and AJAX deep linking on the Web</strong></p>
<p>After I googled for a little bit, there was actually a sample made by Asual DZZD and it was jQuery&#8217;s plug-in called “jQuery Address”. This is not a promotion of their plug-in and script but unfortunately the only sample I was able to find. You may read more about it <a href="http://www.asual.com/jquery/address/" target="_blank">here</a> or you might want to check the example <a href="http://www.asual.com/jquery/address/samples/crawling/">here</a>.</p>
<p>Here is a screenshot:</p>
<p><img class="alignnone size-medium wp-image-61" title="PHP and AJAX deep linking problem" src="http://www.devmage.com/wp-content/uploads/2011/01/PHP-and-AJAX-deep-linking-problem-300x181.png" alt="" width="300" height="181" /></p>
<p><strong>How to force the browsers to read the fragment after hash sign (#something)?</strong></p>
<p>Actually, you can&#8217;t force the browser to read the fragment but since search engines support the standard with the <code><span style="color: #007000;"><span style="font-family: monospace, 'MS Mincho';"><span style="font-size: x-small;"><strong>_escaped_fragment_</strong></span></span></span></code> there is no need to do so. This technique combines both AJAX and PHP&#8217;s CURL. Just follow the above example and everything should be loud and clear.</p>
<p>Basically, here is the work flow:</p>
<ol>
<li>1. convince yourself that it actually 	works by reading <a href="http://code.google.com/web/ajaxcrawling/" target="_blank">this</a> and <a href="http://ieeexplore.ieee.org/Xplore/login.jsp?url=http://ieeexplore.ieee.org/iel5/4812371/4812372/04812393.pdf%3Farnumber%3D4812393&amp;authDecision=-203" target="_blank">this</a>,</li>
<li>2. Check the example of it <a href="http://www.asual.com/jquery/address/" target="_blank">here</a>, download the code and play 	with it there,</li>
<li>3. Implement it on your site and 	enjoy!</li>
</ol>
<p>I hope this article will save you a lot of time and headaches, good luck guys!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devmage.com/web-development/php-and-ajax-deep-linking-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Implement a 301 Redirect</title>
		<link>http://www.devmage.com/web-development/how-to-implement-a-301-redirect/</link>
		<comments>http://www.devmage.com/web-development/how-to-implement-a-301-redirect/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 14:35:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.devmage.com/?p=26</guid>
		<description><![CDATA[Website owners who want to move to a new domain or change link traffic need to take advantage of redirection. Redirection means the user is sent to a different page when accessing a URL. When a new domain is created or the internal web page names are changed, users receive a 404 error message unless redirection is implemented. A redirection can be used for a homepage or other web pages within the internal structure of the domain. The importance of... <a href="http://www.devmage.com/web-development/how-to-implement-a-301-redirect/">Read more >></a>]]></description>
			<content:encoded><![CDATA[<p>Website owners who want to move to a new domain or change link traffic need to take advantage of redirection. Redirection means the user is sent to a different page when accessing a URL. When a new domain is created or the internal web page names are changed, users receive a 404 error message unless redirection is implemented.</p>
<p>A redirection can be used for a homepage or other web pages within the internal structure of the domain.</p>
<p>The importance of a 301 redirect is in search engine indexing. A 301 redirect transfers PageRank and content for search engines. This is more beneficial than any other type of redirect, because other types cause Google to detect duplicate content. Duplicate content hurts a website’s rank in Google, so a 301 redirect facilitates a website move or redesign without losing traffic.</p>
<p><strong>What is a 301 Redirect?</strong><br />
A 301 redirect transfers traffic from one URL to another. It is distinct from a 302 redirect. The difference between the two types is how search engines cache the results. When you use a 301 redirect, the original page is not loaded or indexed by search engines. The search engine bots are transferred to the new URL without ever seeing the original content. A search engine bot that reaches a 302 redirect will view the old page. The old page’s content is indexed, and then the bot is transferred to the second page. This causes search engines to see two pages with the same content, which harms Google rank.</p>
<p><strong>Redirecting in Internet Information Service (IIS)</strong><br />
IIS is a website server for Microsoft hosting. If you use .NET (C# or VB.NET) programming for your website, then you probably have an IIS server. IIS 301 redirection is accomplished in the server settings or in the website code.<br />
To use a 301 redirect in the IIS settings, right-click the folder you want to redirect. In the window that opens, select “A redirection to a URL.” Enter a URL in the text box. Check the boxes labeled “The exact URL entered above” and “A permanent redirection for this resource.” Implementing this configuration transfers all traffic that hits the folder to the URL indicated in the settings.</p>
<p>To use a 301 redirect in a web page, the following code implements the redirection without setting any server configurations. Place this code in the destination file for your web pages.</p>
<pre class="brush: jscript; title: ;">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = &quot;301 Moved Permanently&quot;;
Response.AddHeader(&quot;Location&quot;,&quot;your_new_URL.com&quot;);
}
</pre>
<p><strong>Apache Server 301 Redirects</strong><br />
Apache servers are used for websites programmed in PHP. Apache 301 redirection is implemented using a file named “.htaccess.” This file has no name except for the extension, so it’s at the top of your file list when you browse the root directory. The .htaccess file controls redirects using code. Below is the code used to redirect pages on an Apache server:</p>
<pre class="brush: plain; title: ;">
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^old_domain.com [nc]
rewriterule ^(.*)$ new_domain.com/$1 [r=301,nc]
</pre>
<p>There is one condition before this type of redirection will work. If you are on a hosted environment, the host service needs to give you “mod-rewrite” access. Some host services automatically give this type of access to customers, so check with your provider.</p>
<p>Using 301 redirects, you can pass PageRank and traffic to the new domain or web page. Implement this type of redirection to preserve search engine rank and avoid duplication issues in the index.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devmage.com/web-development/how-to-implement-a-301-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Effective Ways to Drive Traffic to Your Site</title>
		<link>http://www.devmage.com/web-development/effective-ways-to-drive-traffic-to-your-site/</link>
		<comments>http://www.devmage.com/web-development/effective-ways-to-drive-traffic-to-your-site/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 14:31:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.devmage.com/?p=24</guid>
		<description><![CDATA[Why are organic search results important? The answer is because paying for ad space and clicks is not only inefficient, it’s incredibly expensive and just isn’t worth it over the life of a website. So let’s cover a few basic things that will help raise your rank in those all important search engine results. The first thing is keyword placement. When someone types a word in a search box, one of the things your website is found by is your... <a href="http://www.devmage.com/web-development/effective-ways-to-drive-traffic-to-your-site/">Read more >></a>]]></description>
			<content:encoded><![CDATA[<p>Why are organic search results important? The answer is because paying for ad space and clicks is not only inefficient, it’s incredibly expensive and just isn’t worth it over the life of a website. So let’s cover a few basic things that will help raise your rank in those all important search engine results.</p>
<p>The first thing is keyword placement. When someone types a word in a search box, one of the things your website is found by is your keyword density. What is keyword density? It’s how many times the keyword is used on your page. This is where things can get confusing, you can´t just stick a keyword anywhere. It has to make sense.</p>
<p>Let’s say you sell jewelry and that you specialize in titanium rings. To increase your rank and ensure that you are found, you should mention the phrase, “titanium ring” wherever plausible. Search engines aren’t stupid, you can´t cheat by writing a keyword or phrase randomly over and over or hiding it by making the font the same color as the background. That will get your website banned. Repeating the keyword or phrase out of context with the rest of your page will make things seem unnatural to your website visitors. So it’s important to find a balance. Place your keywords carefully and try to use them only every few sentences or once a paragraph.</p>
<p>Another great way to raise your ranks in search engines is to have other websites link to you. Linking to your own webpage from your own webpage won’t work because search engines determine how important or popular your website is by seeing how many other sites link to it. One of the easiest and best ways to get links is by visiting forums. Simply place the URL for your website in your signature line, this way you are never directly promoting your website which is a violation on many forums.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devmage.com/web-development/effective-ways-to-drive-traffic-to-your-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Simplest Search Engine Optimization Method</title>
		<link>http://www.devmage.com/web-development/the-simplest-search-engine-optimization-method/</link>
		<comments>http://www.devmage.com/web-development/the-simplest-search-engine-optimization-method/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 14:28:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.devmage.com/?p=21</guid>
		<description><![CDATA[Having a website is only the first step in online business. The real challenge is to drive traffic to your website so that your business can run well. There are many things that you can do to drive traffic to your website. If you have large marketing budget, you can simply use PPC (Pay per Click) ads or other similar advertising methods. But if you have very low budget or even no budget at all, you have to find a... <a href="http://www.devmage.com/web-development/the-simplest-search-engine-optimization-method/">Read more >></a>]]></description>
			<content:encoded><![CDATA[<p>Having a website is only the first step in online business. The real challenge is to drive traffic to your website so that your business can run well. There are many things that you can do to drive traffic to your website. If you have large marketing budget, you can simply use PPC (Pay per Click) ads or other similar advertising methods. But if you have very low budget or even no budget at all, you have to find a good way to promote your website at minimum cost.</p>
<p>If you can’t afford to “purchase” traffic through PPC ads or other similar advertising methods, you can take advantage of the search engines to drive traffic to your website. Internet users are using the search engines to find information, so that if your website can appear in the search result pages, preferably in top position, you will get visitors to your website, which is called organic traffic.</p>
<p>Almost all of the websites on the web are trying to get organic traffic, so that the competition is really tight. In order to get listed in top position on the search engines’ search result pages, search engine optimization needs to be conducted.</p>
<p>The most basic thing that needs to be done and is always being mentioned in search engine optimization tips is link building. The main idea of link building is to build links to your website. The good thing about link building is the fact that it does not only affect a website´s position in the search result pages, but the promoted website will also get direct click-through traffic from the links. However, link building is not only a matter of getting as many links as possible. There are many things that need to be considered in link building, such as the authority of the websites where you put your link, the niche of the websites, and more.</p>
<p>To get links to your website, you can purchase links, do blog commenting, use online forum signature links, and many more. But still, natural link building is the best way. If you have quality content on your website, people will voluntarily link to your website, and the best part is that you don’t have to pay for those permanent links.</p>
<p>If you really want to get higher rankings for your website, you will need to spend some time to do search engine optimization. Try to find a search engine optimization tutorial and follow all of the steps properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devmage.com/web-development/the-simplest-search-engine-optimization-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

