Thursday, August 7, 2014

WordPress note

== Move WordPress to another folder ==

There is no need to backup entire site and move things. A simple, light-weight procedure is [1]:

1. Go to admin panel: Settings > General
2. Change the two URI addresses, click on "Save Changes". This will show an error page, but it's fine.
3. Open your SSH/FTP client (or other site admin tool) and move the WP folder
4. Now open your blog at the new location, go to Settings > General, click on "Save Changes".
5. Go to Settings > Permalinks, click on "Save Changes", this is supposed to recreate all .htaccess rules.

== Add social media share function ==

The simple script to insert for the sharing panel can be obtained from [2]. It just needs to insert this script anywhere between the body tags in your site.

Say you are using the twenty twelve theme, just edit this file: wp-content/themes/twentytwelve/footer.php
Add the script before the close body tag. That's all.

[1] http://wordpress.org/support/topic/moving-wordpress-to-another-folder
[2] http://jiathis.com/

No comments:

Blog Archive

Followers