Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter klintistwoood

    (@klintistwoood)

    @jnashhawkins
    Thanks! Actually I already have a NOC type of domain that manages the network but for each site, I have a domain name pointing to the same directory. The network config then associates the domain with the right site ID. What I don’t understand clearly from your explanation is what you mean with moving the content. Do you mean moving the content from the database to another site id? Your last paragraph somehow forced me to think about something else to avoid doing something unnatural.

    Despite the fact that I may not have understood correctly your explanation, it made me think about something else (or maybe that is what you meant after all) 🙂

    My goal is to use my own front end and this front-end is using a database extraction from the site I want to move. Let’s assume that the site I want to move has id 99, it means I have all the usual wp_99 type of tables in the database. Now, my front end could perfectly fetch the data from another site ID. So the idea would be to move the content of wp_99 something to a new id like wp_100 and associate another domain to that new id (could be my NOC domain). So whenever I want to manage the content, i login through this other domain that has no front end and my front end on the initial domain would retrieve the content from site id 100. I don’t know if my explanation is clear, let me know if it doesn’t make sense.

    Thread Starter klintistwoood

    (@klintistwoood)

    Hello Joy,

    Thanks!
    I know it doesn’t look standard but it’s made for AMP so it should work. I have copied exactly the same HTML directly into my code (not using a short code) and in this case, the html is not altered. It’s only when I use a short code that some form of cleaning appears.

    Thanks

    Thread Starter klintistwoood

    (@klintistwoood)

    Hi all,

    sorry for the slow answer, I’m just back from holiday.

    In short, what I have done on my side:
    – activate SSL on domain level (from my provider)
    – force WP Admin to be accessed through https
    – set site in https through wordpress admin (i’m running a network)

    gtnap, have you tried all of the above?

    I completed dropped cloudflare as my technical was already offering a CDN solution for free.

    Thanks

    Thread Starter klintistwoood

    (@klintistwoood)

    Hello Klaus,

    Are you using httpS on your site? If yes, try to put it back in http for a few seconds and check if you can reach your admin page. When I did that I had no loop anymore but a https warning from my browser. That gave me the idea to look at the SSL part.

    Thanks
    Laurent

    Thread Starter klintistwoood

    (@klintistwoood)

    Hello Gtnap,

    Are you using CloudFlare? If yes, you need to set the SSL from flexible to full. For some reason, the configuration for that domain changed and it ended up in a loop. If you don’t use Cloudflare, you should have a look at how https is managed with your hosting company.

    Thanks
    Laurent

    Thread Starter klintistwoood

    (@klintistwoood)

    Hello,

    I have found the solution by accident…It’s a SSL problem. The configuration for that specific domain was different for some reason that I don’t know. I compared it with the other domains, copied the same configuration as from a working domain and now it works fine.

    That problem was starting to drive me crazy!

    Thanks a lot for your time & help!
    Laurent

    Thread Starter klintistwoood

    (@klintistwoood)

    I have enable debugging mode to generate the text log and I had many warnings not related to the dashboard. I have corrected all of them and now the debug is not outputting any error but still no luck 🙁

    Thread Starter klintistwoood

    (@klintistwoood)

    Hello Nnikolov,

    Thanks for your answer!
    I tried the site you suggested but it didn’t work but I managed to get another one to work. see here: redirect
    It’s basically a loop of 302.

    I checked for other htaccess file and found a couple of others but all those files were old files left untouched for more than a year. I renamed them but I still have the loop issue.

    It’s really puzzling, I’ve been using WordPress multisite for a couple of years now without any major issue of that kind but it’s the first time I bump into such a problem.

    I can reach files in the same folder wp-admin on this domain name like /wp-admin/admin-footer.php but when touching index.php I’m caught in the redirect loop.

    Just some thought:
    – would it be possible to use SSO by logging into one site and using the session to login automatically in the site I can’t reach?
    – would it be possible to run wp-admin in debug mode to see if something is wrong there?

    I’m now looking into the index.php file from wp-admin. I removed all the code and I could access index.php (of course I got a white page). I then started to remove some code and I see that if I remove the following line, I don’t have the redirect anymore:
    require_once( dirname( __FILE__ ) . ‘/admin.php’ );
    Of course I don’t get my dashboard either.
    It looks like there is something in there that goes wrong specifically for that domain.

    Thanks
    Laurent

Viewing 8 replies - 1 through 8 (of 8 total)