Bladeren bron

Moving the blog

Bob Mottram 11 jaren geleden
bovenliggende
commit
614f000fb6
1 gewijzigde bestanden met toevoegingen van 8 en 0 verwijderingen
  1. 8
    0
      beaglebone.txt

+ 8
- 0
beaglebone.txt Bestand weergeven

@@ -4016,6 +4016,14 @@ If you're moving servers and using a different domain name or path then you can
4016 4016
 find /var/www/mynewdomain/htdocs -type f -exec sed -i 's@myolddomain@mynewdomain@g' {} \;
4017 4017
 #+END_SRC
4018 4018
 
4019
+If you're moving the blog to a new domain then you will need to delete the lock file:
4020
+
4021
+#+BEGIN_SRC: bash
4022
+rm /var/www/myblogdomainname.com/htdocs/fp-content/%%setup.lock
4023
+#+END_SRC
4024
+
4025
+Then visit your blog and reinstall it.  Your existing content will be unaffected but you will need to delete the welcome post which gets added and also re-select your chosen theme.
4026
+
4019 4027
 ** MySql foo
4020 4028
 *** Backup all databases
4021 4029
 To back up all mysql databases: