Dev site I created is redirecting to my production site
-
I have a development site here at https://website-alpha.platform.botlink.com/, or https://www.botlink.us
It redirects to my production site, https://www.botlink.com/
I’m using two separate databases and I have altered the siteurl and home values directly in the database. I’m trying to use the same code to operate these sites from github and docker, using travis for automatic deployments, so hardcoding a url somewhere in the PHP would not be useful to me.I’ve confirmed that the routing isn’t doing this redirect, it has to be the app itself.
Here’s the entirety of my .htaccess file:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Dev site I created is redirecting to my production site’ is closed to new replies.