WordPress changes URL on admin page
-
We have 2 projects. https://host/ – first (on Node.js), https://host/modules/ – second (on WP). Before that nginx stays as reverse-proxy. When I’m on page ‘modules’, everything is good, but when I go https://host/modules/wp-admin/, URL becomes as https://host/wp-admin, and links in menu lose prefix /modules/ as well. Somewhere are right links. What’s happening there and when should I dig?
I tried also the settings .htaccess:
<IfModule mod_rewrite.c> RewriteEngine on RewriteBase /modules/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /modules/index.php [L] </IfModule>but it makes no results. Settings siteurl and home are https://host/modules/. I’d be glad to some advice.
The topic ‘WordPress changes URL on admin page’ is closed to new replies.