Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
8 views

WordPress seamless deployment with docker and content migration

We have developed a site and the deployment will be on docker. The basic setup is up with docker. We have few question for this: When expanding the artchicutre The main issue is to migrate content ...
0
votes
0answers
21 views

setup wordpress behind a firewall, how to detect host needed to add to whitelist?

I need to deploy my company website on my company server through firewall (image below) The firewall 1 is done, But I can't findout what, and how many host my wordpres server need to connect to. Is ...
1
vote
0answers
29 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
1answer
45 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 ...
0
votes
0answers
22 views

Installer (like Duplicator) with custom wp-config location and custom wp-content folder

I have started to set up my Wordpress sites like this (Versioned with Git): project/ |-- public_html/ | |-- wp/ (Wordpress Core, no wp-config.php here) | |-- wp-content/ (Themes, Plugins, user ...
0
votes
1answer
29 views

One-way DB Migration Workflow

I'm loving the proposed WordPress workflow shown below. However, since I am new to WordPress, I want to know how realistic it is. DATABASES MOVE DOWN, CODE MOVES UP This idea is presented both in a ...
2
votes
0answers
235 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 ...
1
vote
0answers
45 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 ...
0
votes
0answers
78 views

WordPress Multisite setup in staging server

I need to upload my multisite from local server to staging server inside a directory e.g mydomain.com/multisite and all other sites like mydomain.com/multisite/site1, mydomain.com/multisite/site2 and ...
0
votes
0answers
27 views

How to redeploy a free Wordpress site to another IP?

How to redeploy a free WordPress site to another IP without changing site address? A site of my friend is deployed to the same IP address as another source which refers the drugs somehow. It led that ...
1
vote
1answer
21 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 ...
0
votes
1answer
114 views

What's is the best stack for cPanel continuous deployment?

My current environment involving: Gulp (task automation) Sass Bitbucket (for version control) But for deployment, I always manually override the files through FTP. And re-import the database. The ...
0
votes
1answer
1k views

How to set a Cookie-Free Domain with WordPress?

I recently set up a WordPress site here. I added these two lines in wp-config.php: define("COOKIE_DOMAIN", "www.artisanplombier-pascher.com"); define("WP_CONTENT_URL", "https://static....
1
vote
1answer
448 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
0answers
30 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 ...
0
votes
2answers
573 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 ...
3
votes
1answer
1k 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-...
0
votes
1answer
238 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
2answers
943 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 ...
1
vote
3answers
6k 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): ...
3
votes
1answer
94 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 ...
5
votes
2answers
192 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
1answer
657 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 ...
1
vote
0answers
119 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 ...
0
votes
1answer
86 views

I cannot customize custom widgets anymore after moving WordPress website

Originally posted here. The situation is the following one: A colleague of mine built a WordPress theme with some custom widgets which need to be configured through /wp-admin/widgets.php. In the ...
0
votes
1answer
45 views

Manually updating plugins via FTP or SCM

WordPress allows you to update plugins from the Dashboard with one click. When doing these plugin updates via the dashboard, WordPress says it performs the following steps: De-activate the old plugin ...
2
votes
1answer
260 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 ...
0
votes
3answers
814 views

Trouble with Wordpress local development and deployments

The Setup: I'm setting up a Wordpress-powered application using Elastic Beanstalk from Amazon Web Services. All development is being done locally under a MAMP apache2/php5 server environment with a ...
1
vote
3answers
2k 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 ...
0
votes
0answers
81 views

WordPress theme change and deployment using addon domain

A client wants to change their Wordpress theme and have created an addon domain to facilitate this. Their intention is to make the updates on the addon domain and then switch the old domain to the ...
1
vote
0answers
350 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
223 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 ...
0
votes
1answer
60 views

Wordpress Multi-site Automated migaration script [closed]

Bit of a long shot but can anyone recommend a script to automate moving a Wordpress multisite from local to live server.
0
votes
2answers
206 views

Deploying Wordpress for clients - what do they have access to?

I've developed websites from scratch up till now and would like to switch to using Wordpress to save time and money. I've done some theme customization and plugin work so far. I can see that users ...
0
votes
3answers
79 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 ...
1
vote
1answer
331 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
107 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
51 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 ?
0
votes
1answer
34 views

Secret keys in SCM

I have a WordPress installation in a Git repository and I'm wondering, if it's safe to have the 8 "secret keys" stored in there, or if I should insert them during deploy.
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 ...
1
vote
1answer
375 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
1answer
269 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 ...
0
votes
1answer
788 views

Internal Server Error every time I push up my Wordpress Project to Heroku

We use Heroku to deploy our Wordpress project. However, everytime we push up it seems that all of the links bring the user to an Internal Server Error page. The homepage works. Updating the ...
0
votes
1answer
169 views

What are the best practices for maintaining and deploying several parent themes?

I've been trying to commission a freelancer to make me a custom website and hit a roadblock when I said I wanted a parent theme. The freelancer strongly preferred to make a child theme based on his ...
22
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, ...
64
votes
4answers
34k 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 ...
0
votes
2answers
83 views

Making Wordpress Local Again?

I've been working on a Wordpress site for a while and have gone to make it live this afternoon. After following this tutorial video (http://www.youtube.com/watch?feature=player_embedded&v=...
7
votes
1answer
306 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 ...
1
vote
1answer
393 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 (...