Uploading theme changes siteURL
-
I just had quite the shock which totally messes with my understanding of how themes work.
I just received a theme from a designer (.zip file). I uploaded that theme through the regular WordPress admin console UX (Appearance -> Themes -> Uplolad, etc).
After the upload completed I DID NOT ACTIVATE THE THEME. I simply pressed the preview option. Well it turns out that process updated the SiteURL of my server (in wp_options). So, until I figured this out, I could not log on to my admin console – doing so redirected to my designers server.
This freaked me out ?? I assumed uploading a theme – AND NOT ACTIVATING IT – was a reasonably safe option. I am clearly mistaken.
I ended up modifying SiteURL directly in the database but this messes with my understanding.
By the way, while I was blocked from the admin console, my regular site remained unaffected, with the correct theme.
Can someone educate me as to what’s going on here?
Mark
- The topic ‘Uploading theme changes siteURL’ is closed to new replies.