- Hello,
-
I just got the Wordpress from a client wich was developped with Bedrock by another web agency. The site works well with a simple tree : config, vendor, www and the .env at the root directory and “www.ydomaine.fr” as a domain name.
-
My client wishes to have a development environment on www.ydomaine.fr/dev with the copy of the site. That’s why I made the following method :
-
- I made a copy on /www/dev
-
- I modified the .env :
-
- WP_HOME=http://www.mydomaine.fr/dev/www
-
- Add other prefixes : DB_PREFIX=sitedev_
-
- I replaced all adresses of my base by :
-
- siteurl : https://www.mydomaine.fr/dev/www/wp
-
But it doesn’t work : on the home page, the theme is not displayed and the login page redirects to the admin page.
-
Would you have any ideas to help me please ? Did I forget something ?
-
Thank you in advance for your help.