Answers.Body: <p>To the best of my knowledge, CiviCRM does not work if WordPress is <a href="https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory" rel="nofollow">installed in its own directory</a> rather than the default location.  I have not tested this recently, but </p>
  
  <ul>
  <li>I know it did not work in the initial versions of CiviCRM for WordPress,</li>
  <li>I haven't heard about any change to this, and</li>
  <li>I haven't had any reason to have WordPress in its own directory.</li>
  </ul>
  
  <p>Notes in <a href="https://issues.civicrm.org/jira/browse/CRM-16421" rel="nofollow">CRM-16421</a> also indicate that it's still an issue as of 4.6.</p>
  
  <p>My advice is to get WordPress back out of its own directory and try again.  It may not be your preference, but it's what works.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-07T22:43:20.203Z
Answers.Text: Thanks.  That is what I did.  I also had to reinstall civicrm, then it worked.
Answers.UserDisplayName: user21507
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-21T05:07:04.583Z
Answers.LastActivityDate: 2015-12-21T05:07:04.583Z
Answers.UserDisplayName: Andie Hunt
Answers.Body: <p>Probably a file permission problem... did you copy the files yourself? </p>
  
  <p>You need to make sure the paths are correct (do this with the configuration file instead of the database...)</p>
  
  <p>Then check the file owners and permissions in your new directory structure... The directories would be 755 and the files 644... for this to work the file owners should be the web server ... </p>
  
  <p>Hope this helps...</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-23T22:37:05.760Z
Answers.Text: All ot those things are correct.  I believe that civicrm is not checking the right setting to find the files so it doesn't think the user is logged into wordpress.
Answers.UserDisplayName: user21507
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-23T22:46:45.340Z
Answers.Text: I believe this to be a bug in civicrm.  How can I log the bug or escalate this to get eyeballs looking at it . #Jon
Answers.UserDisplayName: user21507
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-26T01:37:01.903Z
Answers.Text: Hmm... I run my sites in the root on production servers and in sub directories in my test environment as I am running a few... This only happens when your paths are set wrong in the database...
  
  You can set those paths in the civicrm.settings.php which is in your civicrm directory... Those paths will override the database values so you can keep those settings local if you have a couple of installs (dev and prod for example...)...
  
  Try to set those to the exact path and see if that solves your problems, if so, it was a path in the database that was still wrong...
Answers.UserDisplayName: Serge
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-07T22:45:10.077Z
Answers.Text: Thanks Serge.  I must have had a bad path in the database.  I had to move my website out of the wordpress directory, then I had to reinstall civicrm and everything worked.
Answers.UserDisplayName: user21507
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-21T01:17:12.797Z
Answers.LastActivityDate: 2015-11-21T01:17:12.797Z
Answers.UserDisplayName: Serge
Body: <p>Using .htaccess to put Wordpress in its own directory.  Problem is that civicrm was installed using the subdirectory after the domain name.  I try to update the path and wordpress logs out.  Anything I try to do with Civicrm logs me out of Wordpress.  I can't seem to get around this problem.  If I edit my settings file, civicrm will not work.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-19T16:14:51.173Z
Comments.Text: Have you edited your civicrm.settings.php file?  If that's the "settings file" you're referring to, could you explain what settings changes you made?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-19T22:50:13.920Z
Comments.Text: Yes, I had to change the path to the subdirectory where the Wordpress installation was in order to upgrade.  However, I have .htaccess files in the root and subdirectories as documented in the help files for putting Wordpress in its own directory.
Comments.UserDisplayName: user21507
Tags: <wordpress>
Title: Path problem in civicrm under wordpress
ThreadText: # Path problem in civicrm under wordpress
  
  (Asked by: username_0 on 2015-11-19)
  
  Using .htaccess to put Wordpress in its own directory. Problem is that civicrm was installed using the subdirectory after the domain name. I try to update the path and wordpress logs out. Anything I try to do with Civicrm logs me out of Wordpress. I can't seem to get around this problem. If I edit my settings file, civicrm will not work.
  
  **Tags:** wordpress
  
  > **Comments:**
  > **username_1**: Have you edited your civicrm.settings.php file?  If that's the "settings file" you're referring to, could you explain what settings changes you made?  
  > **username_0**: Yes, I had to change the path to the subdirectory where the Wordpress installation was in order to upgrade.  However, I have .htaccess files in the root and subdirectories as documented in the help files for putting Wordpress in its own directory.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-12-21. Score: 1
  
  To the best of my knowledge, CiviCRM does not work if WordPress is [installed in its own directory](https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory) rather than the default location. I have not tested this recently, but
  
  * I know it did not work in the initial versions of CiviCRM for WordPress,
  * I haven't heard about any change to this, and
  * I haven't had any reason to have WordPress in its own directory.
  
  Notes in [CRM-16421](https://issues.civicrm.org/jira/browse/CRM-16421) also indicate that it's still an issue as of 4.6.
  
  My advice is to get WordPress back out of its own directory and try again. It may not be your preference, but it's what works.
  
  > **Comments:**
  > **username_0**: Thanks.  That is what I did.  I also had to reinstall civicrm, then it worked.  
  
  ---
  
  ### Answer by username_3 on 2015-11-21. Score: 0
  
  Probably a file permission problem... did you copy the files yourself?
  
  You need to make sure the paths are correct (do this with the configuration file instead of the database...)
  
  Then check the file owners and permissions in your new directory structure... The directories would be 755 and the files 644... for this to work the file owners should be the web server ...
  
  Hope this helps...
  
  > **Comments:**
  > **username_0**: All ot those things are correct.  I believe that civicrm is not checking the right setting to find the files so it doesn't think the user is logged into wordpress.  
  > **username_0**: I believe this to be a bug in civicrm.  How can I log the bug or escalate this to get eyeballs looking at it . #Jon  
  > **username_3**: Hmm... I run my sites in the root on production servers and in sub directories in my test environment as I am running a few... This only happens when your paths are set wrong in the database...  You can set those paths in the civicrm.settings.php which is in your civicrm directory... Those paths will override the database values so you can keep those settings local if you have a couple of installs (dev and prod for example...)...  Try to set those to the exact path and see if that solves your problems, if so, it was a path in the database that was still wrong...  
  > **username_0**: Thanks username_3.  I must have had a bad path in the database.  I had to move my website out of the wordpress directory, then I had to reinstall civicrm and everything worked.  
  
  ---
  
  