recently I got to manage a Wordpress blog (so I don't know of things made before) and to start doing some edits on it I did a local docker compose as sandbox. When I copied the contents (Wordpress files + mysql db), the website worked well, instead for the links that didn't redirect to the local version but to the production one. So, to make them work (as I am unable to access to administration), I replaced in
home values with the local path (
http://192.168.99.100:33080). However, since I did it, the website no longer loads and finishes into a too many redirects error. Does anyone know how to fix this?
I tried also, instead of add the changes in db, to write them in the
wp-config.php file (according to this) but nothing changes.
I am using Wordpress 4.9.8 in HTTP on port 33080 and the container's dockerfile is:
FROM php:5.6.35-apache-jessie RUN docker-php-ext-install mbstring mysqli pdo pdo_mysql RUN a2enmod rewrite RUN echo 'log_errors = On\nerror_log = /dev/stderr' >> /usr/local/etc/php/php.ini
I am very new to Wordpress environment, so assume that if there is something I had to do and I didn't wrote it there, I didn't do it. Thanks.