My wp-admin redirects to my other site's wp-admin
-
**There may be more information than needed here, but I’d rather provide too much than too little**
I’m familiar with WP’s Giving WordPress its own Directory in codex.
I am experimenting on my personal website, erons-expressions.com with redirecting to different sub-directories via the dashboard’s general settings with regard to the WP URL and SITE URL addresses. Originally I loaded WordPress files into its own /wordpress sub-directory and was successful with redirecting my site to it.
I’m working on a redesign for a non-profit (wecareabilene.org) and will be using WP. They are a separate hosted account with their own wp-admin and I will need to use this method of redirecting for their site to different sub-directories through out the year.
As their website is currently live, I was experimenting with my own personal website to make sure I could redirect to multiple sub-directories successfully.
Since their site is already WP based, I placed all their WP files into its own sub-directory (/CCC_Site) in my website’s root folder.
I copied and pasted that sub-directory’s .htaccess and index.php pages into my root.
I then updated the index.php page now in my root with the update: require(‘./CCC_Site/wp-blog-header.php’);
I changed my personal wp-admin dashboard’s general settings for site address to the /CCC_Site sub-directory.
Now if you go to my site, you will see that my website url is showing the contents of what is in the CCC_Site sub-directory, which is exactly what I’d hoped for.
* MY PROBLEM *
When I try to go to my website (erons-expressions.com)’s wp-admin by typing erons-expressions.com/wp-admin I am redirected to wecareabilene.org/wp-admin. Since I now apparently don’t have access to my personal website’s wp-admin, I can’t change its site url setting to get back to my site’s original files.
Any ideas or thoughts or troubleshooting would be greatly appreciated.
- The topic ‘My wp-admin redirects to my other site's wp-admin’ is closed to new replies.