This is a weird one. I have three domains, let's call them domain1.com, domain2.com and domain3.com.
Domain1.com is the main domain.
Domain2.com is a domain alias of domain1.com
Domain3.com is a domain alias of domain2.com
I am using the domains WITHOUT a 301 redirect. I don't want to get into too many details, but this is necessary in this case.
In my nginx settings for domain1.com, I have the following setting:
...
Different behavior from domain aliases of same domain
Domain1.com is the main domain.
Domain2.com is a domain alias of domain1.com
Domain3.com is a domain alias of domain2.com
I am using the domains WITHOUT a 301 redirect. I don't want to get into too many details, but this is necessary in this case.
In my nginx settings for domain1.com, I have the following setting:
Code:
location /item { try_files $uri $uri/ /item.php?id=$uri; }
Different behavior from domain aliases of same domain