I am trying to run civicrm in my machine and access it through LAN from other machines. So I made a change in word press general settings like below:

WordPress Address (URL) http://myipaddress/mysite Site Address (URL) http://myipaddress/mysite

After this, whenver I am doing a search/report/ any function in civicrm I am being prompted for password. And after that I am directed to civicrm home page and the loop repeats. Can anyone help me out?


changed the base URL in civicrm.settings.php . now works fine .

if (!defined('CIVICRM_UF_BASEURL')) { define( 'CIVICRM_UF_BASEURL' , 'http://localhost/site/'); }

is changed to

if (!defined('CIVICRM_UF_BASEURL')) { define( 'CIVICRM_UF_BASEURL' , 'http://myipaddress/site'); }

  • 1
    Thanks for posting an answer to your own question. Could you provide a bit more detail to help anyone else who has the same problem? Jun 28 '17 at 15:13
  • Edited the answer William. let me know if that is ok Jun 29 '17 at 2:29
  • Yes, that's much clearer. Thanks! You could also mark it as the accepted answer by clicking on the tick beside this answer. Jun 29 '17 at 8:09
  • will do that tomorrow. not allowing today to do it Jun 29 '17 at 8:10

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.