How to publish WordPress site built in WebMatrix - wordpress

This is a 3 part question/advice. I built a WordPress site locally using WebMatrix a while back and had to upload it to GoDaddy. This was a mission, i couldn't get it to work no matter what i tried so i figured i was doing something wrong. Called them a few times and didn't get any help, until i called someone who had dealt with this before (think he said that he built a site the same way) and knew exactly how to get it working. I tried doing another site and went through the same issues publishing and couldn't upload it because i didn't write down what they told me to do the first time, and nobody else knows how to get this to work. So...
1- Is there a different hosting provider that I should use (I have a WordPress site on WebMatrix at home that I need to publish) that works better/easier with WebMatrix/Web Deploy?
2 - Is there a different/better tool you recommend for me to use other than WebMatrix for Wordpress? (WebMatrix installs WordPress automatically for me and gives me intellisense and other useful tools so I use it thanks to that)
3 - This is the most important, How can i publish a WP site that i completely built locally using WebMatrix when I'm ready? (i think there's plugins i need to download to re-route url's or something like that. And i think i need to edit the wp-config file too, not sure. A step by step from someone would be priceless)
I've searched every way i could think of when i was trying to publish the site a bit ago i seem to have read everything i could find and still couldn't figure it out. Any help would be great so that when im ready to publish the site i built at home i can get it up and running smoothly.

The easiest place to look for hosting for WebMatrix built sites is the Windows Web Hosting Gallery:
http://www.microsoft.com/web/hosting/home
You can see a demo of setting up a site with Arvixe and deploying from WebMatrix (though not WordPress) here:
https://www.youtube.com/watch?v=cnTZdaiqlrU
Shameless Plug
You can also easily use Microsoft Azure to host WebMatrix sites, and WordPress. Here's an article that describes how to set it up:
http://channel9.msdn.com/Shows/Web+Camps+TV/Faith-Allington-Does-WordPress-in-WebMatrix-and-Deploys-Into-Windows-Azure-Web-Sites
https://www.youtube.com/watch?v=liVozPQaaRY
Hope this all helps!

Related

Local instance of wordpress edit plugin

I've having an annoying issue with Wordpress.
First I have to say that I'm not very familiar with Wordpress, I’m using it because I agree to take the management of the website of my sport club.
Now let’s me explain the issue. The previous manager of the website found a plugin that he think will be nice for the website.
But now that I’m managing, I want to make some change to this plugin (which is under GNU GPLv3 License so I have the right to do it).
So I install wamp on my computer, then wordpress and then I add the plugin to it in the purpose to test my changes.
I was thinking that when editing the files under “…\wp-content\plugins...” it will take effect instantly but it’s not.
I try to restart wamp after making some changes but it does not solve my issue.
A bit later I found that in wordpress there is a plugin modification interface and when going in it I found that the changes that I made on the files where not taken. Is there a cache of the files or something?
So my question is the following: Is there a way to edit the files in the folders (I’m using Visual Studio Code) and that the changes are applied instantly to the “running” plugin in my local instance?
I hope I was able to be clear enough so you guys can understand me
Thanks in advance

Developing on plesk

Trying to figure the best way to develop on plesk.
I would like to develop my wordpress website on a temporary url, and attach the production domain only when I am done developing.
From some reason I'm getting various dns errors, saw a guide referring to change of hosts file but it dosent seem like the perfect solution to me.
Any tips?
You may create the clone of your WP instance (staging) and use Plesk Git extension for developing this staging WP site. After making all necessary changes on staging non-public clone you can publish it to a production domain to make it publicly available.

Wordpress theme development for a big site

I am developing a theme for a site usign wordpress as a cms. The site has already more than 2000 posts. I am working locally on my computer and trying to simulate the post types etc here. Almost done. But I am very scared to upload and activate the new theme I have been developing locally.
What is the best way to test it and see everything is OK and be sure that I am on the safe side.
Thanks for your answers.
Not sure what you're asking exactly here but what you should be doing is testing it in an environment that's the same as your production environment. In other words, same operating system version, same web server version, same PHP version, same MYSQL version, etc.

Wordpress API works with VPN only?

I'm working on a project on my localhost for sometime now, and i've recently tried to make it online. My project works perfectly on my localhost, and I can post new articles to wordpress blogs with no problem.
The problem is, after uploading my project to a online web server ( Hostgators Baby Plan ) , I tried to add a new post to one of my wordpress blogs and I got the following error :
faultCode 500 faultString You are not allowed to do that.
The thing is, I've searched everywhere in the past few days in-order to solve this problem and had no luck.
Do you guys think this problem is caused because i'm using a webserver and not a VPS? If you have any other solutions I'll be glad to hear them out.
It might be related to file permissions or something like that.
There is no need to use VPS. I manage my website on a shared server and I've tested WordPress on free hosting services too.
This is probably due to incorrect permissions either on the file structure or the mySQL DB user or something like that. Take a look at this article on the WP codex about file permissions.
Big services like Hostgater usually have an "auto-install" feature for common software like Wordpress (via Softaculous or something similar). I don't know how you migrated your site from your local version to the server but it may be worth installing a fresh Wordpress instance through Hostgator and then simply loading in the wp-content folder and your development database on top of that.

How to maintain your development website vs. production website in WordPress?

In a wordpress installation we want to have our main site, and a staging site separated and different. Where in the admin interface you separate your staging area?
Let's say:
for production you will have: http://www.yourdomain.com/
but for staging we want to have: http://www.yourdomain.com/staging
Staging is the website that will be in production next.
Any ideas?
With Wordpress 3.0+ you might be able to create a network of sites or install multiple sites with an older version of Wordpress. The catch is I don't know of an easy way of moving the staging to production. I'm not entirely sure that will do what you want, but you may want to look into it.
Personally I'd think you'd probably be better off keeping your staging and production sites on 2 different servers and just do a copy over when you move to production.
I don't know of any instant, simple answers, but have you seen this article in the Wordpress support forum? It has some informed discussion and at-least partial solutions:
http://wordpress.org/support/topic/one-wpseveral-servers
If your staging site doesn't need any database modification, or custom forms/widgets for the backend, you can create a new theme, and test it in the preview mode. When done, you can switch the theme to the new one!

Resources