Developer Blog -
  • Skipper - The ORM Designer
  • VsBuilds - Parallel building
  • Pulpo - Free Skipper CLI

Tag: #wordpress

Wordpress upgrade

Error message:

wordpress update Could not create directory<br />
This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php<br />


#set persmissions for writing to all<br />
find -type d -print0 | xargs -0 chmod 777<br />
find -type f -print0 | xargs -0 chmod 666</p>
<p>#revert back<br />
find -type d -print0 | xargs -0 sudo chown deploy<br />
find -type f -print0 | xargs -0 sudo chown deploy</p>
<p>find -type d -print0 | xargs -0 chmod 755<br />
find -type f -print0 | xargs -0 chmod 664</p>
<p>#set permissions to correct user<br />
sudo chown deploy ./wp-includes/js/tinymce/plugins/wpemoji/*</p>

Additional links

25 Apr 2015

Posted by: ludek.vodicka

Linux #Linux #wordpress

Microsoft azure - Wordpress hosting tuning

How to configure rewrite rules:

It's necessary to connect via FTP to azure VM and update ftp://host/site/wwwroot/web.config file.

&lt;rewrite&gt;<br />
			&lt;rules&gt;<br />
				&lt;rule name=&quot;Rewrite tcS3_media&quot;&gt;<br />
					&lt;match url=&quot;^tcS3_media/(.*)&quot; /&gt;<br />
					&lt;action type=&quot;Redirect&quot; url=&quot;{R:1}&quot; appendQueryString=&quot;false&quot; redirectType=&quot;Permanent&quot; /&gt;<br />
				&lt;/rule&gt;<br />
			&lt;/rules&gt;<br />
		&lt;/rewrite&gt;<br />

How to migrate other blogs to Wordpress on Azure

 Mass delete all images from media library

  • install **SQL Executioner**
  • run DELETE FROM `wp_posts` WHERE `post_type` = "attachment"
01 Feb 2015

Posted by: ludek.vodicka

Web tools #wordpress #azure