Multiple issues with NGINX and Multisite

I recently transferred a client's private site to an nginx server to speed things up. I've had great success using Nginx in the past though this is the first multisite I've moved.

I'm getting two issues a the moment.

1: If I try to go to one of the Admins for a sub-site I get the error: This webpage has a redirect loop

2:If I go to one of my sub sites all of the images are missing and I see the url for the image are Mainurl.com/subsite/imagepath.jpeg.

I've tried changing permalinks along with many other options but no luck.

Any suggestions would be great.

  • PC
    • WPMU DEV Initiate

    Hey there,

    Thanks for posting on the forums.

    First of all, are you able to login into the main site admin ?

    What is the content of your wp-config file and .htaccess file please ?

    Please advise so that we can eliminate the chances of any basic issues.

    Cheers, PC

  • PC
    • WPMU DEV Initiate

    Hey there,

    Thanks for posting back. You posted everything including the db username and passwords so I have moderated that.

    I will need to have a closer look at your site with more details.

    Can you please send me your login details via our secure contact form

    1: Mark the email to my attention

    Attn: PC

    2: Include a link of this thread in the email

    3: Include FTP, cPanel and WordPress super admin details.

    4: While filling the form, select "I have a different question" from the list.

    Looking forward for a response on this.

    Cheers, PC

  • coreyallen
    • Design Lord, Child of Thor

    I figured out the issue.

    On my new server the file structure is public_html/htdocs/domainurl

    on my original it was public_html/domainurl and when I restored using backupbudy it messed up the subsites. Moving it down one notch fixed the issue.

    Thanks for changing the db info. I had entered random info when I posted it here but it's nice to know you're looking out for it.

  • PC
    • WPMU DEV Initiate

    Hey there Coreyallen,

    Glad you got this fixed. Sorry for the delay as I was away due to health issues.

    Thanks for sharing what went wrong :slight_smile:

    Thanks for changing the db info. I had entered random info when I posted it here but it's nice to know you're looking out for it.

    We always look out for everything shared on the forums :wink:

    Cheers, PC

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.