WordPress.org

Ready to get started?Download WordPress

Forums

Theme is irregularly reset to default theme (41 posts)

  1. stoop
    Member
    Posted 8 years ago #

    Bingo.
    I was having the same problem.
    Basically, I had my wordpress running from two seperate domains with two seperate codebases, but sharing a database. When adding (or editing the folder name of) a theme in only one of the codebases, when visiting the other site/codebase, it couldn't find the theme I had selected, and so chose a theme it knew it could find.... default!

    Your Problem:
    You must have two seperate wordpress codebases sharing a database. If not, it must be a different problem, sorry!

    Solutions:
    1. Make sure the theme exists in both codebases!
    2. Have both [sub]domains point to the same codebase.
    3. Have each [sub]domain use a seperate database.
    4. Delete one of the codebases (and set up a redirect)

    I chose option 4 because I don't need them both! (I was migrating)

    Hope this helps!

  2. vasoos
    Member
    Posted 8 years ago #

    I'm ttying to make this work long-term : wordpress running from two seperate domains with two seperate codebases, but sharing a database.

    I want one domain to use a subset of the posts from the first but when I point both WP installs to the same database, all the URLs point to the first WP install.

    Is there a way to make this work??

  3. Starks
    Member
    Posted 7 years ago #

    Hopefully this should resolve the reverting on my site...

  4. ringmaster
    Member
    Posted 7 years ago #

    This issue can also happen if you use SSL vs non-SSL to access your site.

    For example, you'll see your theme working fine at http://example.com, then you (or someone else) will load https://example.com, which resets the theme to default.

  5. incursio
    Member
    Posted 7 years ago #

  6. tstephen
    Member
    Posted 7 years ago #

    I'm having this problem on all my sites (each site uses a different theme) that are using the lastest installation of WP. Each site is on it's own server and each has its own database. I have tried deleting the default theme but came up with my site disappearing altogether when it reverted back to the default theme, even though it wasn't there. It also got rid of the theme I was using. Ended having to reinstall the theme. I will try the suggestion with the plugin and will post my findings here.

  7. PozHonks
    Member
    Posted 7 years ago #

    A definitive solution would be: 1) delete the "Default" theme, 2) rename your theme folder as "Default" (only the folder name).

  8. rookiemac
    Member
    Posted 7 years ago #

    I am having the same problem of my theme randomly changing back to the default. I have only one blog, one URL, and am a total beginner, so most of the replies are above my head. Is there a simple solution please?

  9. daddo
    Member
    Posted 7 years ago #

    Ok,

    I've just spent a great deal of time struggling with this issue, and I hope my conclusions may be of some help to somebody.
    Must check that you didn't copy some symlinks into your wp-content folder in my case this was called
    advanced-cache.php -> plugins/wp-cache/wp-cache-phase1.php
    Obviously some servers require these, so in case you were uploading and accidentally replaced the one on the server with the uploaded, this could be the source of your problem.
    Another thing is that in some cases the wp-mobile plug in creates this distortion, even though it was properly installed on my server the reset stopped once I have disabled the plug, to my great sorrow since it is an awesome plug.
    At the moment I'm not experiencing this anomaly anymore, and I hope this is of some help to all of you out there feeling the frustration and looking for the solution.

  10. texas1emt
    Member
    Posted 7 years ago #

    I've tried every fix that I can find, including adding my own debugging code throughout some of the WordPress include files. None of them will put a dent in this theme changing problem (which is quite annoying). So, after getting really angry about it, I moved the default theme to default-original and took my desired theme and moved it into the default folder.

    I waited and the blog magically switched back to default about 8 or 9 hours later, but it's coming up with the theme I want!

    Example: http://rackerhacker.com/

  11. vkaryl
    Member
    Posted 7 years ago #

    Now that's one I would NEVER have thought of! Creativity is a true blessing.... and I will file this one away to hopefully remember should the problem ever occur for either me or my clients!

    Thanks for posting!

Topic Closed

This topic has been closed to new replies.

About this Topic