Comments (6)
Hey there! Can you please paste an example of your Movefile? Moreover, are you using wordmove push --all
by chance?
from wordmove.
Sure:
local:
vhost: "http://localhost:8888/trueIdeaMus/"
wordpress_path: "/Volumes/Sviluppo/www/trueIdeaMus" # use an absolute path here
database:
name: "trueIM"
user: "root"
password: "root"
host: "localhost"
staging:
vhost: "changedbyme"
wordpress_path: "/home/changedbyme/public_html" # use an absolute path here
database:
name: "changedbyme"
user: "changedbyme"
password: "changedbyme"
host: "localhost"
exclude:
- ".git/"
- ".gitignore"
- ".sass-cache/"
- "bin/"
- "tmp/*"
- "Gemfile*"
- "Movefile"
- "wp-config.php"
- "wp-content/*.sql"
- "trueIdeaMus.sublime-project"
- "trueIdeaMus.sublime-workspace"
ssh:
user: changedbyme
password: changedbyme
host: changedbyme
Actually, from time to time, I need to run a wordmove push --all because maybe I am working on some plugin configuration or I have to add/remove posts or pages to test some things out. I use the same permalink structure on both systems and I thought I could be fine with it, but maybe it's not the right way of thinking...
Thanks for the help!
PS: where you read changedbyme means that I have edited the information for security reasons ;)
from wordmove.
The fact is that --all
updates the core wordpress installation too, so I guess it may be that command to overwrite your htaccess, you should try adding that file to your ignore list too!
Morever, another thing to take into consideration is that ssh is using rsync --delete
to keep you local and remote installations in sync, so all the files on your remote installation which aren't in your local installation get deleted on the remote host.
I'll ask for more opinions from @pioneerskies here :)
from wordmove.
I would exclude htaccess
all the way. Its configuration is
- managed by wordpress backoffice (most of the time)
- almost environment dependent
so I can't see a real need in order to move it back and forth dev and production.
Overall I'd like to advice you to use --all
and/or -w
flags as few times as possible; by theory they are needed just after a WordPress core update. In all other common use case -tpd
is the way to go (themes, plugins, database).
Let us know if such approach works for you
from wordmove.
I'll keep that in mind, thanks!
from wordmove.
I just ran into this problem and wanted to confirm that excluding .htaccess in my Movefile resolved the issue of having to manually refresh permalinks. Thank you!
from wordmove.
Related Issues (20)
- Enable / disable hook via .env HOT 4
- Question : Must --simulate option simulate database pulling (mysqldump) ? HOT 3
- Is this a typo ?? HOT 1
- Too many arguments error with vvv-wordmove HOT 3
- database pull fails at wp search-replace: "Error: This does not seem to be a WordPress installation." HOT 5
- censor database name, user and password in mysqldump invocation HOT 8
- WP login impossible after `pull -d`. Local installation redirects me to remote installation. HOT 4
- Database does not load on remote server when pushing from local HOT 2
- Mysqldump can't create/write to file
- "Error: This does not seem to be a WordPress installation" when using sql_adapter: wpcli HOT 3
- Error on pull: Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. HOT 4
- wordmove should ignore or warn about trailing slashes in 'vhost'
- DB pull fails with an JSON::ParserError error HOT 6
- 'Stack level too deep' error on Windows HOT 2
- Net::SSH::AuthenticationFailed when pulling db HOT 13
- SPELL_CHECKERS and psych-4.0.6 errors HOT 2
- net-ssh error when database move HOT 2
- Ruby error when pushing database over FTP HOT 2
- Password required on remote mysqldymp HOT 7
- Net:SSH AuthenticationFailed on remote mysqldump after rsync finished successfully HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordmove.