SSL - all images not showing. How to fix?

styzer1137

UPDATE: the problem was that line in the htaccess:

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]


I removed it and everything is working perfectly as it should.

Thank you! Danke!! Merci!! Gracias! :)

Blessings,

Andre

styzer1137

#6
Thank you,

Is it safe to post this here? This is my config.

define('WB_PATH', dirname(__FILE__));
define('WB_URL', 'https://www.mywebsitemusic.com');


And I use the http/https rewrite rule from the post mentioned.

In the htaccess file, I also have this:

RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]


But my images are not using https. That's why they are not showing. How come the rewrote rule does not extend?

dbs

I mean this post:
https://forum.websitebaker.org/index.php/topic,31672.msg221659.html#msg221659

There you have add the www or not. Look into your config.php, is there a www?
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

dbs

Ah, sorry, thought there was also a code for https.
You can use the forum search for "htaccess ssl" or "htacess https".
Hope it helps.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

styzer1137

Thank you for the reply.

I did follow the instructions for both the config.php and htaccess files.

https://forum.websitebaker.org/index.php?action=post;quote=221659;topic=31672.0;last_msg=221664

But how could I force all http inages to be served as https?

I hear you for the upgrade, this will be done at a different time, though, as my client prefers to wait for now ($).

Regards,

Andre






dbs

Hi, you should als fofollow the instructions for .htaccess in this link.
Your site ist callable with and without www.
The right url is visible in the config.php. If clear if with or without www you have to change it in the .htaccess.

We can not recommand to use a old WB version. Please upgrade.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

styzer1137

Hi,

I've implemented SSL for a website, but now all images disappeared both in the admin and on the website.

https://www.fredkaplanmusic.com/

I followed these excellent instructions. https://forum.websitebaker.org/index.php/topic,31672.0.html

How can I correct all images links in MEDIA content?

Thanks!

Andre