Problem with subdomain vs real address

Post Reply
mcebrian
Jr. Bludit
Posts: 2
Joined: Mon Jun 06, 2022 10:48 pm

Hi all!

I am a newbie with Bludit creating a simple blog CMS in our website.

I am having the following problem:
After installation inside a directory /blog with an SSL certificate properly configured for the domain and the subdomain (server side) and having the address of Bludit configured using https.
It works ONLY if I access it using the whole address but it doesn't load the CSS or external resources when accessed using the subdomain.

The addresses are (content is empty):

Code: Select all

https://noxdrop.com/blog
https://blog.noxdrop.com
I am lost now. Any hint will be appreciated. It was working before activating SSL for the site, but we require SSL.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

You cannot use different URLs. You have to decide for one and enter it at "Settings" > "General" > "Advanced" > "Site URL".
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
mcebrian
Jr. Bludit
Posts: 2
Joined: Mon Jun 06, 2022 10:48 pm

Thanks Edi. Even then, when using the subdomain, it doesn't work properly. So... No subdomain. Just the whole address.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Please look at the source-code of your installations.

At noxdrop.com/blog/ the CSS file of theme has the path noxdrop.com/blog/bl-themes/mediumish-1.2/css/mediumish.css.

At blog.noxdrop.com the path is noxdrop.com/bl-themes/mediumish-1.2/css/mediumish.css instead of blog.noxdrop.com/bl-themes/mediumish-1.2/css/mediumish.css.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply