Clone website. New site url: mysql> update wp_options set option_value=”http://newurl.xyz” where option_name=”home”; mysql> update wp_options set option_value=”http://newurl.xyz” where option_name=”siteurl”; Disable comments: mysql> update wp_options set option_value=’closed’ where option_name=’default_comment_status’; mysql> UPDATE wp_posts SET comment_status=”closed”; Prevent any changes: move away wp-admin and wp-login.php
Tag Archives: wordpress
WordPress Layout Customization
Use recommended theme / settings to get as close as possible to your needs: http://wordpress.org/extend/themes/mystique Use Firebug (or Chromium developer tools ) to figure out layout details in css files: https://addons.mozilla.org/en-US/firefox/addon/firebug/ There are no webfonts, only operating systems fonts. For special fonts use: Lists of the font in all known systems (mainly Windows, OSX, Linux) […]
wordpress db-convert-string für vi
Folgende vi-Befehle können auf ein MySQL-Dump einerr WordPress installation angewendet werdem: 1. Beim Umzug einer WordPress-Installation an eine andere URL (von http://php5.vmk.zhdk.ch/ nach http://195.176.254.162/): 1,$s/php5.vmk.zhdk.ch/~prototyp/195.176.254.162/g 2. Beim umzug einer WordPress-Installation an einen anderen Pfad: 1,$s/home/prototyp/public_html/var/www/g