This post will cover everything you need to know about getting WordPress deployed to your dokku server from start to finish.
I already have a dokk...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for this fantastic write-up, Jasmine, I had a Wordpress installation running in Dokku within 10 minutes flat 🙌🏼
One tiny correction, for the benefit of future readers, the final command where we're enabling
letsencrypt
for theblogger
application should include the word "enable"I get this error when trying to push to the dokku host:
How can I fix this?
I'm getting this error: "The theme directory "twentytwentythree" does not exist.
Error: The themes directory is either empty or does not exist. Please check your installation." and unable to install any theme and plugins
Amazing guide thank you! It seems that after applying Letsencrypt all CSS will be broken and so will all js etc. Any good solution @jasminetracey
From your admin panel under settings you can change your WordPress Address (URL) and your Site Address (URL) to the https version.
Hey, doing that makes the website inaccessible, browser says too many redirects.
This article should help
wpbeginner.com/wp-tutorials/how-to...
Can you use wordpress docker image on dokku?
yes
I am getting 404's for all pages except the main page. wp-admin works.
Is there something I need to do for URL rewrites instead of .htaccess ?
You can try adding
options +FollowSymLinks
to your .htaccess fileI changerd my Procfile to use apache rather than nginx, and it picked up my standard wordpress .htaccess file and it works without 404s
Procfile
web: vendor/heroku/heroku-buildpack-php/bin/heroku-php-apache2
I found this voodoo here: github.com/dokku/dokku/issues/824
It looks like it may be related to a newer or older version of buildstep.