Questions tagged [deployment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
204
votes
27answers
58k views

How to: Easily Move a WordPress Install from Development to Production?

I do development on one box and use a second for production. Right now I just dump the database and then do a find a replace for the URL changes; then copy over the files and import the new SQL. Are ...
69
votes
4answers
35k views

Is Git/GitHub a good WordPress deployment solution?

I'm currently developing my WordPress locally, committing my code to GitHub with Git and then SSHing into my server and doing a "git pull" to update my code. Is this a good option for code deployment ...
42
votes
4answers
11k views

Dev, Stage and Production Deployment for WordPress Sites?

So I need to be able to have dev/stage/production iterations (over separate servers) for a WordPress website, I use git usually but this obviously isn't going to work with WordPress sites because of ...
24
votes
6answers
5k views

WordPress and Git Workflow

I know this question has been asked a thousand times, but I'm really trying to work out how to get the best out of Git when working with WordPress. I've scoured the web and read dozens of articles, ...
10
votes
4answers
2k views

Is there a drush equivalent for WordPress yet?

I'm working with Drupal on a project right now, and for all its faults, having a command line interface like drush to the Drupal framework is a godsend. Is there an equivalent for using WordPress to ...
7
votes
1answer
324 views

Deployment strategies for WP-Supercache [closed]

I'm looking to improve my deployment process, which currently uses Capistrano to deploy from a hosted git repository. For the most part, this is working pretty well. However, I'm running into ...
6
votes
1answer
984 views

How can I sync WordPress plugin settings between environments?

I currently: Have identical environments for development (vagrant) and production (elastic beanstalk). Use git push to deploy code from the development to the production environment. Create posts and ...
5
votes
2answers
290 views

Git Deploying - Disabling plugin/theme installation/update on remote?

Is there any way to disable the installation/updating of plugins in Wordpress? I am deploying by Github, and therefore changes on server, does not replicate on my development environment. I need to ...
5
votes
6answers
9k views

Change site url when moving site to another url?

Is it really neccessary to put WP_HOME, WP_SITEURL in wp-config.php or set these settings via admin panel every time when moving a WordPress instance to another url (for example: moving from dev ...
5
votes
4answers
517 views

How to transfer a WordPress blog to a different domain?

Let's say we are currently hosting our WordPress blog on certain domain and would like to move it to a new domain. How to do this with the least hassle and SEO hit? Are there any plugins that could ...
5
votes
1answer
1k views

Best way to develop multisite and deploy on another server?

I have no previous experience in developing multisites so be easy on me. I´m familiar with developing and launching single sites though. I´m looking for the smoothest way to build a multisite for my ...
4
votes
3answers
6k views

Correct Search & Replace Queries for Changing URLs in a WordPress Database?

Have developed a site on the production box using a temporary address (http://IP-adddress). Now it's time to go live. Once, ages ago, I successfully used phpMyAdmin and did a search/replace, but am ...
3
votes
2answers
979 views

Managing updates when Wordpress is in your own svn repo

I download and configure Wordpress for a development environment and a production environment. After it's set up on one server we check it into a subversion repo and then go and check it out on the ...
3
votes
1answer
4k views

security+best practices: root or www-data on a wordpress content folder?

drwxr-xr-x 8 www-data www-data drwxr-xr-x 6 www-data www-data -rw-r--r-- 1 www-data www-data -rw-r--r-- 1 www-data www-data -rw-r--r-- 1 www-data www-data drwxr-xr-x 7 www-...
2
votes
5answers
202 views

What is the usual process of saving changes made at the CMS level into source control?

I have a DEV environment setup with wordpress installed, where I have a wordpress developer working every day. I don't feel comfortable every time he changes something in the environment because there'...
2
votes
1answer
427 views

Wordpress Workflow - version control, deployment = database issue

I'm trying to work version control into developing a Wordpress site, but I'm unable to solve the issue of DB synchronization. For simplicity's sake, I will describe a scenario with just Live and ...
2
votes
2answers
9k views

Failure to establish connection when provisioning via ansible-playbook server.yml

I'm using Root.io's Trellis workflow. I've encountered an error wherein I couldn't establish a connection via ansible-playbook. When I run ansible-playbook server.yml -e env=staging it throws me ...
2
votes
1answer
3k views

Database sync between local and production

I was watching Mark Jaquith's presentation at WCSF 2013 recently and in the Q&A Mark mentioned something about rsync - after a quick Google I can see this is done via SSH - my question is this: is ...
2
votes
2answers
1k views

Setting up WordPress playground and deploying to production server?

I would like to have WordPress on my local OS X machine to test out different themes, content, etc and then deploy it on to the production Linux server. I'm using WordPress for my website and ...
2
votes
2answers
1k views

Installation with sql server express edition

I have developed a web portal in wordpress using xampp server. i have my database in my sql. Now i need to deploy this wordpress portal on other system with sql server express edition. So how can i ...
2
votes
1answer
283 views

Multi-Environment Set up

I am facing this issue: we have one developers environment, one test environment, then the production. I would like to restrict the plugin additions, menu changes, any other changes not related to ...
2
votes
1answer
300 views

Deploying Updated or New Plugins That Modify the wp_options Table

I have a WordPress site under local version control with Git. I deploy it to the production server using Capistrano. For the initial deployment, I manually import the SQL database to the production ...
2
votes
0answers
651 views

Deploy WordPress From Local Docker to Hosting Provider

I've seen articles that teach how to migrate WordPress into Docker containers (see also here). I want to do the opposite. I am already running WordPress locally via Docker on my Windows 10 laptop. I ...
2
votes
0answers
87 views

Trigger Plugin database update after git pull

I have a couple of WordPress websites that I'm maintaining. The websites are on various git repositories (one for each site) with individual remotes. Currently when there is a plugin update ...
2
votes
1answer
120 views

Publishing Markdown posts from bitbucket to WordPress

I have a lot of markdown documents stored in a BitBucket repository. The md documents change often so I use it to track changes. I was now playing with the idea to 'publish' these MarkDown documents ...
2
votes
1answer
317 views

Workflow for working with git and WordPress

As my site becomes more important to my business, I want to have better version control so I can look up past changes and backup my code. I keep seeing people talking about having their entire site in ...
2
votes
3answers
302 views

Clone plugins (and settings) to new installation?

Is it possible to clone the plugins and settings from a WordPress site to a new fresh install? I don't want any of the content from the original site I just want all the plugins used and their ...
1
vote
1answer
1k views

How to install and activate a plugin via an external PHP script

I'm using a custom Php script to install WordPress via the Softaculous API. Once installed, what's the best way to programmatically install and activate a plugin? I could try setting up a custom WP ...
1
vote
1answer
246 views

Wordpress with Git deployment issues

I'm new to wordpress, coming from the python/django world where there are pretty established standards for development workflows and site deployment, so I'm trying to find some guidance on how to ...
1
vote
3answers
7k views

Error while importing database

A WordPress website is created and MySQL is the database for it. When tried to import the database to an empty database via Linux Command Shell we encountered below errors: ERROR 1146 (42S02): ...
1
vote
2answers
882 views

Can I flush W3TC's cache in a capistrano deploy? [closed]

I'm trying to simplify my deploy process and am making use of the Capistrano tool. Is there a way to have capistrano flush W3TC's cache in a deploy task?
1
vote
3answers
2k views

WordPress cannot upload data after migration

After migrating a WordPress instance from one hoster to another, it's impossible to upload any media. Uploads fail with the message "Unable to create directory wp-content/uploads/2016/11. Is its ...
1
vote
3answers
3k views

Infinite Redirect Loop after moving to subdirectory

I installed WordPress locally and created a theme, which worked fine. Now, as I wanted to deploy the site to a webserver via FTP, I got stuck by an 301 Redirect loop which makes it impossible to ...
1
vote
1answer
384 views

what are the chmod rights recommended to give for every folders of wordpress projects

When deploying a wordpress project on a server , what are the rights to set for each folders and files of wordpress for it to be safe and fonctionnal?
1
vote
2answers
532 views

Git beginner: Keeping track of on-server changes

So I'm starting to get to grips with Git (never used any VCS before). Some Git users tell me to only push to production server and never pull from it to my local dev server. That leaves me with this ...
1
vote
1answer
606 views

Best Way to Merge a Dev and Live Site to Become a Staging Site?

I have two Wordpress installs, both with a little bit of different data. I have a LIVE site and I have a DEV Site. I need to merge the content of these two databases together to make a STAGING Site. ...
1
vote
4answers
795 views

How can I easily reduce the size of WordPress installation from development to production?

Sometimes it happens that cheap but fast/reliable hosting plan has the drawback to have only 50MB/100 MB of local space, for files and database. Now, before going to production, I delete manually ...
1
vote
1answer
96 views

How do you modify the WordPress directory structure?

I would like to use the following directory structure for WordPress. ├── composer.json ├── config │ ├── application.php │ └── environments │ ├── development.php │ ├── staging.php │ ...
1
vote
1answer
23 views

Add a predefined page to site

I have a folder containing an index page, assets, JS etc. that I want to add as it's own page to my wordpress site without just linking to where it's hosted on a webserver. I have copied this folder ...
1
vote
1answer
786 views

best practice on pushing staging development (database/uploads) to the live server

so I have the following setup: my local wordpress copy has git repository I create changes in my local wordpress copy I make git commits on my live server I just issue git pull from my git repo My ...
1
vote
1answer
620 views

Moving from development while pulling production database without overwriting, to production

I am involved in a redesign of a client's website and during development the client has been adding posts/pages and working with existing plugins that were on the site. I have made a new theme and ...
1
vote
1answer
54 views

loss of theme options while site deployment in production

i have moved both wordpress folder and the development database on a distant server. Why all my theme options are lost ? where are these options stored if not in wp_options table nor wp_files ?
1
vote
1answer
163 views

How can I (semi) automate a database export and import to a different location?

I'm attempting to move toward developing WordPress sites locally, rather than on a live server, and as part of that move I'd like the ability to have a local and a remote version of a site, and easily ...
1
vote
0answers
195 views

Preload Cache for thousands of posts may be on non-production environment

I have a setup of three wordpress environments: Local: My Development machine (using docker) Staging: An AWS Free Tier EC2 machine Production: An AWS Free Tier EC2 machine I use git/git-hooks to ...
1
vote
0answers
38 views

Deploying website from development to production environment [duplicate]

Operating System: Ubuntu 16.04. Vagrant Version: Vagrant 1.9.1 Virtual Box Version: 5.1.14 r112924 (Qt5.5.1) I've setup my development environment and everything works great, but when I try to push ...
1
vote
0answers
123 views

Development environment

We have an internal project where two developers work together, each one on each local environment and they integrate their work on a small shared server. I've realized that whenever someone does ...
1
vote
0answers
355 views

Migrating local Wordpress site to Openshift

I started developing on Wordpress and I have a simple website on my computer. I followed this article to transfer all the WP structure to Openshift. On my local website I applied themes, create ...
1
vote
1answer
114 views

Initial wordpress deploy via git

Currently, I've got my local machine setup and pushing to staging via git. There are cases where I upload images locally to test admin page interaction. In my .gitignore file I'm ignoring ...
1
vote
1answer
511 views

Update a custom theme with Subversion?

Before I start: I'm not sure if this is feasible so any guidance, suggestions, criticisms are welcome. I'm looking for an easy way to deploy my Wordpress theme code from my development environment (...
0
votes
3answers
82 views

Different versions of Wordpress between local and production

First off, I am a WordPress newbie so please be gentle! :) Long story short, I have been given a project in mid-flight. Development computer has Wordpress 3.8.1 setup with Microsoft Webmatrix. A ...