Wordpress redirects URL though it shouldn't -
When I'm using standard installation, but when I try to enable multizite, then everything If the WordPress works fine with installation, the URL is redirected.
I insert in the browser: localhost / wordpress / wp-admin
, but go to localhost / wordpress1 / wp-admin
Tried, P>
This is true: http: //localhost/wordpress1/wp-login.php?direct_to = http% 3A% 2F% 2Flocalhost% 2Fwordpress% 2Fwp- Administrator% 2F and Rihth = 1
And I get just 404 errors.
I changed my wp-config.php file some time ago. And then I have changed those lines:
define ('WP_SITEURL', 'http: // localhost / wordpress'); Define ('WP_HOME', 'http: // localhost / wordpress'); Define
to
('WP_SITEURL', 'http: // localhost / wordpress1'); Define ('WP_HOME', 'http: // localhost / wordpress1');
But I have changed them to default, so whenever I try to enable multizite, how does my browser still redirect me in WordPress 1 instead of WordPress? ?
The funny thing is, when I change my WordPress folders in the HTMLOdocs in WordPress 1, my browser does not redirect me, but tries to go to the local host / WordPress and says it is not . This is very strange.
I am pretty sure that I have done everything in activating multisite, so I will post changes, then wp-config.php and .htacces files.
I really want to know that due to the problem being caused by this problem, do not reinstall WordPress to troubleshoot.
Thanks in advance.
Comments
Post a Comment