GetSimple Support Forum

Full Version: protocol independent url
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i'm switching a few sites from http to https. And Website Settings/Website URL allow only http and https url, not protocol independent //mysite.org type url.

That setting caused to me a few troubles because menus, links containing src="<?php get_theme_url(); ?>/js end probably many other force a protocol.

I think that's an error, but maybe there's a reason behind that choice i don't know
Edit /admin/settings.php and remove type="url" from line 217.
Then you will be able to enter any site URL you wish.
(But of course you'll have to do the change again when you upgrade GS)
(2015-08-24, 21:31:49)Carlos Wrote: [ -> ]Edit /admin/settings.php and remove type="url" from line 217.
Then you will be able to enter any site URL you wish.
(But of course you'll have to do the change again when you upgrade GS)

thanks for the suggestion. If there's some consensus about having protocol independent urls that could be a feature for next gs version. ATM i'm converting to https a few sites for my clients. Google appreciate that. Also plugin developers sometimes have to change their work. Shortcodes don't work out of the box because it has http hardcoded in many places. So maybe staying protocol neutral could be also in the guidelines for protocol developers.
3.4 does
(2015-08-24, 21:31:49)Carlos Wrote: [ -> ]Edit /admin/settings.php and remove type="url" from line 217.
Then you will be able to enter any site URL you wish.
(But of course you'll have to do the change again when you upgrade GS)



This suggestion has made my life a lot easier. I have no issues now converting https sites.
Yeah i do not know why that filter does not support various url schemes