• Resolved tnjplt

    (@tnjplt)


    Dear Sir Madam;

    I have a website https://www.alanya.co.uk and I also created https://m.alanya.co.uk, both are working from same database, I modified a little mobile version.

    When I post a new property or post, it also automatically posting to mobile because it gets from same database but it does not bring photos.

    I used absolute path in mobile path, is there any solution about it?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think defining the wp-content url might do the trick. Try putting this in wp-config.php on the mobile site:

    define( 'WP_CONTENT_URL', 'https://www.alanya.co.uk /wp-content' );

    There’s an extra space in my previous post, obviously you’ll want to remove that. It should be:

    define( 'WP_CONTENT_URL', 'https://www.alanya.co.uk/wp-content' );

    Thread Starter tnjplt

    (@tnjplt)

    I tried in https://m.ipropertyturkey.com for try. I think it is working, thank you very much ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Root and Mobile’ is closed to new replies.