miwa
Forum Replies Created
-
Thank you for your reply.
It seems that it did not work well due to jQuery conflict.The URLs of the images output in the plugin are correct after we stopped using the function code using the root path.
We solved the problem.
I apologize for letting you five me a lot of feedback.
Thank you so much.Please be so kind as to think using “home_url” instead of “site_url” in your Plugin code because I think there are many cases where image url is root path if image url without ”https://domain.com”.
if (!preg_match(‘/^https?:\/\//’, $image)) {
// Remove any starting slash with ltrim() and add one to the end of site_url()
$image = site_url(‘/’) . ltrim($image, ‘/’);
}We used the root path of images in Media Library because it’s easier to migrate from the test environment.
I also think there are cases where wordpress installed in subdirectory and home url is not the same as site url.
I guess there are many cases with these 2 conditions like this.
1.Different site URL and home url settings
2.Using root path of imagesThank you.
Thank you for your generous support.
I’m so sorry I found your mails in the spam folder.
Now I understand what you mean.
I realize Urls of images are root path.
I’ll try this adjustment first.If it doesn’t work, do you mean WP_HOME and WP_SITEURL should be set in the same directory to use the plugin?
Does it means this problem might happen when the wordpress is installed in the subdirectory as below?
WP_HOME https://example.com/wp
WP_SITEURL https://example.comThank you.
- This reply was modified 3 years, 10 months ago by miwa.
I didn’t receive the recommended instructions on the 7th and 8th of January.
Could you forward it for me via email?Our web site doesn’t have any problem except the lack of images in your plugin widget.
WordPress media library is correctly displayed.I mentioned the details via email and asked if you have the same case like this when the wordpress is installed in the subdirectory.
‘WP_HOME’, ‘https://example.com/wp’
‘WP_SITEURL’, ‘https://example.com’The subdirectory of the image urls in your plugin is duplicated.
The other information including the post url is correctly output and displayed in your plugin.If turning on adding OG image of the plugin, the subdirectory of the url is also duplicated.
If turn it off, the url is correct by our own setting.I guess Auto-Post doesn’t work when the new post is published because the lack of image too.
I didn’t receive your reply after sending the details of issue to Blog2Social Customer-Service on 2021/01/05 20:49 (JP time).
#482733I’d like the plugin developer to know and let me know how to solve this problem.
I’d also like to know whether you have the same problem if WordPress is installed in the sub directory?Thank you for your replay.
I’m so sorry. I contacted on this forum, because I could not have received your reply because your mail was in spam folder. (I just found it.)
Thank you.
I’ll send my feedback directly via mail.- This reply was modified 3 years, 10 months ago by miwa.
Thank you for your notification.
Sorry, does “in this way” mean that you replay to me on this forum?We purchased the license to use Auto-Post,
and need your support.