2

I'm using a fresh install of Civi 4.7.15 on Wordpress 4.7.1

I can use the back-end of Civi fine, but when I try to load public pages - e.g. Event Registration Page, the page can't load the necessary CSS and JS files (hangs for a long time and then displays wrong).

I believe it's somethng to do with paths - my Wordpress install is at: http://mysite.org/mysite/wp-content

(but points to http://mysite.org/ as the default address)

When Civi tries to load the scripts, it looks for the files in http://mysite.org/mysite/mysite/

Changing the Base URL to just http://mysite.org/ fixes the public pages but breaks the back-end.

Is there somewhere I can change this behaviour?

2

It looks like you have WP installed in it's own directory as per https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

The short answer is that this is not (yet) supported by CiviCRM. We've been documenting it here:

https://wiki.civicrm.org/confluence/display/CRM/WordPress+installed+in+its+own+directory+issues

The issue is tracked here : https://issues.civicrm.org/jira/browse/CRM-16421

For now I would move WP out of it's own directory, it may not be your optimum configuration, but it will work.

| improve this answer | |
  • Thanks for the info. Would moving the wp-content directory make a difference? (as outlined here: codex.wordpress.org/…) – Cowcross Jan 12 '17 at 21:23
  • With CiviCRM 4.7.x the wp-content directory can be moved. – Kevin Cristiano Jan 12 '17 at 22:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.