Reputation: 305
I am using Azure Websites to host my Wordpress Site. But my website receive a lot of videos and photos uploaded by users. My 10GB quota is about to excede.
Asked to Azure support and they said to create a Storage Account but they can't help me how to connect my website to the Storage Account. They told me to ask here... so here I am ;)
Anyone can help me how to connect a Storage Account to a Wordpress website in Azure Websites?
Thanks!
Upvotes: 1
Views: 515
Reputation: 41
First thing that you should is to:
On your site of wordpress:
PS: IF AFTER THAT YOUR CONTAINER IS NOT SHOWING ON WORDPRESS YOU SHOULD FORCE THE AZURE STORAGE BY INJECTING A PART OF CODE INSIDE WORDPRESS FILE CONFIGURATION: WP-CONFIG.PHP AND COPY THE CODE BELOW:
MICROSOFT_AZURE_ACCOUNT_NAME – Account Name
MICROSOFT_AZURE_ACCOUNT_KEY – Account Primary Access Key
MICROSOFT_AZURE_CONTAINER – Azure Blob Container
MICROSOFT_AZURE_CNAME – Domain: must start with http(s)://
MICROSOFT_AZURE_USE_FOR_DEFAULT_UPLOAD – boolean (default false)
Upvotes: 0
Reputation: 305
Found this awesome plugin which connects both services:
Windows Azure Storage for WordPress http://wordpress.org/extend/plugins/windows-azure-storage/
Before install it, make sure to link to the service and get the primary key of the storage.
Upvotes: 3