<?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>Tech Blog &#187; wordpress</title>
	<atom:link href="http://ittrainingexpert.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://ittrainingexpert.com</link>
	<description>My Tech Journeys</description>
	<lastBuildDate>Wed, 13 Oct 2010 23:02:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress Error #1062 &#8211; Duplicate entry &#8217;1&#8242; for key &#8216;id&#8217;</title>
		<link>http://ittrainingexpert.com/2010/01/wordpress-error-1062-duplicate-entry-1-for-key-id/</link>
		<comments>http://ittrainingexpert.com/2010/01/wordpress-error-1062-duplicate-entry-1-for-key-id/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 06:06:00 +0000</pubDate>
		<dc:creator>expert</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ittrainingexpert.com/2010/01/wordpress-error-1062-duplicate-entry-1-for-key-id/</guid>
		<description><![CDATA[I came across this error when I was trying to import an sql file to transfer a wordpress based site. The story is that I bought a site and the seller gave me a dump of the mySQL database for the site. I had to import this to my hosting account. So I created a [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this error when I was trying to import an sql file to transfer a wordpress based site. The story is that I bought a site and the seller gave me a dump of the mySQL database for the site. I had to import this to my hosting account. So I created a installation of WordPress on my hosting account using Fantastico and accessed the specific database for the new site. </p>
<p>&#160;</p>
<p>The process is a bit tricky because you do not want to mess your other databases in the hosting account because that can destroy your other sites ! </p>
<p>I thought it will be a simple matter to import the file but as always sql never works without giving errors.</p>
<p>During the import of sql (through phpmyadmin), I kept getting the following error,</p>
<p>&#160;</p>
<p>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</p>
<p>SQL query:</p>
<p>&#8211;</p>
<p>&#8211; Dumping data for table `wp_flickr_post`</p>
<p>&#8211;</p>
<p>INSERT INTO `wp_flickr_post` ( `uid` , `name` , `value` )</p>
<p>VALUES ( 1, &#8216;commercial_only&#8217;, &#8217;1&#8242; ) , ( 2, &#8216;legacy_support&#8217;, &#8217;1&#8242; ) ;</p>
<p>MySQL said:</p>
<p><strong>#1062 &#8211; Duplicate entry &#8217;1&#8242; for key &#8216;id&#8217;</strong></p>
<p>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</p>
<p>&#160;</p>
<p>OK so how did I fix this ?</p>
<p>Simple, </p>
<p><strong>Dropped all the tables inside the database so that I had an empty database and nothing else. </strong></p>
<p><strong>Then I tried to import the sql file and it went very smoothly without any problems. </strong></p>
<p>&#160;</p>
<p>So the lesson I learnt was that If I am importing an sql file, especially to setup a new site or to move a site, then I should always remove all the tables within the newly created database and then do a fresh import.</p>
<p>It really helps if you know at least the basic SQL commands because then you will be more confident to troubleshoot. After all the SQL dump of the site that you get in a .sql file is nothing but SQL statements.</p>
<p>As always if you have any question as always leave a message below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ittrainingexpert.com/2010/01/wordpress-error-1062-duplicate-entry-1-for-key-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>301 redirect WordPress</title>
		<link>http://ittrainingexpert.com/2010/01/301-redirect-wordpress/</link>
		<comments>http://ittrainingexpert.com/2010/01/301-redirect-wordpress/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 05:49:00 +0000</pubDate>
		<dc:creator>expert</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ittrainingexpert.com/2010/01/301-redirect-wordpress/</guid>
		<description><![CDATA[Sometime WordPress can be very annoying and mess up all you SEO efforts. For example it can include a /tag/within your URL. So the URL you get is www.yoursite.com/tag/keyword What you actually wanted was www.yoursite.com/keyword &#160; Because this would be better for SEO purposes and the Search Engines like Google would prefer this format and [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime WordPress can be very annoying and mess up all you SEO efforts. For example it can include a /tag/within your URL. So the URL you get is </p>
<p><a href="http://www.yoursite.com/tag/keyword">www.yoursite.com/tag/keyword</a></p>
<p>What you actually wanted was </p>
<p><a href="http://www.yoursite.com/keyword">www.yoursite.com/keyword</a></p>
<p>&#160;</p>
<p>Because this would be better for SEO purposes and the Search Engines like Google would prefer this format and rank you higher. </p>
<p>Another problem with this is that the same page is reachable through both urls above, so there is a chance that the search engines might get the wrong idea and think that you have duplicate content on your site ! This is simply not good for your site as far as search engine traffic is concerned.</p>
<p>&#160;</p>
<p>The solution to fix this problem is to use “<strong>Redirection</strong>” [<a href="http://urbangiraffe.com/plugins/redirection/">http://urbangiraffe.com/plugins/redirection/</a>] which is a WordPress plugin to manage 301 redirections. With a 301 redirect the search engine bots will be forwarded to the correct format of the URL so you can avoid any duplicate content issues as well.</p>
<p>&#160;</p>
<p>OK so this is how I fixed it ….</p>
<p>&#160;</p>
<p>Redirect Tag pages   <br />==================    <br />/tag/(.*) =&gt; /$1 </p>
<p>This will match any URL that starts with /tag/, and will redirect it to the same URL but without /tag/. For example, </p>
<p> <a title="http://onlinembadegreeprogram.co.uk/tag/university-of-maryland-university-college-umuc-business-administration-mba-degree/&#13;&#10;" href="http://onlinembadegreeprogram.co.uk/tag/university-of-maryland-university-college-umuc-business-administration-mba-degree/">http://onlinembadegreeprogram.co.uk/tag/university-of-maryland-university-college-umuc-business-administration-mba-degree/   <br /></a>
<p>&#160;</p>
<p>will be redirected to a URL without the /tag/</p>
<p><a title="http://onlinembadegreeprogram.co.uk/tag/university-of-maryland-university-college-umuc-business-administration-mba-degree/&#13;&#10;" href="http://onlinembadegreeprogram.co.uk/university-of-maryland-university-college-umuc-business-administration-mba-degree/">http://onlinembadegreeprogram.co.uk/university-of-maryland-university-college-umuc-business-administration-mba-degree/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ittrainingexpert.com/2010/01/301-redirect-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Remove /category/ from your WordPress url</title>
		<link>http://ittrainingexpert.com/2010/01/how-to-remove-category-from-your-wordpress-url/</link>
		<comments>http://ittrainingexpert.com/2010/01/how-to-remove-category-from-your-wordpress-url/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 05:35:00 +0000</pubDate>
		<dc:creator>expert</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ittrainingexpert.com/2010/01/how-to-remove-category-from-your-wordpress-url/</guid>
		<description><![CDATA[OK, this is a very annoying issue when you are using wordpress. For SEO purposes you select your perma links to be of a certain format. But once you select the url format it does not use what you selected and keep inserting the actual “Category” name with in the URL.&#160; This is very annoying [...]]]></description>
			<content:encoded><![CDATA[<p>OK, this is a very annoying issue when you are using wordpress. For SEO purposes you select your perma links to be of a certain format. But once you select the url format it does not use what you selected and keep inserting the actual “Category” name with in the URL.&#160; This is very annoying when you are trying to get rid of this category string from the URL.</p>
<p>&#160;</p>
<p>I’ve tried various things including modifying the php files within wordpress but still without any luck until I tried this….</p>
<p>So if you wanted to get rid of this category keyword here is what to do…</p>
<p>&#160;</p>
<p>In the Permalinks options, set the &quot;Custom Structure&quot; to </p>
<p><font color="#ff0000">/%category%/%postname%/</font> </p>
<p>and your &quot;Category Base&quot; to </p>
<p><font color="#ff0000">/. </font></p>
<p><font color="#ff0000"><font color="#ff0000"></font></font></p>
<p><font color="#ff0000"></font></p>
<p><font size="3">By the way if you still have not improved your URL structure for WordPress then I would do it immediately because it is very important for the SEO for your site. For example it is always a good idea to include the keywords that you are targeting within the URL.&#160; Things like the domain name and URL count heavily with search engines when they rank your site for specific keywords.</font></p>
<p><font size="3">Please let me know whether this worked for you, and if you have any suggestions or questions by leaving a comment below.</font></p>
<p><font color="#ff0000"><font color="#ff0000"></font></font></p>
<p><font color="#ff0000">&#160;</font></p>
]]></content:encoded>
			<wfw:commentRss>http://ittrainingexpert.com/2010/01/how-to-remove-category-from-your-wordpress-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Vs Blog which is easier and cheaper</title>
		<link>http://ittrainingexpert.com/2008/04/website-vs-blog-which-is-easier-to-setup-for-internet-income/</link>
		<comments>http://ittrainingexpert.com/2008/04/website-vs-blog-which-is-easier-to-setup-for-internet-income/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 20:58:47 +0000</pubDate>
		<dc:creator>expert</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ittrainingexpert.com/?p=5</guid>
		<description><![CDATA[When you get started on your online, money making journey, there are so many decisions to make. For example you need to decide how to buy a domain name and which domain name to buy etc&#8230;read this if you are still at the domain name buying site setting up deciding state. Once you have climbed [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
When you get started on your online, money making journey, there are so many decisions to make. For example you need to decide how to buy a domain name and which domain name to buy etc&#8230;read this if you are still at the domain name buying site setting up deciding state.<br />
<!--adsense--><br />
Once you have climbed that hurdle, next step is to decide how to set up a site. This stage can be especially intimidating if you are new to technologies like html, php etc.</p>
<h2><span style="text-decoration: underline;"><strong>With a Blog like WordPress &#8230;</strong></span></h2>
<p><!--adsense--><br />
Once of the best shortcuts you can take at this point is to use a Blog (like WordPress). This is a lot more simpler and quicker than trying to setup a site. If select a hosting provider like <a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=alltech" target="_blank">Hostgator</a>, you can setup a wordpress blog with a few simple clicks , and it won&#8217;t take more than 3 minutes.</p>
<p>Once you&#8217;ve done this the next step is to find a nice blog theme from thousands of themes available for free at <a href="http://themes.wordpress.net/" target="_blank">http://themes.wordpress.net/</a><br />
once you have done the above now it&#8217;s a simple matter of logging in to your blog to post content.<br />
As and when you post, wordpress will ping and alert the search engines to visit your site. This is automatic promotion for your site, which helps the blog to get indexed in search engines like google in quick time, faster than a simple website would get listed in Google.<br />
All this is easy, and hassle free !</p>
<h2><span style="text-decoration: underline;"><strong>With a web site &#8230;</strong></span></h2>
<p>you have to go through the hassle of either building the site or paying some one to build a site.<br />
The steps involved are</p>
<ol>
<li> Find a developer</li>
<li> Specify the requirements</li>
<li> pay them (on some projects I am still waiting for the product to be delivered.)</li>
<li> wait for the initial design</li>
<li>etc&#8230;</li>
</ol>
<h2><span style="color: #ff0000;"><strong>So my recommendation is go for a blog and simplify your online journey.</strong></span></h2>
]]></content:encoded>
			<wfw:commentRss>http://ittrainingexpert.com/2008/04/website-vs-blog-which-is-easier-to-setup-for-internet-income/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

