How to configure rewrite rules:
It’s necessary to connect via FTP to azure VM and update ftp://host/site/wwwroot/web.config file.
<rewrite> <rules> <rule name="Rewrite tcS3_media"> <match url="^tcS3_media/(.*)" /> <action type="Redirect" url="http://downloads.vodnici.net/{R:1}" appendQueryString="false" redirectType="Permanent" /> </rule> </rules> </rewrite>
- http://stackoverflow.com/questions/17871717/how-do-you-configure-windows-azure-for-url-rewrite-using-wordpress
- http://www.bousie.co.uk/blog/pretty-wordpress-permalinks-on-azure/
- http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
- http://stackoverflow.com/questions/22182087/iis-rewrite-rule-to-redirect-specific-domain-url-to-different-url-on-same-domain
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”
Leave a Reply