How to find and replace text string in all MySQL tables

The following tutorial is helpful if you have a MySQL database and need to find and replace all occurrences of a string, for example, replacing “www.YourOldDomain.com” with “www.YourNewDomain.com”. This is useful if you are moving or cloning your website to another domain, especially if you are using software such as WordPress. First, go to your old domain name and export the ENTIRE database, including enabling the option to “drop tables” if they’re already present. If you’re using PHPMyAdmin, you’ll want

Continue Reading

How To Redirect or Disable BBPress Registration Page

BBPress is a great forum software that integrates nicely with WordPress. The problem is, it’s not as full-featured as the other forum software available. One of my gripes is the inability to change certain options. For instance, if you’ve integrated BBPress with your WordPress blog, then you want to redirect or disable the default BBPress registration page since it’s redundant. Well, there’s no easy, out-of-the-box switch that you flick on and off for this. Turns out that if you want

Continue Reading

Change WordPress Category / Archive Page From Full Content to Excerpt

This problem was annoying me because WordPress themes may show the full content of every single post when you visit a category page or archives page, and I didn’t want that. I poked around the WordPress API and it turns out that you can just use a text editor (or the built in WordPress theem Editor) and search for function the_content() and change it to the_excerpt(). Simple! These changes can be applied to the following files: index.php category.php archive.php archives.php

Continue Reading

Site Footer

Sliding Sidebar

Disclaimer

The contents on this blog are not intended as professional advice. The author disclaims any liability, loss, or risk taken by individuals who directly or indirectly act on the information contained on this blog.