• I’m currently working on getting a copy of a functioning WP installation up and running on a local test site. I’m having what I think is an SSL problem, particularly regarding linking to stylesheets.

    What I notice is: a lot of my pages are screwed up in a missing-a-stylesheeet kind of way (eg pretty menus have turned into a bunch of plain old underlined links. When I inspect the source of these pages, I find links to the stylesheets that look like:

    <link rel='stylesheet' id='admin-style-css' href='https://10.1.1.5/~home/sitecopy/wp-content/themes/livetheme/admin/assets/css/admin-style.css' type='text/css' media='all' />

    If I save a copy of the page somewhere and manually edit all those https links to be http links – kaboom, suddenly everything looks lovely.

    Clearly what I need to do is ensure that everything on my copied installation is going to use http rather than https. So my question is – where is this set up, and how can I change it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • It seems that your local webserver (on your computer) is causing the issue. Without knowing which one you’re using, it’s hard to say where you’d go to fix it. If you can find out what that is (WAMP, MAMP, something else?), that would help a ton!

    Thread Starter ebaillie

    (@ebaillie)

    We’re using Apache on linux … I don’t think that was the source of our problem, but we ended up just putting an SSL certificate on locally, which seems to have fixed up _most_ of the stuff. Some other issues were solved by getting a copy of the live site’s server config, which had a bunch of URL rewrites in it.

    I’m still not completely round the issue of why URLs are defaulting to https, but the issue has moved to “academic interest”

    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Copying an SSL installation onto a non-SSL one’ is closed to new replies.