How are links created in listings widgets
This topic contains 8 replies, has 2 voices, and was last updated by Alex Rollin 6 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 16, 2019 at 1:14 pm #463505
Hello Support Team,
I have moved my first GD project from classic managed web hosting to cloudways. And everything is working well so far, but the images aren’t displayed in the listings widgets on the homepage. When I lookt into it with firebug I see that the link creation of the images to the uploads folder is not ok.
Would you like please to support me in this?
Thank you a lot, Marius
January 16, 2019 at 1:20 pm #463506This reply has been marked as private.January 16, 2019 at 1:23 pm #463507I see the images on the front page.
Can you send a screenshot of where we should be looking, and a link to be sure?January 16, 2019 at 3:48 pm #463536Indeed, this was a problem or is jutst a chrome related problem. I do not understand what is happening.
So if I load the home page with chrome this code will be created:
<div class="geodir-post-img "> <a href="https://kundaliniyoga-bw.de/kursorte/baden-wuerttemberg/ueberlingen/yogakurse/yoga-entspannung-in-ueberlingen/"><div data-src="http://kundaliniyoga-bw.de/wp-content/uploadshttps://kundaliniyoga-bw.de/wp-content/uploads/2019/01/867_20180513_154732-Kopie-768x461.jpg" class="geodir_thumbnail geodir_lazy_load_thumbnail" title="Yoga & Entspannung in Überlingen" aria-label="Yoga & Entspannung in Überlingen" style="background-image: url("http://kundaliniyoga-bw.de/wp-content/uploadshttps://kundaliniyoga-bw.de/wp-content/uploads/2019/01/867_20180513_154732-Kopie-768x461.jpg"); opacity: 1;"></div></a> <a href="https://kundaliniyoga-bw.de/kursorte/baden-wuerttemberg/ueberlingen/yogakurse/yoga-entspannung-in-ueberlingen/"><span class="geodir_new_listing"> </span></a><span class="geodir-addtofav favorite_property_867"><a class="geodir-addtofav-icon" href="javascript:void(0);" onclick="javascript:addToFavourite(867,'add')" title="Zu Favoriten hinzufügen"><i class="fas fa-heart"></i> Favorit</a></span> </div>
Thank you Alex for the support
January 16, 2019 at 3:50 pm #463539…
data-src=”http://kundaliniyoga-bw.de/wp-content/uploadshttps://kundaliniyoga-bw.de/wp-content/uploads/2019/01/867_20180513_154732-Kopie-768×461.jpg” class=”geodir_thumbnail geodir_lazy_load_thumbnail”
…January 16, 2019 at 4:40 pm #463545I can reproduce this. It is related to the .htaccess code, related to the rewrite condition for Apache:
#force to non-www RewriteEngine on RewriteCond %{HTTP_HOST} ^www.kundaliniyoga-bw.de [NC] RewriteRule ^(.*)$ http://kundaliniyoga-bw.de/$1 [L,R=301] #force to https RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
https://support.cloudways.com/what-can-i-do-with-an-htaccess-file/
When the conditions above are active, then the http link to uploads folder is added in front of the right link (http://kundaliniyoga-bw.de/wp-content/uploadsttps://k…)
What should I do know, is this something that I have to solve with you or with cloudways?
Thank you
January 16, 2019 at 6:07 pm #463559This reply has been marked as private.January 16, 2019 at 6:32 pm #463564It has to to with the https version of the site. Over http images are displayed, over https not. I have problems to understand what is happening. For some reason I can not post here anymore? I have posted another answer twice and nothing happened.
Thank you for your support
January 17, 2019 at 6:40 am #463655Hello,
apologies, a couple of your replies got caught by the spam filter.
Cloudways can help you with your htaccess and ssl.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket