mixed content on wordpress site that has url rewrite on it.
-
Hi,
We have an e-commerce site with the domain http://www.example.com
We also have a wordpress blog for this site with the domain blog.example.comWe have a URL rewrite module in place to make all blog.example.com pages appear as example.com/blog.
For example if a user types the URL http://www.example.com/blog/post-one they will see the page blog.example.com/post-one but http://www.example.com/blog/post-one will be in the address bar.
This rewrite is done on IIS 7.We have actually done this on multiple sites in the past and everything has worked perfectly.
The URL rewrite also changes the source file URLS, all theme styles and scripts, plugins, image uploads, etc.
This means the pages work over https without having mixed content.
http://www.example.com would have an ssl licence so https://www.example.com/blog works perfectly (even though blog.example.com would not have an ssl cert).However, the site I am working on currently is not running so smoothly.
The URL rewrite does work for showing pages in the format http://www.example.com/blog but it is not changing any of the source files.
This does not make a difference to the end user over http. they see the http://www.example.com/blog in the address bar and everything looks fine on the page.
It would only be if they inspected the source code would they see the url blog.example.com appearing in multiple files.The issue is when you try access https://www.example.com/blog/
The page looks awful as nothing is loading except text.
All the source files (css, scripts) are still being loaded as http://blog.example.com/blogI have disabled all plugins. This does not fix the issue.
I have changed theme and this does not solve the issue. (the content will still be http://blog.example.com/wp-content/what-ever-the-theme-name-is/)I have contacted our server host provider and asked them to take a look at the url rewrite module in the web.config file (even though it seems exactly the same as all the ones we’ve set up before for other sites)
They say the module is working and the issue must be something to do with wordpress setting?We have done two things we have never had to do before
-bought an ssl cert for blog.example.com
-changed the site address (URL) to first http://www.example.com/blog, and then https://www.example.com/blog (we normally leave the site address the same as the wordpress address)Nothing has worked and I am feeling really stuck here.
Any help at all would be appreciatedThanks
The blog I need help with is: (visible only to logged in users)
-
You failed to provide actual URLs and that’s an issue for us as 30% of those who post here ought to be posting to wordpress.ORG support http://wordpress.org/support/
Type the actual URLs into http://whoishostingthis.com to determine who hosts the sites please so you know where to post for support.
This is wordpress.COM support. We do not provide support for local installs of wordpress.ORG software, or for wordpress.ORG software installs on paid hosting, linked to wordpress.COM accounts with the Jetpack plugin so they display on the My Sites wordpress.com account page.
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
wordpress.org support
The wordpress.ORG support forum is at http://wordpress.org/support. The wordpress.ORG login link is here https://login.wordpress.org/ If you do not have an account yet then click Create an account https://login.wordpress.org/register/ and if you have lost an account password click Lost password? https://login.wordpress.org/lostpassword/
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
See also https://apps.wordpress.org/support/ for app support.Jetpack support
Some Jetpack solutions are here http://jetpack.com/support/
Others are in the Jetpack support forum at WordPress.org
http://wordpress.org/support/plugin/jetpack
However, if help cannot be found at either one then they can file a Jetpack support ticket here > http://en.support.wordpress.com/contact/?jetpack=needs-service -
If you do have a wordpress.COM hosted site with a Business Plan upgrade then there is no phone support. All those with upgrades have access to live chat support. You can access live chat by logging in to your WordPress.com account and going to this link: https://wordpress.com/help/contact
Note:
Getting WordPress.com Support https://en.support.wordpress.com/help-support-options/See also Five Leads for Self-Help with WordPress.com https://dailypost.wordpress.com/2016/01/14/help-with-wordpress-com/
- The topic ‘mixed content on wordpress site that has url rewrite on it.’ is closed to new replies.