Furkan Gözükara
Furkan Gözükara

Reputation: 23830

How can i convert links to https when server providing https?

I have got wild card SSL installed. I want to serve links as https when https version of the site is fetched

Is this possible somehow ?

All links currently embedded as

<script type="text/javascript" src="http://static.monstermmorpg.com/js_files/jquery-1.9.1.min.js"></script>

Any quick solution possible ? thanks a lot

I am using asp.net 4.5 website

Upvotes: 0

Views: 58

Answers (1)

Jay1980
Jay1980

Reputation: 28

If you remove the http:// portion and use instead:

<script type="text/javascript" src="//static.monstermmorpg.com/js_files/jquery-1.9.1.min.js"></script>

It should request based on the current scheme being used.

Upvotes: 1

Related Questions