Writing server IP address and not domain name
-
Hi
I have been using the plugin for a while and it works well but I have now discovered that it is doing something that is going to prevent me from using an SSL cert.
My server has about 10 sites all pointing to the WordPress MU setup and these get correctly routed.
Looking at the code I can see that resources get pointed to the correct domain:
<link rel='stylesheet' id='afg_css-css' href='//www.neilthompson.co.uk/wp-content/plugins/awesome...
However, any images that are uploaded get pointed to the server ip rather than the domain name:
<img width="604" height="270" src="//54.72.103.138/neilthompson/wp-content/
This works but now I want to add an SSL cert to the site and I can’t as I have resources being pulled from two places which is marked as insecure.
How can I change my setup so that the images get written with the domain name rather than the server IP address?
Thanks
- The topic ‘Writing server IP address and not domain name’ is closed to new replies.