<?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>Coyne Technology Systems &#187; Web Site</title>
	<atom:link href="http://blog.coynetechsystems.com/topics/web-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.coynetechsystems.com</link>
	<description>The Technology Station</description>
	<lastBuildDate>Wed, 21 Sep 2011 16:40:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Implementation of SEO Friendly URLs With PHP &#8211; Part 1</title>
		<link>http://blog.coynetechsystems.com/web-site/implementation-of-seo-friendly-urls-with-php-part-325/</link>
		<comments>http://blog.coynetechsystems.com/web-site/implementation-of-seo-friendly-urls-with-php-part-325/#comments</comments>
		<pubDate>Wed, 11 May 2011 21:18:32 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Web Site]]></category>
		<category><![CDATA[duplicate content]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google webmaster]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[seo friendly]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://blog.coynetechsystems.com/?p=325</guid>
		<description><![CDATA[Just about all the information you can read on Search Engine Optimization (SEO) with regard to urls being SEO friendly includes discussions on using them, however if you are not using a Content Management System (CMS) to implement them, you may be doing yourself more harm than good.  This two-part article discusses how to implement SEO urls [...]]]></description>
			<content:encoded><![CDATA[<p>Just about all the information you can read on Search Engine Optimization (SEO) with regard to urls being SEO friendly includes discussions on using them, however if you are not using a Content Management System (CMS) to implement them, you may be doing yourself more harm than good.  This two-part article discusses how to implement SEO urls in your website if you are building your site from the ground up.  Part 1 discusses the rational behind the article and Part -2 walks through an example of a webpage that lists news articles and shows individual articles within the site utilizing SEO friendly URLS.  It also discusses the .htaccess file changes that would need to be made to ensure there is only one version of the url availble to web browsers and automatic robots.</p>
<p><span id="more-325"></span></p>
<p>The genisis of this article is that one of our clients had a well established website where they were generating dynamic pages in PHP which also generated a sitemap and submitted it to their <a title="Google Webmasters" href="http://www.google.com/webmasters" target="_blank">Google Webmaster </a>account upon change.  The sitemap contained well over 1000 URLs and was correctly read in Google Webmasters as having the correct number of submitted URLs, however Google Webmasters showed only 200 files in the Index for that sitemap.  This of course conflicted with any site search on Google Search which showed results of over 1000!  So Google Search knew about over 1000 pages, but was not attributing them to being the links in the sitemap, a definate head scratcher!</p>
<p>In examining their implementation it was determined that the client had taken a short cut in implenting their list of news articles.  Instead of printing out links to individual articles in the SEO friendly manner, their URLs were pointing to a non-SEO friendly page.  The links on their page pointed to:</p>
<p><code>http://www.example.com/news.php?article_id=2</code></p>
<p>instead of:</p>
<p><code>http://www.example.com/news/this-is-a-fantastic-article/</code></p>
<p>However, the sitemap contained the second version.</p>
<p>The problem with this is that Google has robots that crawl the site to find content in addtion to any sitemaps that are provided.  By using the first version on their site, Google searched the site and found the non-SEO friendly version.  They created duplicate content in the search engine&#8217;s eyes by having two urls that pointed to the exact same content and through the mystery that is Google&#8217;s back end processing, selected the unintended version.   What they really needed to do is be consistent and use the second version everywhere they have a link to that article, which is sometimes can be easier said than done.   You must ensure that your content always uses the SEO friendly URL (RSS feeds, backlinks, internal links, etc.) that way you will not get penalized for duplicate content.</p>
<p>In this instance we changed the URLs sitewide and made them all use the SEO friendly version and the client was able to increase their Indexed URL count from the sitemap to a number much closer to the number of URLs submitted in the Google Webmaster Tools.</p>
<p>In Part 2 of this article, we will implement a database driven news feed that generates and utilizes SEO friendly URLs for a website.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.coynetechsystems.com/web-site/implementation-of-seo-friendly-urls-with-php-part-325/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pitfalls of using Cron and PHP</title>
		<link>http://blog.coynetechsystems.com/web-site/pitfalls-of-using-cron-and-php-287/</link>
		<comments>http://blog.coynetechsystems.com/web-site/pitfalls-of-using-cron-and-php-287/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 04:10:02 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Web Site]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cron-job]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[pitfalls]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.coynetechsystems.com/blog/?p=287</guid>
		<description><![CDATA[Cron is a essential website tool to automate tasks on your website. Cron is a process that runs on the same server as your webserver that allows you to run scripts at specific times and dates such as once a month, once a week, every 20 minutes or the 4th day of November at 2pm. [...]]]></description>
			<content:encoded><![CDATA[<p>Cron is a essential website tool to automate tasks on your website. Cron is a process that runs on the same server as your webserver that allows you to run scripts at specific times and dates such as once a month, once a week, every 20 minutes or the 4th day of November at 2pm. So you spend some time developing your cron PHP scrip and you believe the script is setup correctly to run, you wait for the time it is expected to run and&#8230;NOTHING! Now what?<span id="more-287"></span></p>
<p>One of the main items to keep in mind when using cron jobs is that the executable that runs your cron jobs is a <strong>separate process</strong> than the webserver. This means that the &#8220;standard&#8221; webserver variables are not available to the cron script.</p>
<p>Using variables such as $_SERVER[SELF] are generated by the WEBSERVER, but a running cron job is run from the CRON DAEMON so these variables will not represent what you may be expecting from the webserver.</p>
<p>If your webserver supports .htaccess files, they are checked for for the configuration before the webserver serves up your page. You can make changes to the php configuration within the .htaccess files by setting the options there. Again, if you make changes to the php configuration within the WEBSERVER, they will not be available to the running cron job. You must explicitly make the changes witin the php file or from within a config file that is passed as a parameter to the php process that cron runs.</p>
<p>If you keep in mind that the cron daemon is separate than your webserver, you can avoid some easy to overlook common pitfalls of using cron jobs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.coynetechsystems.com/web-site/pitfalls-of-using-cron-and-php-287/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building A Comprehensive Sitemap for SEO</title>
		<link>http://blog.coynetechsystems.com/web-site/building-a-comprehensive-sitemap-for-seo-160/</link>
		<comments>http://blog.coynetechsystems.com/web-site/building-a-comprehensive-sitemap-for-seo-160/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 17:22:47 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[Web Site]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[sitemap]]></category>

		<guid isPermaLink="false">http://www.coynetechsystems.com/blog/?p=160</guid>
		<description><![CDATA[An XML sitemap file is essential to having search engines correctly find the files in your site. Maintaining a sitemap file can be almost as challenging as keeping your site up to date. In this article we describe a sitemap index file and how to logically layout your site to be more Search Engine Friendly [...]]]></description>
			<content:encoded><![CDATA[<p>An XML sitemap file is essential to having search engines correctly find the files in your site.  Maintaining a sitemap file can be almost as challenging as keeping your site up to date.  In this article we describe a sitemap index file and how to logically layout your site to be more Search Engine Friendly for SEO.<span id="more-160"></span></p>
<p>We are constantly being asked to develop more and more complex sites.  Those that include static pages, blogs, shopping carts, and more.  The advancement of software these days is allowing each of them to create XML sitemap files to define the individual pages of their particular specialty.  WordPress blog software can be loaded with a plug-in to allow it to generate a XML sitemap for example.  If your install of that software is in a subdirectory say &#47;blog&#47; then it will generate it in that directory.  So a site with a Zen Cart installation in the &#47;store&#47; directory can have another sitemap in that directory for its produts.  Using a sitemap index file you can easily allow each piece of software to generate it&#8217;s sitemap and pull them all together into a single file for the search engines to find.</p>
<p>The first thing to do is list out all software that generates a sitemap and where it resides.  In the previous examples lets say we also have some static pages, so what we will have is a sitemap at /blog/sitemap.xml, a sitemap located at &#47;store&#47;sitemap.xml and a root sitemap at &#47;sitemap.xml.  The first thing to do is rename the &#47;sitemap.xml to something say &#47;sitemap_static.xml.</p>
<p>Now create a new text file called &#47;sitemap.xml.  This file will also be XML in the same manner as the sitemaps, but it will list each of the other sitemaps.  The first line in the file will be the tag to indicate that it is XML and its encoding:</p>
<p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</code></p>
<p>The next line states that it is a sitemap index and the particular schema it adheres to:</p>
<p><code>&lt;sitemapindex xmlns="http:&#47;&#47;www.sitemaps.org&#47;schemas&#47;sitemap&#47;0.9"></code></p>
<p>Now add a sitemap entry for each sub-sitemap that you have giving it a location and a last modified time:</p>
<p><code>&lt;sitemap&gt;&lt;loc&gt;http:&#47;&#47;www.example.net&#47;sitemap_static.xml&lt;&#47;loc&gt;&lt;lastmod&gt;2009-11-12&lt;&#47;lastmod&gt;&lt;&#47;sitemap&gt;<br />
&lt;sitemap&gt;&lt;loc&gt;http:&#47;&#47;www.example.net&#47;blog&#47;sitemap.xml&lt;&#47;loc&gt;&lt;lastmod&gt;2009-11-10&lt;&#47;lastmod&gt;&lt;&#47;sitemap&gt;<br />
&lt;sitemap&gt;&lt;loc&gt;http:&#47;&#47;www.example.net&#47;store&#47;sitemap.xml&lt;&#47;loc&gt;&lt;astmod&gt;2009-11-15&lt;&#47;lastmod&gt;&lt;&#47;sitemap&gt;</code></p>
<p>Don&#8217;t forget to close out your sitemap index tags:</p>
<p><code>&lt;&#47;sitemapindex&gt;</code></p>
<p>Now when you make chages to only a portion of your site, you can either submit only the sitemap of the portion that changed to the search engines or the index file and let them determine what has changed.  So if you write a new blog entry, and your &#47;blog&#47;sitemap.xml file is updated, you can either resubmit just the &#47;blog&#47;sitemap.xml or &#47;sitemap.xml.  Don&#8217;t forget to change the lastmod time in your index file when changes are made to the sub-sitemap files.</p>
<p>Put a line in your robots.txt to point to your sitemap index file.  This will allow search engine spiders to find the files in your site.  You may have submitted your site to a number of search engines, but that one that you left out may still eventually find your site and when it does, the first thing it will look at is the robots.txt file and see your sitemap index.  The format for the robots.txt file to include a sitemap is:</p>
<p>Sitemap: http:&#47;&#47;www.example.com&#47;sitemap.xml</p>
<p>This will tell all the search engines where your index file is and once they read it, they will find that it is an index and pull in all the sub sitemaps making your site much more search engine optimized  (SEO)!</p>
<p>For more information on sitemaps, see <a href="http://www.sitemaps.org">http://www.sitemaps.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.coynetechsystems.com/web-site/building-a-comprehensive-sitemap-for-seo-160/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

