cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't access my WP-Admin Page, I use Relative Path Plugin for SubDomain to SubDirectoy Redirection

Hi,

 

Question 1 of 2:

I have a WordPress installed on my SubDomain, and redirecting to the sub-directory

 

Here is an example:

 

WordPress Installed at https://subdomain.example.com

WordPress Redirect at https:// www.example.com/blog

 

I am using a plugin to manage the relative path.

 

Now, in this case, when I am trying to login to the WP-Admin - such as https://subdomain.example.com/wp-admin/ the page is not displayed. This is a bit annoying. 

 

Could you please help to solve my issue? 

 

Question 2 of 2:

Is there any other way to manage such direction?

2 REPLIES 2

Re: Can't access my WP-Admin Page, I use Relative Path Plugin for SubDomain to SubDirectoy Redirecti

I would suggest moving the data from 

 

https://subdomain.example.com's directory

 

to the 

 

https:// www.example.com/blog

directory and then set the url in the wp-config.php to 

 

 

define('WP_HOME','https://www.example.com/blog');
define('WP_SITEURL','https://www.example.com/blog');

 

Be sure to have backups of your data before making these changes.

Mike L. | WebPro

Re: Can't access my WP-Admin Page, I use Relative Path Plugin for SubDomain to SubDirectoy Redirecti