Staging site on subdomain – all links dont work except home page

I’d change the first part of your htaccess from RewriteEngine On RewriteCond %{HTTP_HOST} !^stagin\.mysite\.com$ RewriteRule ^(.*)$ https://stagin.mysite.com/$1 [R=301,L to RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] This will take any request to any site and force it to SSL. Then the rest of the htaccess will take care of the WordPress stuff. I … Read more

Unique wordpress multisite requirement

You would do this by editing the site in the network admin, and setting the sites URL to subsite.main.domain, WP doesn’t force you to have everything as a direct subdomain, you could even put completelydifferentdomain.com as the URL and as long as your server is set up to route requests to WP from that domain … Read more

Why does WordPress connect to site URL through internet in order to load pages

WordPress’s behavior in this scenario is related to how it handles URL resolution and DNS lookup. WordPress relies on the site URL specified in its configuration to construct internal links and route requests. When you access your WordPress site at https://mysite.example.com, WordPress will generate links based on this URL. In your case, you have configured … Read more