A quirk on the search/replace – Site URL
-
Hi!
This is a very nice plugin! It’s my first time using it. I did run into something odd and just wanted to report it in case it helps you.I was simply moving a site from a folder to the root of the site. Typically test moving to “production”. First I did a database backup (of course).
Following the procedure in the FAQ, I did define the Home and Site URL’s in the config file for the root URL. Then I moved the site files down to the root. I logged into admin fine, and things looked great. I ran Better Search, it seemed fine (I skipped GUID’s). I re-saved the Permalinks to get a fresh HTACCESS in there. All solid.
Then I decided to remove the Home and Site URL’s from the config. Oops. ?? Links were all busted, image paths wacked out, etc. Cleared my browser cache. Tried logging in again, and could not.
So I restored the config file commands and got into admin OK.
Then I examined the database, and found that one URL had been missed – Site URL. That’s a biggie. ?? In fact, now the the config file was in effect, I could re-run Better Search Replace. Guess which single URL showed up this time? Yup, Site URL.
So now all is well, and I was able to safely remove the URL’s from the config file.
Have you ever run into this before?
Thanks! Dave
- The topic ‘A quirk on the search/replace – Site URL’ is closed to new replies.