Custom Fields
Re-Envisioned
Support General Wrong url path

This topic contains 2 replies, has 2 voices, and was last updated by  Ivo 3 years, 7 months ago.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #1548

    Anh Tran
    Keymaster

    Hi Ivo,

    Did you define 2 variables like this?

    define( 'RWMB_DIR', get_template_directory() . '/inc/plugins/meta-box/' );
    define( 'RWMB_URL', get_template_directory_uri() . '/inc/plugins/meta-box/' );

    Also, please check symlink on your installation. I guess your server has problem with it (it converts URL to real path on server).

    #1549

    Ivo
    Participant

    Hi Rilwis, thank you very much for your reply.

    For some uknown reason I had defined like this:

    
    define( 'RWMB_DIR', trailingslashit( get_template_directory() ) . 'inc/plugins/meta-box/' );
    define( 'RWMB_URL', trailingslashit( get_template_directory() ) . 'inc/plugins/meta-box/' );
    

    Which trailingslashit function made all those wrong url’s, have no clue why I did this, probably in a hurry and did not double checked, now is all good, thanks for the heads up. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wrong url path’ is closed to new replies.