<?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>Internet Marketing News and Tips &#187; Design and Development</title>
	<atom:link href="http://www.whatniche.com/category/design-and-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.whatniche.com</link>
	<description>Internet Marketing Made Simple with Expert Tips from an Online Entrepreneur</description>
	<lastBuildDate>Sun, 29 Jan 2012 17:42:24 +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>14 Amazing WordPress SQL Queries</title>
		<link>http://www.whatniche.com/14-amazing-wordpress-sql-queries</link>
		<comments>http://www.whatniche.com/14-amazing-wordpress-sql-queries#comments</comments>
		<pubDate>Thu, 24 Feb 2011 12:29:13 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Design and Development]]></category>
		<category><![CDATA[SQL Queries]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.whatniche.com/?p=758</guid>
		<description><![CDATA[Maintaining your WordPress Blog can be a labouring task if you are looking for fields manually in your database and it&#8217;s almost impossible if your blog has 1000&#8242;s of posts. Redundant data takes up space in your database and can also slow down your website! For example, i have a blog with 30,000 daily visitors and over [...]]]></description>
			<content:encoded><![CDATA[<p>Maintaining your WordPress Blog can be a labouring task if you are looking for fields manually in your database and it&#8217;s almost impossible if your blog has 1000&#8242;s of posts. Redundant data takes up space in your database and can also slow down your website!</p>
<p>For example, i have a blog with 30,000 daily visitors and over 40,000 posts and in order to maintain that blog i have to run certain queries on a weekly basis to ensure my database is not overloaded with useless data as WordPress has many long slow queries when posting which require full table scans and the smaller your database the faster it will run.</p>
<h2>Backup Your Database</h2>
<p>Before you run any SQL Queries on your Database it is 100% recommended that you <strong>make a backup!</strong></p>
<p>You can backup your database with WordPress Plugins such as <a rel="nofollow" target="_blank" title="Wordpress Database Manager" href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">WP-DBManager</a> and <a rel="nofollow" target="_blank" title="Wordpress Database Backup" href="http://wordpress.org/extend/plugins/wp-db-backup/" target="_blank">WP-DB-Backup</a> or through phpMyAdmin directly.</p>
<p>If you decide to backup your WordPress database manually, follow these steps:</p>
<ol>
<li>Login to your <strong>phpMyAdmin</strong>.</li>
<li>Select your <strong>WordPress database</strong>.</li>
<li>Click on <strong>Export</strong> at the top of the navigation.</li>
<li>Select the tables you want to backup, or select all tables to backup the whole database.</li>
<li>Select <strong>SQL</strong> to export as .sql extension.</li>
<li>Check the &#8220;<strong>Save as file</strong>&#8221; checkbox.</li>
<li>Choose compression type, select <strong>gzipped</strong> to compress the database to a smaller size.</li>
<li>Finally click Go, and a download window will prompt you to save your backup database file.</li>
</ol>
<h2>14 WordPress SQL Queries</h2>
<p>In order to run any of these SQL Queries you need access to phpMyAdmin or you can use <a rel="nofollow" target="_blank" title="Wordpress SQL Executioner" href="http://justinsomnia.org/2008/02/the-wordpress-sql-executioner/" target="_blank">WordPress SQL Executioner</a> which allows you to run SQL Queries on your database through WordPress.</p>
<p>In no particular order&#8230;</p>
<h3>1. Change Your Website URL and Home URL</h3>
<p>WordPress stores your Website URL and HOME URL in the database to set an absolute path, if for example you are changing domain names you will need to alter these fields and you can do this with an SQL Query.</p>
<pre class="brush: sql;">UPDATE wp_options SET option_value = replace(option_value, 'http://www.originalsiteurl.com', 'http://www.newsiteurl.com') WHERE option_name = 'home' OR option_name = 'siteurl';</pre>
<h3>2. Change your Website GUID</h3>
<p>If you are moving your Blog to a new domain you will need to update the GUID field in wp_posts. This is a crucial change as it sets the absolute path for your posts and pages.</p>
<pre class="brush: sql;">UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.originalsiteurl.com', 'http://www.newsiteurl.com');</pre>
<h3>3. Change Domain URL in Content</h3>
<p>If you are changing domains then the chances are your posts will contain URLs for your old domain but not to worry, you can change all those URLs with this query.</p>
<pre class="brush: sql;">UPDATE wp_posts SET post_content = REPLACE (post_content, 'http://www.originalsiteurl.com', 'http://www.newsiteurl.com');</pre>
<h3>4. Change Your WordPress Password</h3>
<p>Forgetting a Password is very common and can be quite frustrating but you can soon change your WordPress Password with a simple query. This query also turns your password into a MD5 hash which offers better protection. You can also change the password for other users on your blog, just replace &#8220;admin&#8221; with their username.</p>
<pre class="brush: sql;">UPDATE 'wp_users' SET 'user_pass' = MD5('PASSWORD') WHERE 'user_login' ='admin'</pre>
<h3>5. Batch Delete Spam Comments</h3>
<p>Spam comments can be an absolute nightmare on your blog especially if you are on holiday for example and you come back to find 100&#8242;s of random comments. You can delete all of these unapproved comments with a simple query.</p>
<pre class="brush: sql;">DELETE from wp_comments WHERE comment_approved = '0';</pre>
<h3>6. Batch Delete Posts</h3>
<p>On my most popular blog i had 40,000 posts where at least 15,000 were old and pointless now so i had to remove them, if i were to do this manually it would take all day but luckily there is a query. Please take care when entering the dates replacing &#8220;2010-01-01&#8243;, once posts re deleted you can&#8217;t get them back unless you have a database backup!</p>
<pre class="brush: sql;">DELETE FROM wp_posts WHERE post_date &lt; '2010-01-01 19:18:00' AND post_status = 'publish'</pre>
<h3>7. Delete Redundant Tags</h3>
<p>If you have lots of tags that aren&#8217;t linked to any posts e.g after you have deleted posts, then you can remove all non-linked tags with this query. Simply replace &#8220;database_name&#8221; with the name of your database and then run the query.</p>
<pre class="brush: sql;">DELETE a,c
FROM
	database_name.wp_terms AS a
	LEFT JOIN database_name.wp_term_taxonomy AS c ON a.term_id = c.term_id
	LEFT JOIN database_name.wp_term_relationships AS b ON b.term_taxonomy_id = c.term_taxonomy_id
WHERE (
	c.taxonomy = 'post_tag' AND
	c.count = 0
	)</pre>
<h3>8. Delete Redundant Post Meta</h3>
<p>Data related to posts can take up a lot of space in your database from plugins such as Post Ratings, Post Views etc, but once you delete a post that Post Meta is still stored in the database taking up space, use the following query to remove this useless data.</p>
<pre class="brush: sql;">DELETE pm

FROM wp_postmeta pm

LEFT JOIN wp_posts wp ON wp.ID = pm.post_id

WHERE wp.ID IS NULL</pre>
<h3>9. Disable All Plugins At Once</h3>
<p>If for some reason you need to disable all your WordPress Plugins then the following query is for you.</p>
<pre class="brush: sql;">UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';</pre>
<h3>10. Disable Comments On Old Posts</h3>
<p>If you run a blog like this one where you like to communicate with your posters on recent posts and struggle to find time to reply to comments on your old posts then you can use this query to disable comments on posts before a certain period. Simply replace 2009-01-01 with a preferred date.</p>
<pre class="brush: sql;">UPDATE wp_posts SET comment_status = 'closed' WHERE post_date &lt; '2009-01-01' AND post_status = 'publish';</pre>
<h3>11. Delete Comments With A Specific URL</h3>
<p>If you have spam comments that all contain the same URL then this query allows you to remove them in one go. The following query will delete all comments with a specific url. The “%” signs means that any url containing the string within the % signs will be deleted.</p>
<pre class="brush: sql;">DELETE from wp_comments WHERE comment_author_url LIKE "%wpbeginner%" ;</pre>
<h3>12. Transfer Posts from User A to User B</h3>
<p>If you have different posters on your blog and they decide to leave, you can simply remove all their posts to another account (ie yours) with this query. You will need the IDs of both the old and new author to do this.</p>
<pre class="brush: sql;">UPDATE wp_posts SET post_author=NEW_AUTHOR_ID WHERE post_author=OLD_AUTHOR_ID;</pre>
<h3>13. Export All Commentors Emails Without Duplicates</h3>
<p>Over time your blog with get comments and from these comments WordPress stores the emails which you can export for email campaigns. Once you have the result, under Query results operations, select export to export all the emails in phpMyAdmin.</p>
<pre class="brush: sql;">SELECT DISTINCT comment_author_email FROM wp_comments;</pre>
<h3>14. Delete Pingbacks</h3>
<p>Some of your popular articles will get many pingbacks and these can take up space in your database, you can delete all the records with this query.</p>
<pre class="brush: sql;">DELETE FROM wp_comments WHERE comment_type = 'pingback';</pre>
<p></p>
<h2>Start Tidying Your Blog Today!</h2>
<p>I can&#8217;t tell you how many times these SQL Queries have saved me in the past on some of my larger blogs so enjoy!</p>
<p>Nick</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatniche.com/14-amazing-wordpress-sql-queries/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How Important is a Website Colour Scheme?</title>
		<link>http://www.whatniche.com/how-important-is-a-website-colour-scheme</link>
		<comments>http://www.whatniche.com/how-important-is-a-website-colour-scheme#comments</comments>
		<pubDate>Wed, 29 Sep 2010 10:26:22 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Design and Development]]></category>
		<category><![CDATA[Colour Scheme]]></category>

		<guid isPermaLink="false">http://www.whatniche.com/?p=586</guid>
		<description><![CDATA[The colour scheme for your website can be very important and can drastically affect conversions. Colour is particularly prominent on a website as it provides the first impression to the user. The correct colours can create a good user experience, while incorrect colours can have a bad impact. In order to create a good website, [...]]]></description>
			<content:encoded><![CDATA[<p>The colour scheme for your website can be very important and can drastically affect conversions. Colour is particularly prominent on a website as it provides the first impression to the user. The correct colours can create a good user experience, while incorrect colours can have a bad impact.</p>
<p>In order to create a good website, you need to know what affect colours can have on people. People subconsciously react to colours &amp; associate them with different emotions and feelings. Colours don&#8217;t just stir up emotions &amp; feelings that might influence how a site is seen but they can also be cleverly used to direct users to specific sections of your site.</p>
<p>Every single colour that you can possibly think of is used on the internet these days, which means that picking the right colours can be a mammoth task. Here is a swift summary of how some colours can provoke certain reactions.</p>
<p><strong><span style="color: #008000;">Green</span></strong> is linked with nature, peace and jealousy. It is also a truly relaxing colour and is perfect to use for a relaxing effect. The colour white stirs up feelings of purity, simplicity, emptiness and innocence. If used as the main colour of a site, it creates a clean and simple feel. Green is linked to organic, nature and relaxation. The paler end of the green spectrum can be used to give a site a relaxed feel.</p>
<p><strong><span style="color: #3366ff;">Blue</span></strong> is most commonly associated with business sites as it&#8217;s a strong colour that&#8217;s associated with confidence, coldness, depression, water and peace. The colour blue is linked with confidence, loyalty and coolness. It&#8217;s the best-known colour in the world and it&#8217;s used by many companies to create a feeling of strength &amp; confidence.</p>
<p><strong>Black</strong> is linked to feelings of mystery and refinement. An extremely popular colour in design and photo web sites, it can be used effectively to contrast and liven up other colours.</p>
<p><strong><span style="color: #808080;">Grey</span></strong> can be associated with respect, humility, decay and boredom. It&#8217;s used a lot to form shiny gradients in website design to give a professional, ordinary feel to a site.</p>
<p><strong><span style="color: #ff6600;">Orange</span></strong> is strongly associated with spirituality and healing. It&#8217;s the colour that symbolizes Buddhism and it has a calming energy about it. It&#8217;s a bold colour that is not as lively as yellow but not as deep as red. Full of energy, vibrancy and stimulation, orange is a fantastic colour to use in designing web-sites. It is used to bring youthfulness to a design.</p>
<p>Darker shades of <strong><span style="color: #331f50;">Purple</span></strong> can be very deep and luscious. It is linked to royalty, spirituality, arrogance and luxury. Lighter shades can represent romance and delicacy. It&#8217;s a colour that&#8217;s not really used much on sites.</p>
<p>With this in mind i used the following colour scheme for my new Free Dating Website</p>
<p><a href="http://www.whatniche.com/wp-content/uploads/wnft.jpg"><img class="alignnone size-medium wp-image-588" title="FoxyTime Colour Scheme" src="http://www.whatniche.com/wp-content/uploads/wnft-300x208.jpg" alt="wnft 300x208 How Important is a Website Colour Scheme?" width="300" height="208" /></a></p>
<p>The colour&#8217;s role is not just to make your website look good; it can encourage feelings &amp; emotions from the audience. Choosing colours that annoy the end user can have damaging effects on your website, while cleverly selecting can mean that the website meets user expectation.</p>
<p>Something for you to think about on your next website perhaps? <img src='http://www.whatniche.com/wp-includes/images/smilies/icon_smile.gif' alt="icon smile How Important is a Website Colour Scheme?" class='wp-smiley' title="How Important is a Website Colour Scheme?" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatniche.com/how-important-is-a-website-colour-scheme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How a Website Design Affects Conversions</title>
		<link>http://www.whatniche.com/how-a-website-design-affects-conversions</link>
		<comments>http://www.whatniche.com/how-a-website-design-affects-conversions#comments</comments>
		<pubDate>Sat, 17 Apr 2010 11:29:25 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Design and Development]]></category>
		<category><![CDATA[Call to Action]]></category>
		<category><![CDATA[Conversions]]></category>
		<category><![CDATA[Information Overload]]></category>
		<category><![CDATA[Simple Navigation]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.whatniche.com/?p=241</guid>
		<description><![CDATA[A Website Design can dramatically affect your Conversions. The conversion rate on your website is a clear indication whether your site design is effective or not. I have seen a dramatic increase in conversions from the most simple of changes to my Pitch and/or layout. It is very important that you monitor your web sites [...]]]></description>
			<content:encoded><![CDATA[<p>A <a title="Website Design" href="http://www.whatniche.com/category/design-and-development/site-design">Website Design</a> can dramatically affect your Conversions.</p>
<p>The conversion rate on your website is a clear indication whether your site design is effective or not. I have seen a dramatic increase in conversions from the most simple of changes to my Pitch and/or layout. It is very important that you monitor your web sites conversion rate as you will be able to compare results on changes.</p>
<h3>Unknown Purpose</h3>
<p>As soon as a vistor lands on your site, he or she should know exactly what the intention of the web site or service is. If your website is too complex, a reader will often search for something and tend to click away from the page before spending time to find it. After all any new visitor on a web site is generally lazy and if they dont get what they were looking for in the first few minutes they will leave.</p>
<h3>INFORMATION OVERLOAD</h3>
<p>I would say that information overload is probably the biggest turnoff for an average web user. If you have lots of links and annoying font sizes then this will tend to overwhelm a reader and make it very difficult for them to find a specific bit of information.</p>
<p>Make sure you have adequate line spacing and choose an easily readable font such as Arial. Break up text with clear concise headings and plenty of visual space, pictures are great and help divide a wall of text which is frankly hard to read and digest.</p>
<h3>Call to Action</h3>
<p>Getting a visitor to take an action will ensure that your website name remains comfortably in their memory. Your call to action link should be easily seen as soon as a visitor lands on your main page. Whether you are using a call to action to sell this reader something or simply requesting their email for a newsletter. This call to action should literally be in view as soon as anyone lands on your website.</p>
<h3>Simple Navigation</h3>
<p>If you provide a simple Navigation Menu it will make browsing your website so much easier and will help your visitors find what they are looking for. I recommend creating sub-categories as this will help your visitors find very specific areas of your website that are of interest.</p>
<p>Taking time to make these simple alterations on your web site can significantly increase conversions which means more money in your pocket for the same amount of work.</p>
<p>I remember simply changing the colour of one of my larger websites increased conversions by no less than <strong>20%</strong>, trust me little changes can make a huge difference.</p>
<p>Nick</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatniche.com/how-a-website-design-affects-conversions/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress to vBulletin Automatic Poster Plugin</title>
		<link>http://www.whatniche.com/wordpress-to-vbulletin-automatic-poster-plugin</link>
		<comments>http://www.whatniche.com/wordpress-to-vbulletin-automatic-poster-plugin#comments</comments>
		<pubDate>Mon, 12 Apr 2010 19:23:50 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Design and Development]]></category>
		<category><![CDATA[Inbound Link]]></category>
		<category><![CDATA[vBulletin]]></category>
		<category><![CDATA[Wordpress Plugin]]></category>
		<category><![CDATA[Wordpress to vBulletin Plugin]]></category>

		<guid isPermaLink="false">http://www.whatniche.com/?p=142</guid>
		<description><![CDATA[Our Head Coder James has just completed our First WordPress Plugin which is now live on the WordPress Plugin Directory. This WordPress to vBulletin Plugin is soo easy to use, simply upload to your Plugins folder, Activate and then you should see something similar to this&#8230; WordPress to vBulletin Poster: Forum User &#8211; Simply enter [...]]]></description>
			<content:encoded><![CDATA[<p>Our Head Coder <a rel="nofollow" target="_blank" title="WhatNiche Head Coder" href="http://forums.whatniche.com/member.php?u=2" target="_blank">James</a> has just completed our First <a rel="nofollow" target="_blank" title="Wordpress Plugin" href="/wordpress-to-vbulletin-automatic-poster-plugin">WordPress Plugin</a> which is now live on the <a rel="nofollow" target="_blank" title="Wordpress Plugin Directory" href="http://wordpress.org/extend/plugins/" target="_blank">WordPress Plugin Directory</a>.</p>
<p>This <a rel="nofollow" target="_blank" title="Wordpress to vBulletin Plugin" href="http://wordpress.org/extend/plugins/wordpress-vbulletin-threads/" target="_blank">WordPress to vBulletin Plugin</a> is soo easy to use, simply upload to your Plugins folder, Activate and then you should see something similar to this&#8230;</p>
<h3>WordPress to vBulletin Poster:</h3>
<p><a href="http://www.whatniche.com/wp-content/uploads/wpvbt-1.png"><img class="alignnone size-thumbnail wp-image-148" title="Wordpress to vBulletin Poster Plugin" src="http://www.whatniche.com/wp-content/uploads/wpvbt-1-150x150.png" alt="wpvbt 1 150x150 Wordpress to vBulletin Automatic Poster Plugin" width="150" height="150" /></a></p>
<p>Forum User &#8211; Simply enter the ID Number of the Forum Username you wish to use, i recommend you create a new user just for this Automatic Posting Role.<br />
Categories &#8211; *:38 means that All Categories in WordPress are selected and the Plugin posts all your WordPress posts to Forum ID 38<br />
Post Template &#8211; Simply BBCode used here to adjust how you want your vBulletin Post to look, make it short and snappy.</p>
<p><strong>An Example of how your vBulletin post will look:</strong></p>
<p><a href="http://www.whatniche.com/wp-content/uploads/wpvbt-2.png"><img class="alignnone size-thumbnail wp-image-149" title="vBulletin Post Example" src="http://www.whatniche.com/wp-content/uploads/wpvbt-2-150x150.png" alt="wpvbt 2 150x150 Wordpress to vBulletin Automatic Poster Plugin" width="150" height="150" /></a></p>
<p>The great thing about this Plugin is by Automatically posting on vBulletin you are creating an <a rel="nofollow" target="_blank" title="Inbound Link" href="/tag/inbound-link">Inbound Link</a> to your WordPress Post which Google will reward you for.</p>
<p><a rel="nofollow" target="_blank" href="http://wordpress.org/extend/plugins/wordpress-vbulletin-threads/" target="_blank"><strong>Download this Plugin</strong></a></p>
<p>We hope you enjoy the plugin as much as we do!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatniche.com/wordpress-to-vbulletin-automatic-poster-plugin/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

