• I have created a duplicate dev version of my site, example.com, at dev.example.com. The duplicate version lives in a subfolder. It uses the same database and works perfectly from the frontend when accessed at that address. I want to use this version to make some changes to my theme. I then plan to move th theme directory from the dev version to the production version.

    Right out of the gate, I’ve got a problem. When I access dev.example.com, the CSS refs are still pointing to example.com/[themepath]/style.css rather than dev.example.com/[themepath]/style.css. I’m sure there must be a simple way to fix this, but I’m new to WordPress and have no idea what it might be. Can someone give me a hand?

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you say uses the same database do you mean a single blog, or are you using multisite, if you only have the one blog then you cannot do what you want.

    Now that is out the way the options are a second blog in the same database, or a second database for the ddevelopment website.

    The way I test is I have a local copy on my PC, I export by posts and data from my live website, then import the data including images into my local copy, and then update the permalinks.

    I can then test upgrades themes etc, as my copy has everything my live website does.

    Local options, LAMPP, WAMPP or InstantWP

    HTH

    David

    Thread Starter PolrBear

    (@polrbear)

    It’s just one blog, no multisite, so I guess I won’t be able to use a remote development domain. I do have a local dev version from when I originally made the site, I will just use that for theme development.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trouble editing a dev version of the theme’ is closed to new replies.