-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving WordPress support? #51
Comments
Hi @graham73may Thanks for the report. I don't use WP so I'm not sure the best solution. It would be nice if we did have something though. |
Is it possible for an addon to modify the ddev-generated Failing that, is it possible for the addon to detect the DDEV project type === "wordpress" and then echo some tips into the console? |
It is in fact possible, see how ddev/ddev-redis does it for Drupal config. And absolutely possible to output help when detecting project type as well. |
Ah nice! Thanks for the clues @rfay. Will see if I can put a PR together. https://github.com/ddev/ddev-redis/blob/main/redis/scripts/setup-drupal-settings.sh |
Thanks for the add on, I've been replacing Livereload with this and it's been great.
I work on Drupal and WordPress websites, the Drupal projects are quite URL agnostic but the WordPress websites are constantly trying to redirect me to a URL without the :3000 port number.
I'm not sure what functionality is available to add ons, would modifying the
wp-config-ddev.php
file be an option?My current work around is to add the below code snippet to the auto generated
wp-config-ddev.php
file.WP_HOME
andWP_SITEURL
lines.Maybe it would be better to only allow the project URL(s) in their original form and with
:3000
so it's not too loose?Thanks,
The text was updated successfully, but these errors were encountered: