• I have a development site here at https://website-alpha.platform.botlink.com/
    It redirects to my primary 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.

    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)
  • What is your actual problem? You have told us what is happening… but not what the issue is.

    Thread Starter ablomeke

    (@ablomeke)

    The problem, as noted in the title, is that the site is redirecting to the production site, instead of displaying the development page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Development site redirects to production’ is closed to new replies.