<?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>Tutorial Save</title>
	<atom:link href="http://tutorialsave.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorialsave.com</link>
	<description>So You Can Learn And I Can Remember</description>
	<lastBuildDate>Thu, 25 Apr 2013 00:31:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to fix googletag.defineSlot was called without a matching googletag.display call.</title>
		<link>http://tutorialsave.com/how-to-fix-googletag-defineslot-dfp/</link>
		<comments>http://tutorialsave.com/how-to-fix-googletag-defineslot-dfp/#comments</comments>
		<pubDate>Thu, 25 Apr 2013 00:21:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1287</guid>
		<description><![CDATA[I got this error &#8220;googletag.defineSlot was called without a matching googletag.display call.&#8221; when changing out my Google AdSense tags for DoubleClick for Publishers. I&#8217;m using the Google Publisher Tag (asynchronous) option which requires you to put a block of code in the header of each page and another block into the body. The thing is, I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>I got this error &#8220;googletag.defineSlot was called without a matching googletag.display call.&#8221; when changing out my Google AdSense tags for DoubleClick for Publishers. I&#8217;m using the Google Publisher Tag (asynchronous) option which requires you to put a block of code in the header of each page and another block into the body.</p>
<p>The thing is, I&#8217;ve actually had to put multiple blocks of code into the header of my page since I have three ads per page and the second section of the header code is specific to each ad unit. This is where the problem emerges. Each time you click the &#8220;Generate Tags&#8221; button in DFP the div-gpt-ad-#############-0 number changes&#8230; and this has to match in the header and body blocks of code.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/generate-tags.jpg"><img class="alignnone size-large wp-image-1291" title="generate-tags" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/generate-tags-578x377.jpg" alt="" width="578" height="377" /></a></p>
<p>What happened to me that caused the issue was, I clicked &#8220;generate code&#8221; multiple times and was pasting in different div-gpt-ad-#############-0 numbers in the header js and the body js. These numbers need to match. So I just updated the header code to match what I had in my body and then used the <a href="http://support.google.com/dfp_sb/bin/answer.py?hl=en&amp;answer=1649768">Google Publisher Console</a> to validate the ad placements.</p>
<p>To get the Google Publisher Console working all you have to do is append ?google_console=1 to the end of your URL and then click Ctrl+F10 and you&#8217;ll see a little diagnostic panel appear (screenshot below). Before I did the fix described above I was getting two errors (one for each number that was mismatched.</p>
<p><a href="http://tutorialsave.com/how-to-fix-googletag-defineslot-dfp/google-publisher-tool/" rel="attachment wp-att-1288"><img class="alignnone size-large wp-image-1288" title="google-publisher-tool" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/google-publisher-tool-578x370.jpg" alt="" width="578" height="370" /></a></p>
<p>Pro tip, if you want to combine the second javascript call in the header of your page (if you run multiple DFP ads like I do) you can just bring up the ad ID for each as follows, this example shows three ad ID&#8217;s:</p>
<p><pre><pre>&lt;script type=&#039;text/javascript&#039;&gt;
googletag.cmd.push(function() {
googletag.defineSlot(&#039;/########/ad1-name-300x250&#039;, [300, 250], &#039;div-gpt-ad-#############-0&#039;).addService(googletag.pubads());
googletag.defineSlot(&#039;/########/ad2-name-300x250&#039;, [300, 250], &#039;div-gpt-ad-#############-0&#039;).addService(googletag.pubads());
googletag.defineSlot(&#039;/########/ad3-name-300x250&#039;, [300, 250], &#039;div-gpt-ad-#############-0&#039;).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
&lt;/script&gt;</pre></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-fix-googletag-defineslot-dfp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to export history in PayPal</title>
		<link>http://tutorialsave.com/export-history-in-paypal/</link>
		<comments>http://tutorialsave.com/export-history-in-paypal/#comments</comments>
		<pubDate>Sat, 30 Mar 2013 17:52:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1280</guid>
		<description><![CDATA[So&#8230; it&#8217;s tax season and I need to figure out how much I spent on business expenses through PayPal and also how much income I generated. For some reason PayPal doesn&#8217;t list the totals when you choose a specific timeframe and in my case. One alternative would be to use a calculator and painstakingly punch [...]]]></description>
			<content:encoded><![CDATA[<p>So&#8230; it&#8217;s tax season and I need to figure out how much I spent on business expenses through PayPal and also how much income I generated. For some reason PayPal doesn&#8217;t list the totals when you choose a specific timeframe and in my case. One alternative would be to use a calculator and painstakingly punch in each number but that&#8217;s no fun so here&#8217;s a tip on how to make the task easier.</p>
<ol>
<li>Login to PayPal and click the History tab at the top</li>
<li>Enter your timeframe (I chose 1/1/2012 through 12/21/2012)</li>
<li>Click show</li>
</ol>
<p>Now this will list out line items but you can&#8217;t show them all at once, you still have to click through using the little arrow button to see them all, and most frustratingly there is no &#8220;total&#8221;. So if you want to see the total you have to use a calculator and add all of the &#8220;Net Amount&#8221; items or you can copy and past into Excel to make it easier. Here&#8217;s how you do that.</p>
<ol>
<li>Highlight from the top left Date to the bottom right Net Amount and then right click and copy or use Ctrl+C in Windows or Command+C on a Mac</li>
<li>Open Excel and click the first cell in the spreadsheet, right click and paste or Ctrl+V in Windows or Command+V on a Mac</li>
<li>In PayPal, make sure you click the arrow for Next to copy and past all pages from the list, there may be several!</li>
<li>Now back in Excel, you can see column L which has the Net Amount items but you can&#8217;t sum them yet because they stored as text (because of the USD money signifier included during copy/paste)</li>
<li>To convert the cells to text use Edit &gt; Find and search for &#8221; USD&#8221; (that&#8217;s a space then USD) then click the Replace button and leave that field blank, then click Replace All</li>
<li>Now when you click on Column L at the top to highlight the column, you can see Excel automatically sums the entries at the bottom of the window</li>
</ol>
<p>That&#8217;s it! Now you can quickly sort or add all of your account activity in PayPal. It would be nice if this was just built into their system or if they let you export automatically instead of using this copy and paste technique, but at least it works and will save you time. The screenshots below match up with step 1, step 5 and step 6 from above:</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/export-payment-history-excel.jpg"><img class="aligncenter size-large wp-image-1283" title="export-payment-history-excel" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/export-payment-history-excel-578x402.jpg" alt="" width="578" height="402" /></a></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/find-and-replace-in-excel.jpg"><img class="aligncenter size-large wp-image-1282" title="find-and-replace-in-excel" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/find-and-replace-in-excel-578x396.jpg" alt="" width="578" height="396" /></a></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/sum-history-in-paypal.jpg"><img class="aligncenter size-large wp-image-1281" title="sum-history-in-paypal" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/sum-history-in-paypal-578x479.jpg" alt="" width="578" height="479" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/export-history-in-paypal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to do a partial database restore or clone for WordPress</title>
		<link>http://tutorialsave.com/how-to-partial-database-restore-clone-for-wordpress/</link>
		<comments>http://tutorialsave.com/how-to-partial-database-restore-clone-for-wordpress/#comments</comments>
		<pubDate>Sun, 24 Mar 2013 04:19:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1273</guid>
		<description><![CDATA[This came up for me because I&#8217;m building a test environment &#8220;clone&#8221; for a WordPress site I&#8217;ve made. The goal is to experiment on this test site without disrupting actual users or messing up SEO. Pro tip&#8230; if you are doing the same thing, essentially creating a live dev environment, make sure you choose the [...]]]></description>
			<content:encoded><![CDATA[<p>This came up for me because I&#8217;m building a test environment &#8220;clone&#8221; for a WordPress site I&#8217;ve made. The goal is to experiment on this test site without disrupting actual users or messing up SEO. Pro tip&#8230; if you are doing the same thing, essentially creating a live dev environment, make sure you choose the &#8220;don&#8217;t make this blog public&#8221; option. This will keep search engines from crawling the site and seeing it as duplicate content on your server and possibly hurting your rankings.</p>
<p>So here&#8217;s what I did. Got a second domain to use, uploaded the same version of WordPress (you can download any of the <a href="http://wordpress.org/download/release-archive/">past versions here</a>) then created a new DB to connect with. I visited the site URL and put in the name of the test site along with my admin ID, password etc. then logged in and updated a few settings. Now this is when I was ready to bring in all of the content from my live blog so I could test out how the new theme would look etc.</p>
<ol>
<li>Using phpMyAdmin, select the database you want to bring content over from. check the boxes next to each table you want to clone over, I chose wp_commentmeta, wp_comments, wp_postmeta, wp_posts, wp_terms, wp_term_relationships, wp_term_taxonomy</li>
<li>At the bottom of this page use the dropdown that says &#8220;With Selected:&#8221; choose &#8220;Export&#8221; as shown below in the screenshot. This will export just the tables you want to clone over and won&#8217;t mess up any of the username and options stuff that was created when you installed WordPress. Check out the WordPress Codex section all about the <a href="http://codex.wordpress.org/Database_Description">database here</a> for more info on each table and what it does.</li>
<li>Now, select the brand new database for the test site. Before you import the clone tables you should empty out their equivalents to avoid errors about the key already being defined. You see, WordPress automatically creates a sample post and page and comment so if you don&#8217;t empty those in the DB first, it gets a conflict and halts the operation. To empty these tables just select them and choose &#8220;Empty&#8221; from the same drop down menu. That&#8217;s it!</li>
<li>Once you&#8217;ve emptied the rows you can import the clone data. Use the &#8220;Import&#8221; tab at the top of the page. Browse for the .sql file from step 1 and 2 above and upload it.</li>
<li>The final step is to upload all of the images and files in the wp_content/uploads folder from your first site so the posts all look correct.</li>
</ol>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/php-myadmin-export-tables.jpg"><img class="aligncenter size-large wp-image-1274" title="php-myadmin-export-tables" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/php-myadmin-export-tables-578x321.jpg" alt="" width="578" height="321" /></a></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/import-tables-phpmyadmin-for-wordpress.jpg"><img class="aligncenter size-large wp-image-1275" title="import-tables-phpmyadmin-for-wordpress" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/import-tables-phpmyadmin-for-wordpress-578x353.jpg" alt="" width="578" height="353" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-partial-database-restore-clone-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to connect Google AdSense to Google Analytics</title>
		<link>http://tutorialsave.com/how-to-connect-adsense-to-google-analytics/</link>
		<comments>http://tutorialsave.com/how-to-connect-adsense-to-google-analytics/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 14:36:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1268</guid>
		<description><![CDATA[Now you may be thinking this topic has already been covered but I spent over ten hours trying to figure out why my Google AdSense data was not being added to Google Analytics. I got stuck at the message that says &#8220;This report requires AdSense to be enabled for this profile.&#8221; even though it seemed [...]]]></description>
			<content:encoded><![CDATA[<p>Now you may be thinking this topic has already been covered but I spent over ten hours trying to figure out why my Google AdSense data was not being added to Google Analytics. I got stuck at the message that says &#8220;This report requires AdSense to be enabled for this profile.&#8221; even though it seemed like I had enabled my profile in settings.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/how-to-enable-adsense-for-google-analytics.jpg"><img class="aligncenter size-large wp-image-1270" title="how-to-enable-adsense-for-google-analytics" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/how-to-enable-adsense-for-google-analytics-578x414.jpg" alt="" width="578" height="414" /></a></p>
<p>In my case, I was using one Google ID for both AdSense and Analytics, I had associated the accounts in the settings and followed the <a href="http://support.google.com/adsense/bin/answer.py?hl=en&amp;answer=2495976">general steps</a> outlined by Google but it still wasn&#8217;t working. The really frustrating part is that for some of my domains it was working but for one it was not and everything seemed like it was the same when I checked. Ultimately, I found out that the issue had to do with one extra re-confirm checkbox setting that is buried in Google Analytics settings which I will help you find.</p>
<p>So if you&#8217;re like me and trying to figure out how to solve this problem just follow these steps:</p>
<ol>
<li>First, note that Google only lets you associate your AdSense account to one Analytics account. This messed me up because I have created separate Analytics accounts for some of my different collections of websites.</li>
<li>Second, make sure you&#8217;re using a Google Account AdSense login that has both Administrator access to your AdSense account and Administrator access to your Analytics account.</li>
<li>Now just login to Google Analytics, click the Admin button and select the account you want to connect and then the data sources tab.</li>
<li>This is the step that I was missing, you need to select the profile once under the &#8220;Primary Analytics property linked to AdSense&#8221; section and then again under the &#8220;Secondary Analytics properties&#8221; section if you have multiple websites. There is a small checkbox that needs to be ticked as shown below.</li>
</ol>
<p>Once you complete these steps you should start seeing AdSense data in GA which is very useful. This is the part I missed, see the drop down there with the check box? Make sure you check the box&#8230; again.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/select-profile-google-analytics.jpg"><img class="aligncenter size-large wp-image-1271" title="select-profile-google-analytics" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/select-profile-google-analytics-578x433.jpg" alt="" width="578" height="433" /></a></p>
<p>The other part of this that I mentioned above is you can only link your AdSense account to one Google Analytics account at a time. This is done in the AdSense Account settings area as shown below.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/google-analytics-integration-adsense.jpg"><img class="aligncenter size-large wp-image-1269" title="google-analytics-integration-adsense" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/google-analytics-integration-adsense-578x307.jpg" alt="" width="578" height="307" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-connect-adsense-to-google-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the cover photo on a Google+ photo album</title>
		<link>http://tutorialsave.com/how-to-change-cover-photo-google-plus-album/</link>
		<comments>http://tutorialsave.com/how-to-change-cover-photo-google-plus-album/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 02:25:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1264</guid>
		<description><![CDATA[I&#8217;m surprised this isn&#8217;t more intuitive but alas, updating the cover photo on a Google Plus album takes a couple of steps. The process actually lets you completely organize the album so you can do more than just reposition the cover but it&#8217;s all done the same way as follows: On the left side of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m surprised this isn&#8217;t more intuitive but alas, updating the cover photo on a Google Plus album takes a couple of steps. The process actually lets you completely organize the album so you can do more than just reposition the cover but it&#8217;s all done the same way as follows:</p>
<ol>
<li>On the left side of your Google+ page click the Photo icon</li>
<li>Click on one of your albums</li>
<li>On the far right there&#8217;s a drop down button that says More, click it</li>
<li>Choose the Organize album option</li>
<li>Click and drag any photo you want to be in any new position</li>
<li>Click Done organizing to finalize your changes</li>
</ol>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/change-cover-google-plus-album.jpg"><img class="aligncenter size-large wp-image-1265" title="change-cover-google-plus-album" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/change-cover-google-plus-album-578x347.jpg" alt="" width="578" height="347" /></a></p>
<p>The other way to attempt organizing Google+ albums is to upload images in the order you want them to appear in the album, starting with the cover. I used to do it this way until they added the new organize tool and it was lame because you&#8217;d have to delete the entire album in order to put that first photo in again for your cover. I&#8217;m really glad they updated it but still think they could have an icon or something when viewing the album that says &#8220;make cover&#8221; or something simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-change-cover-photo-google-plus-album/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to bulk invalidate all attachments on a WordPress site that has W3 Total Cache installed using Amazon CloudFront as the CDN</title>
		<link>http://tutorialsave.com/how-to-bulk-invalidate-all-attachments-cloudfront/</link>
		<comments>http://tutorialsave.com/how-to-bulk-invalidate-all-attachments-cloudfront/#comments</comments>
		<pubDate>Sun, 10 Feb 2013 01:02:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1251</guid>
		<description><![CDATA[This may seem like a very specific post but it&#8217;s actually applicable to anyone using Amazon CloudFront that wants to invalidate multiple files that all sit inside one directory. Invalidating is the same thing as purging so basically you&#8217;re telling CloudFront to &#8220;purge&#8221; the last version of the file it got for hosting on the [...]]]></description>
			<content:encoded><![CDATA[<p>This may seem like a very specific post but it&#8217;s actually applicable to anyone using Amazon CloudFront that wants to invalidate multiple files that all sit inside one directory. Invalidating is the same thing as purging so basically you&#8217;re telling CloudFront to &#8220;purge&#8221; the last version of the file it got for hosting on the CDN and replace it with a new one.</p>
<p>I recently went through on one of my sites and resized and optimized all of the images. That&#8217;s hundreds of images by hand! And when you re-upload them to WordPress the system automatically creates a medium and thumbnail sized image so it multiplies the number of images being stored in the wp-content/uploads folder.</p>
<p>Before optimizing and re-uploading the files, I had to download them all and delete them from my server because I planned to re-upload with the same exact name and if you don&#8217;t delete the original file, WordPress just appends a -1 to the end of the new one so you end up with two files such as file.jpg and file-1.jpg and that&#8217;s a waste of space. So yeah, this was very tedious but worth it for SEO and organization reasons.</p>
<p>The real frustration I had was that after manually downloading, resizing and then uploading the files to WordPress, the plugin W3 Total Cache (which I have setup to use with Amazon CloudFront as the CDN) wasn&#8217;t updating the images. So all of my posts still had the old large sized images because the CDN saw that my new files had the same name. I tried clearing the caches, forcing uploads of all the files etc. but the images weren&#8217;t getting updates.</p>
<p>So I searched and searched and finally figured out this solution:</p>
<ul>
<li>You have to login to the <a href="https://console.aws.amazon.com/console/home">AWS Management Console</a> and click on CloudFront</li>
<li>Go to Distribution Settings for the distribution you&#8217;re interested in then click on the Invalidations tab and click &#8220;Create Invalidation&#8221;. This is where you need t past a full list of the paths to the files you want to update.</li>
<li>If you&#8217;re using WordPress like me, you can just go to yourdomain.com/wp-content/uploads/ and hit enter in your browser. This lists all of the files in the directory and you can highlight them, copy and paste into the second column of Excel.</li>
<li>Once you&#8217;ve pasted the long list of files into Excel you can concatenate /wp-content/uploads/ with the column cells you pasted into. In column C type something like =concatenate(A1,B1) as shown in the screenshot below. Then just drag to highlight all of those cells and copy, paste right into the &#8220;Create Invalidation&#8221; input box on the CloudFront Management Console!</li>
<li>Note that you can only paste 1,000 at a time and that anything over 1,000 will cost you extra money, something like $0.005 per invalidation, so an additional 1,000 files will be $5.</li>
<li>The other thing you want to do is go into the W3 Total Cache plugins admin area under the &#8220;Browser Cache&#8221; section and scroll down to the &#8220;Media and Other files&#8221; area. Replace the &#8220;Expires header lifetime:&#8221; input that says 31536000 with 3600 then leave it for a day or two, until Google crawls the site&#8230; then switch it back. This will break the cache for anyone who returns to the site (including SE&#8217;s) faster so they get the new content sooner.</li>
</ul>
<p>That may seem like a lot of steps, and there may be other ways to scrape the list of file paths using your console but this is how I&#8217;ve done it.</p>
<p>Step 1. Navigate to the directory where your files are listed. I used Safari to do this, some directories may be hidden or not accessible. There may be another way to scrape the list of paths.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/wp-content-directory-listing.jpg"><img class="aligncenter size-large wp-image-1252" title="wp-content-directory-listing" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/wp-content-directory-listing-578x392.jpg" alt="" width="578" height="392" /></a></p>
<p>Step 2. Paste the list of file names into the second column of Excel, concatenate with wp-content/uploads (or whatever path your directory is relative to the root of your site)</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/excel-concatenate.jpg"><img class="aligncenter size-large wp-image-1253" title="excel-concatenate" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/excel-concatenate-578x366.jpg" alt="" width="578" height="366" /></a></p>
<p>Step 3. Log in to your CloudFront Management Console, select the distribution you want and go to its settings page, click &#8220;Create Invalidation&#8221; and paste up to 1,000 paths from Excel in to be invalidated.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/amazon-cloudfront-bulk-invalidation.jpg"><img class="aligncenter size-large wp-image-1254" title="amazon-cloudfront-bulk-invalidation" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/amazon-cloudfront-bulk-invalidation-578x347.jpg" alt="" width="578" height="347" /></a></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/individual-file-listing.jpg"><img class="aligncenter size-large wp-image-1255" title="individual-file-listing" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/individual-file-listing-578x344.jpg" alt="" width="578" height="344" /></a></p>
<p>Step 4. Back in the WordPress admin area, navigate to the section for W3 Total Cache &gt; Browser Cache &gt; Media and Other Files. Update the Expires header lifetime value from 31536000 to 3600 and then save. Leave it for a few days then change it back. This helps bust the cache of the page so search engines and viewers see the updated content.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/w3-image-cache-settings.jpg"><img class="aligncenter size-large wp-image-1256" title="w3-image-cache-settings" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/w3-image-cache-settings-578x446.jpg" alt="" width="578" height="446" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-bulk-invalidate-all-attachments-cloudfront/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set attachment images as og:image in xenForo</title>
		<link>http://tutorialsave.com/how-to-set-attachment-images-og-facebook-xenforo/</link>
		<comments>http://tutorialsave.com/how-to-set-attachment-images-og-facebook-xenforo/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 02:42:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1236</guid>
		<description><![CDATA[By default, xenForo looks for avatar images and the logo of your forum to use in the og:image property. In turn, Facebook takes these images and uses them when someone Likes a thread or if they have pasted it in to their Newsfeed. Unfortunately, the logo of your site or the avatar of a poster [...]]]></description>
			<content:encoded><![CDATA[<p>By default, xenForo looks for avatar images and the logo of your forum to use in the og:image property. In turn, Facebook takes these images and uses them when someone Likes a thread or if they have pasted it in to their Newsfeed.</p>
<p>Unfortunately, the logo of your site or the avatar of a poster may not be representative of the post itself. If you&#8217;d like xenForo to look for any image attachments and use them instead, you have to change two bits of code as follows.</p>
<p>In the admin panel navigate to Admin CP -> Appearance -> Templates -> thread_view the replace the following:<br />
<pre><pre>&lt;xen:container var=&quot;$head.openGraph&quot;&gt;&lt;xen:include template=&quot;open_graph_meta&quot;&gt;
&nbsp;&nbsp;&lt;xen:set var=&quot;$url&quot;&gt;{xen:link &#039;canonical:threads&#039;, $thread}&lt;/xen:set&gt;
&nbsp;&nbsp;&lt;xen:set var=&quot;$title&quot;&gt;{$thread.title}&lt;/xen:set&gt;
&nbsp;&nbsp;&lt;xen:set var=&quot;$avatar&quot;&gt;{xen:helper avatar, $thread, m, 0, 1}&lt;/xen:set&gt;
&lt;/xen:include&gt;&lt;/xen:container&gt;</pre></pre></p>
<p>With this:<br />
<pre><pre>&lt;xen:comment&gt;extract first thumbnail URL from first post, for use in open_graph_meta below&lt;/xen:comment&gt;
&lt;xen:if is=&quot;{$firstPost.attachments}&quot;&gt;
&nbsp;&nbsp;&lt;xen:foreach loop=&quot;$firstPost.attachments&quot; value=&quot;$attachment&quot; i=&quot;$i&quot; count=&quot;$count&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;xen:if is=&quot;{$i} == 1 AND {$attachment.thumbnailUrl}&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xen:set var=&quot;$ogThumb&quot;&gt;{xen:helper fullurl, $attachment.thumbnailUrl, 1}&lt;/xen:set&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/xen:if&gt;
&nbsp;&nbsp;&lt;/xen:foreach&gt;
&lt;/xen:if&gt;
 
&lt;xen:container var=&quot;$head.openGraph&quot;&gt;&lt;xen:include template=&quot;open_graph_meta&quot;&gt;
&nbsp;&nbsp;&lt;xen:set var=&quot;$url&quot;&gt;{xen:link &#039;canonical:threads&#039;, $thread}&lt;/xen:set&gt;
&nbsp;&nbsp;&lt;xen:set var=&quot;$title&quot;&gt;{$thread.title}&lt;/xen:set&gt;
&nbsp;&nbsp;&lt;xen:set var=&quot;$avatar&quot;&gt;&lt;xen:if is=&quot;{$ogThumb}&quot;&gt;{$ogThumb}&lt;xen:else /&gt;{xen:helper avatar, $thread, m, 0, 1}&lt;/xen:if&gt;&lt;/xen:set&gt;
&lt;/xen:include&gt;&lt;/xen:container&gt;</pre></pre></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/xenforo-og-image-attachment.jpg"><img src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/xenforo-og-image-attachment-578x465.jpg" alt="" title="xenforo-og-image-attachment" width="578" height="465" class="aligncenter size-large wp-image-1242" /></a></p>
<p>The second step is optional but it will help prioritize post images over the website logo. In the admin panel navigate to Admin CP -> Appearance -> Templates -> open_graph_meta and replace all of the code with the following:</p>
<p><pre><pre>&lt;xen:if is=&quot;{$xenOptions.facebookAppId} OR {$xenOptions.facebookAdmins}&quot;&gt;
&nbsp;&nbsp;&lt;meta property=&quot;og:site_name&quot; content=&quot;{$xenOptions.boardTitle}&quot; /&gt;
&nbsp;&nbsp;&lt;xen:if is=&quot;{$avatar}&quot;&gt;&lt;meta property=&quot;og:image&quot; content=&quot;{$avatar}&quot; /&gt;&lt;/xen:if&gt;
&nbsp;&nbsp;&lt;xen:if is=&quot;!{$avatar}&quot;&gt;&lt;meta property=&quot;og:image&quot; content=&quot;{xen:helper fullurl, @ogLogoPath, 1}&quot; /&gt;&lt;/xen:if&gt;
&nbsp;&nbsp;&lt;meta property=&quot;og:type&quot; content=&quot;article&quot; /&gt;
&nbsp;&nbsp;&lt;meta property=&quot;og:url&quot; content=&quot;{xen:raw $url}&quot; /&gt;
&nbsp;&nbsp;&lt;meta property=&quot;og:title&quot; content=&quot;{xen:raw $title}&quot; /&gt;
&nbsp;&nbsp;&lt;xen:if is=&quot;{$xenOptions.facebookAppId}&quot;&gt;&lt;meta property=&quot;fb:app_id&quot; content=&quot;{$xenOptions.facebookAppId}&quot; /&gt;&lt;/xen:if&gt;
&nbsp;&nbsp;&lt;xen:if is=&quot;{$xenOptions.facebookAdmins}&quot;&gt;&lt;meta property=&quot;fb:admins&quot; content=&quot;{xen:helper implode, {$xenOptions.facebookAdmins}, &#039;,&#039;}&quot; /&gt;&lt;/xen:if&gt;
&lt;/xen:if&gt;</pre></pre></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/xenforo-open-graph-meta-template.jpg"><img src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/xenforo-open-graph-meta-template-578x422.jpg" alt="" title="xenforo-open-graph-meta-template" width="578" height="422" class="aligncenter size-large wp-image-1241" /></a></p>
<p>To test this updated code, just visit one of your threads that has a picture attachment and copy the URL. Now visit the Facebook <a href="https://developers.facebook.com/tools/debug">linter debugger tool</a> and &#8220;lint&#8221; the page. This forces Facebook to review and get the latest updates (in this case, the post image thumbnail)</p>
<p>Big thanks to Jake Bunce. Source for this work at the <a href="http://xenforo.com/community/threads/how-to-set-pictures-from-the-post-as-thumbnail-for-facebook-feed.18284/">xenForo Community</a> threads.</p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-set-attachment-images-og-facebook-xenforo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a 301 redirect in .htaccess for WordPress</title>
		<link>http://tutorialsave.com/how-to-301-redirect-htaccess-wordpress/</link>
		<comments>http://tutorialsave.com/how-to-301-redirect-htaccess-wordpress/#comments</comments>
		<pubDate>Sun, 30 Dec 2012 19:39:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1232</guid>
		<description><![CDATA[If there&#8217;s one thing I always try to avoid with my WordPress sites it&#8217;s adding unnecessary plugins. Sure, there&#8217;s a plugin out there that will let you easily manage all of your redirects in WordPress called Redirection with over 1M downloads&#8230; but it adds weight to your database slowing your site down and cluttering your [...]]]></description>
			<content:encoded><![CDATA[<p>If there&#8217;s one thing I always try to avoid with my WordPress sites it&#8217;s adding unnecessary plugins. Sure, there&#8217;s a plugin out there that will let you easily manage all of your redirects in WordPress called <a href="http://wordpress.org/extend/plugins/redirection/">Redirection</a> with over 1M downloads&#8230; but it adds weight to your database slowing your site down and cluttering your tables. Call me OCD but why slow your site down when you could just update your .htaccess file and create manual 301 redirects yourself?</p>
<p>Here&#8217;s why&#8230; it&#8217;s hard to figure out. It took me quite a few trial and errors and exploring the dozens of threads out there with lots of people trying to get this to work, unsuccessfully, but I finally figured it out and now you can use the solution too :)</p>
<ol>
<li>Use an FTP client to download your .htaccess file. I use dreamweaver but depending on your operating system and FTP tool this file may be tricky to download and disappear once you&#8217;ve got it because it begins with a period and operating systems identify those as system files and thus, keep them hidden so you don&#8217;t wreck your computer. One solution if you&#8217;re having this problem is to duplicate the file on your server then rename it to htaccess.html then download. Now you can edit it.</li>
<li>Look for the section hear the bottom of the file that start out with # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On then go to the bottom of it just before &lt;/IfModule&gt;</li>
<li>You can paste your 301 redirect rules here, just above this closing &lt;/IfModule&gt; tag and here&#8217;s an example</li>
<li>Redirect 301 /folder/folder/ http://electricbikereview.com/newfolder/newfolder/</li>
<li>You can also redirect files this way but always escape html redirects by using a forward slash like this Redirect 301 /folder/filename\.html http://electricbikereview.com/pedego/cruiser/</li>
<li>Re-upload the .htaccess or htaccess.html file (and make sure you rename htaccess.html to .htaccess)</li>
<li>Try to visit the page that you wanted to redirect and see if it works, you should just see a quick flash and  land on the correct page. Some hosts and systems cache these files so be a little patient. It usually works within 10 minutes for me</li>
</ol>
<p>That&#8217;s it, now you can do all the redirects you want, just make sure you put them in the correct part of the .htaccess file because that opening tag and RewriteEngine On stuff needs to happen before your 301 can activate, this is a big part of why so many people fail at this, they put the redirect string in the wrong part of the file.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/wordpress-htaccess-301-redirect.jpg"><img class="aligncenter size-full wp-image-1234" title="wordpress-htaccess-301-redirect" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/wordpress-htaccess-301-redirect.jpg" alt="" width="578" height="496" /></a></p>
<p>So that&#8217;s it, I know this doesn&#8217;t cover all use cases, feel free to chime in with the comments below or make any suggestions and additions you think will help people, I&#8217;ll update the article as they come in.</p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-301-redirect-htaccess-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to increase the top speed of a Pedego City Commuter electric bike</title>
		<link>http://tutorialsave.com/increas-the-top-speed-of-a-pedego-city-commuter-electric-bike/</link>
		<comments>http://tutorialsave.com/increas-the-top-speed-of-a-pedego-city-commuter-electric-bike/#comments</comments>
		<pubDate>Fri, 07 Dec 2012 02:09:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Outdoors]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1220</guid>
		<description><![CDATA[The Pedego City Commuter is an electric bike that strikes a balance between performance, durability and affordability. It&#8217;s one of the more popular electric bikes out there and it comes in a few flavors. There&#8217;s are two versions of the 36 volt (one ten amp hour and one fifteen for increased distance) and a 48 [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://electricbikereview.com/pedego/city-commuter/">Pedego City Commuter</a> is an electric bike that strikes a balance between performance, durability and affordability. It&#8217;s one of the more popular electric bikes out there and it comes in a few flavors. There&#8217;s are two versions of the 36 volt (one ten amp hour and one fifteen for increased distance) and a 48 volt version with ten amp hours that is all about power.</p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/pedego-city-commuter-lcd.jpg"><img class="aligncenter size-full wp-image-1221" title="pedego-city-commuter-lcd" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/pedego-city-commuter-lcd.jpg" alt="" width="578" height="346" /></a></p>
<p>Regardless of which City Commuter you might have, they all have an adjustable top speed setting which you can use to tell the motor when to cut out. This will only apply to throttle mode though, electric assist mode always cuts out at 20 miles per hour which is the legal limit in the US for most cities. According to the manual:</p>
<blockquote><p>&#8220;The LCD Meter on your Pedego can be programmed for different tire sizes, max speed, etc. To enter program mode, press the up arrow key and the down arrow key at the same time until the indicator shows &#8220;28 in&#8221;. This is the size of the tires used on the commuter bikes and should not be changed. If you push the mode button, you will see the max speed setting. The factor setting is 32 kph (20 mph). If you push the up arrow, it will increase to 40 kph (24.85 mph).&#8221;</p></blockquote>
<p>There you have it! Now you can change the way your electric bike performs in terms of speed and either keep yourself from getting out of control by lowering it or raise it up to speed your trips. Do be careful when making adjustments like this and always obey the laws and regulations of your location. If you&#8217;re on a farm or countryside however, the raised speed can be convenient and may turn your electric bike into something more akin to a moped.</p>
<p>So the steps are:</p>
<ol>
<li>Hold the up and down arrow keys until the LCD shows &#8220;28 in&#8221;</li>
<li>Press the mode button once until you see &#8220;max speed&#8221;</li>
<li>Press the up or down arrows to adjust</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/increas-the-top-speed-of-a-pedego-city-commuter-electric-bike/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to send multiple photos at once from an iPhone</title>
		<link>http://tutorialsave.com/how-to-send-multiple-photos-at-once-from-an-iphone/</link>
		<comments>http://tutorialsave.com/how-to-send-multiple-photos-at-once-from-an-iphone/#comments</comments>
		<pubDate>Thu, 17 May 2012 18:38:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://tutorialsave.com/?p=1212</guid>
		<description><![CDATA[If you want to send multiple photos at once from your iPhone it is actually possible! For a long time I&#8217;ve been using the send menu while viewing a picture but if you just back out to the Camera Roll view where you can see all of the icons of all of the pictures you&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to send multiple photos at once from your iPhone it is actually possible! For a long time I&#8217;ve been using the send menu while viewing a picture but if you just back out to the Camera Roll view where you can see all of the icons of all of the pictures you&#8217;ve taken there is another send menu.</p>
<ol>
<li>From the Camera Roll view in your iPhones Camera application click the Share icon</li>
<li>Tap all of the photos you want to send and a little check mark will be applied</li>
<li>Now you can Copy the pics and paste them or you can hit the Share menu which lets you email them directly or send them in a message. Note that you can only email them if they are mobile screenshots or photos, not videos</li>
</ol>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/share-menu-camera-roll.png"><img class="aligncenter size-full wp-image-1214" title="share-menu-camera-roll" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/share-menu-camera-roll.png" alt="" width="426" height="640" /></a></p>
<p><a href="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/send-selected-photos.png"><img class="aligncenter size-full wp-image-1215" title="send-selected-photos" src="http://d1df5tpemqge08.cloudfront.net/wp-content/uploads/send-selected-photos.png" alt="" width="426" height="640" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tutorialsave.com/how-to-send-multiple-photos-at-once-from-an-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 687/687 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d1df5tpemqge08.cloudfront.net

Served from: tutorialsave.com @ 2013-06-19 08:51:51 -->