Good afternoon community.
Faced a problem whose solutions are looking for the second day. And I will be glad to any useful advice on this issue. And the thing is:
There is a website on wordpress. And its main page is located at www.domain.ru/blog/. I know that this is not the best solution - to place the main page at the address in this form, but this is 1) the site is not mine and 2) the blog is stored on a separate site www.domain.ru hosting.
All entries of this blog are available on the links like www.domain.ru/blog/post-name/
But strange begin at the entrance to the admin area.
The admin button refers to the address www.domain.ru/blog/wp-admin/ When I click on the button, I go to the admin’s main page. And in the address bar of the browser, the address www.domain.ru/blog/wp-admin/ first appears and quickly changes to www.domain.ru/wp-admin/. That is, the word / blog in the URL disappears.
And this leads to the fact that the rest of the links on the administration panel also take the form of www.domain.ru/wp-admin/settings-page/, when switching to which error 404 occurs.
I checked that if I tried to go to the link like www.domain.ru/blog/wp-admin/settings-page/, then everything happens correctly.
In connection with the lack of ideas to solve the problem, I appeal to you for advice. The ultimate goal is to make the admin panel work properly and generate links on the admin panel like www.domain.ru/blog/wp-admin/settings-page/ on buttons and forms.
UPD: content .htaccess
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php </IfModule> # END WordPress AddDefaultCharset utf-8 AddType 'text/html; charset=utf-8' .html .htm .shtml
Thank you in advance.
wp_options
the wrong url of the site is stored - alenkinswp-config.php
you can still look at what is set forWP_HOME
andWP_SITEURL
- alenkins.htaccess
. In general, you would list what you have already checked to understand what has already been verified - alenkins.htaccess
something like the following screencast.com/t/LX5jx0ASf NoteRewriteBase
andRewriteRule
- alenkins.htaccess
in a new way, taking into account all the current url settings. just make a copy of the worker . Htaccess necessarily - alenkins