eiskaltereistee
New Pleskian
Hi,
I created a simple sub domain in wordpress (A development copy of a wordpress page). The WP-Installation uses php 7.1 with nginx as proxy.
Also I have added a .htaccess password protection via plesk gui.
In the additional nginx configuraton I added the following lines:
But if I open a seo url like "dev.example.com/test" it redirected to "dev.example.com/" or "dev.example.com/kontakt#startproject" redirected to "dev.example.com/#startproject"
The magic thing, I don't understand is: with the main url it work's very fine! I had no trouble there (Also it's working on any other wordpress page on my plesk installation). I only had that problem with those dev sub domain.
Any idea?
I created a simple sub domain in wordpress (A development copy of a wordpress page). The WP-Installation uses php 7.1 with nginx as proxy.
Also I have added a .htaccess password protection via plesk gui.
In the additional nginx configuraton I added the following lines:
Code:
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
But if I open a seo url like "dev.example.com/test" it redirected to "dev.example.com/" or "dev.example.com/kontakt#startproject" redirected to "dev.example.com/#startproject"
The magic thing, I don't understand is: with the main url it work's very fine! I had no trouble there (Also it's working on any other wordpress page on my plesk installation). I only had that problem with those dev sub domain.
Any idea?