3 ms·
Dump the database and replace all http urls; for instance: `sed -i -e 's|http://mysite.com/|https://mysite.com/|g' http://mysite.com/|https://mysite.com/|g' myd
by jbergstroem 8y ago
Dump the database and replace all http urls; for instance: `sed -i -e 's|http://mysite.com/|https://mysite.com/|g' http://mysite.com/|https://mysite.com/|g' mydump.sql` and reimport it. Most often, there's always one setting that doesn't get switched.
(keep a copy of the original db just in case)
- robertAngst 8y agoHow do I do this? Ubuntu server, windows home. I read the command to do this, didnt have permission, but I'm going to need the ability to edit the database. This seems to be my holdup.