• Resolved eron0807

    (@eron0807)


    **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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi Eron0807, did you check the ‘wp-config’ file of your personal site to see everything is ok?

    Thread Starter eron0807

    (@eron0807)

    Hi mybdbis –
    Thanks for responding. From what I see, all my database info and hosting info is correct and has not changed. Is that what you were referring to?
    Thanks, Eron0807

    Thread Starter eron0807

    (@eron0807)

    I typed my info in, but it shakes it off as no good and instantly redirects to wecareabilene.com/wordpress/wp-login.php.

    Shoot! I thought for sure that was it!

    Please use the FTP or C-panel to see the following php files:

    index.php
    wp-config.php

    Find out everything is directed to “https://erons-expressions.com” instead of “wecareabilene.org” correctly.

    Thread Starter eron0807

    (@eron0807)

    When you asked me before about wp_config, I went into the sub-directory that held my personal site’s theme and NOT the /CCC_Site sub-directory.

    But you meant for me to look at the wp-config of the sub-directory in use, which is /CCC_Site didn’t you. My apologies.

    The wp-config.php within my /CCC_Site sub-directory contains the info from my client’s site but it needs to show my info instead, correct?

    If I change that info to my personal site’s info, will that mess up my client’s site at all? I don’t think it would, but just can’t afford not to ask first before I make those changes.

    Thanks so much for all your help mybdbis!!!

    Hi eron0807, very glad to hear that you identify the problem.

    Not at all. Changing your personal site’s info will do nothing on your client’s site.

    If your problem is solved, please mark ‘Resolved’ accordingly.

    All the best!!

    Thread Starter eron0807

    (@eron0807)

    All is well now. Will mark as resolved.

    Thanks again so very much!!

    My pleasure indeed!!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘My wp-admin redirects to my other site's wp-admin’ is closed to new replies.