• scissors
    October 24th, 2007HARTHmmmm Things, Statistics, WooHoo

    October 16, 2007 marked our 2nd Anniversary

    * The Year-0 Post October 2005
    * The Year-1 post October 2006

    Welcome to the Year-2 post of October 2007!

    sitemeter-2007-10-22-year.jpgWhen I look at the stats over the past 12 months .. I definitely see a pattern and progress. I see a story .. and, that story is about me – HART. I tried to grow my network of sites and maintain the status quo – even during my busy income tax preparation time (February – April) months … and I started to document my earnings online since January 1, 2007 on a public google document.

    Traffic wise, I was doing fine and going in the direction that I wanted (steadily upwards) .. but, I peaked in May 2007. Suddenly, out of the blue my bandwidth and traffic started to cost me an arm and a leg .. and I was desparately in need of an upgrade.

    So – I decided to move everything June 1, 2007 (Q3) to a new host provider, that promised me better stability and growth potential that offered me hope in continued expansion of my network.

    Here’s a summary of the past 12 months

    * Nov/2006-May/2007 – steady growth, increased traffic, new sites!
    * June/2007 – Upgraded to a Virtual Host Server (VHS) with MidPhase (AnHost brand) – Slowdown
    * July/2007 – VHS not able to support my sites, and CPU Resources crashed the server constantly
    * August/2007 – Upgraded to a Dedicated Server with MidPhase (Singlehop brand) – slowdown
    * September/2007 – Uneventful blogging, even exceeded May/2007 levels
    * October/2007 – Consolidation and Reorganization efforts were made and finally a ‘plan’ developed

    Plans for Year 3 and Beyond

    I decided that now is the time to consolidate my network. All this time, I have been trying to keep things organized into similar related themed channels (like, “Pet Related Channel”, “Health & Fitness Channel”, etc). The new look for 2008 will hopefully fall into a simpler network, with the following characteristics:

    1) HART-Empire Network = HART Caricature = “HART” Brand

    Although you wouldn’t know it, I have been trying to get a network wide theme developed so that all sites will basically look similar to the other. With wordpress upgrading their software every 3 months now, plugins coming and going … I want to brand my HART caricature face as the logo of the HART-Empire Network (beside just a funny comical picture of Hartley B Singer the person) .. and when one goes to one site, it should readily be identifiable as a HART-Empire Network site.

    2) BattlingForHealth.com = “Battling For Health” Brand

    All previous “Battling-Series” of blogs will now be created as a subdomains of this mega site. Currently, I do have longer term plans for the main domain .. however, in the meantime it will be a portal relaying all of the summary posts found from each of the health and fitness topical blogs. Having subdomains, instead of separate domains .. also allows for easier creation and expansion into newer health topics. I want to build this site into a sound health and fitness resource and library and possible support site.

    3) AndYouWill.com = “And You Will” Brand

    All previous “AndYou-Series” of blogs will now be created as subdomains of this mega site. I want this domain to grow into a sound do-it-yourself improvement site, and a resource to find tips and help about many different topics under the sun. I figure, I’ve yet to venture out into podcasting (sound) but if I ever do that .. or into vidcasting (video) .. I would probably start wetting my ears somewhere in this domain 🙂

    4) PetLvr.com = “PetLvr” Brand

    I will probably do this last, as I am currently trying to fix the archives, clean up and rearrange categories and tags, trying to figure out a way to stop spammers from creating FREE blogs at PetLvr.com/mypet ..etc. I haven’t decided yet if I will be moving the blog to the root directory, but I will be consolidating all of the support sites (which I segregated at the end of Year 1) back into the PetLvr domain .. the “LVR-Series” of blogs, as I like to call them … DogLvr.com CatLvr.com BirdLvr.com FishLvr.com HorseLvr.com and even PapillonLvr.com .. Consolidation will also allow me to segregate even further existing categories into new sites.

    5) HARTmarket.com = “@ HART Market” Brand

    I am experimenting converting sites strictly for affiliation and marketing purposes, that will ultimately have products to sell (versus monetization through advertising and other routes like that) and have setup a few sites already … pets.HARTmarket.com .. halloween.HARTmarket.com .. lingerie.HARTmarket.com and a few others that are still disjointed and I’ll leave out for now .. Oh, I did resurrect my old cafepress site (cafepress.com/1800HART) and am trying to figure out a way to mask this domain and redirect it to run through HARTmarket.com – but, haven’t figured that out yet ~

    6) Everything Else – “HART (1-800-HART)” Brand

    For now – I have ideas but, not convinced they are good ideas. With the many other sites that I have floating around this network .. consolidation might not be suitable and there is merit for having stand-alone sites. So, in this case .. I will just call this last group the “HART” group.

    If you haven’t yet read how I consolidated all of these sites – from many domains to just a few subdomains – it took me a painstaking amount of time to do this and research my methods .. and if interested – check out my reorganization post and my reogranization post #2.

    Help With The NEW PLAN for Year 3

    On October 12, 2007 .. after many months thinking about it .. I finally put out a shout out that I am officially looking for new writers to help me take the HART-Empire Network to the next level. Deborah Ng kindly placed an ad on one of her sites .. Freelance Writing Gigs … and the response was enormous.

    I received over 50 qualified applications and emails are still trickling in. I hired two new bloggers last weekand I could probably hire at least 10 more bloggers tomorrow – if I could afford it. And, after that .. I’m sure there are about 20 more in the lot of applications that I could find positions! I was very pleased, to say the least, with the results. I shouldn’t have to put out any new calls for writers until mid-2008 hopefully!

    So .. Meet The New Bloggers!

    I am so delighted to introduce, officially, two wonderful additions to the HART-Empire Network .. I am thrilled that they have come aboard to help kickstart Year 3, and in complete amazement that somebody actually wants to work with me 😀

    Please check out the new blogs .. the new writers .. and join in their conversation! I’m sure they would like that!

    * Gloria D. Gamat – Gloria takes over the “Battling Arthritis” blog (RSS), which is a *NEW* blog part of the newly consolidated .. “Battling For Health” site

    * Lelsy Maranan – Lesly takes over the “Battling Cancer” blog (RSS), which was formerly known as the Battling-Cancer.com blog


    Today, October 24, 2007 .. I will be off to party with a bunch of party animals also celebrating their blogiversary this month … at Liz’s Successful-Blog.com running all day between 7am and 11pm CST

  • scissors
    October 23rd, 2007HARTHmmmm Things

    On October 6, 2007 … I documented How To Convert 20 Domains with Blogs into 3 Domains with Subdomains – in Six Hours. This is where I left off with everything:

    STEP FIFTEEN: A Final Thought about Addon Domains

    When everything is done and upgraded .. I have two accounts on my server. Naturally, it will be the new subdomain blog that I will be making upgrades, new plugins, theme modifications .. but it is still a duplicate copy of the files in the original domain blog. You have to remember two things now:

    1) both accounts are sharing the same MySQL database where all the information is.
    2) if you delete the old cPanel account, the MySQL database will automatically be deleted and there is nothing you can do about it!

    I’m setting up “Add-on Domains” to each subdomain, and associating the old domain cPanel accounts to the subdomain. This should help me to NOT accidentally delete the entire blog in a blink.


    The OLD Plan

    New blog in Subdomain of new account uses MySQL database associated with old account, attached to the new account as an ADD-ON domain, to prevent deletion.

    The NEW Plan

    I’m just going to make the database associate with the new account. While I’ll still need the .htaccess file in the old account, eventually .. there should be no risk whatsoever to my existing account (with subdomains blogs) if I decide NOT to renew registration of the old “battling-series” of domains and just delete it once and for good. I honestly don’t foresee people linking to these blogs in a year from now. Maybe they will! But, I’ve got until September 2008 to decide that fate. All blog domain renewals have been extended.

    So How Did I do This?

    I am going to give you a step by step instruction plan how I will have converted my next blog. Out of 20 blogs or so, I have moved 6 blogs’ databases only (doesn’t sound like much) but I’ve now got the pattern down pat.


    FORMER BLOG: Battling-Addiction.com (cPanel = addiction account)
    NEW BLOG: addiction.BattlingForHealth.com (cPanel = health account with subdomain addiction)
    OLD MySQL: blog settings are reading database addiction_addiction
    NEW MySQL: Want settings so database is at health_addiction

    Step 1 – Create New MySQL database on New Account

    In the Health account, cPanel .. I created a MySQL database called addiction and associated it with a username and gave it all the necessary permissions

    Step 2 – Backup The Databases – to local computer

    Basically, I follow the wordpress codex guide to backing up the databases *NOT* a backup created by the wordpress plugin. Although, if I ever have to restore a backup created by the wordpress plugin, I hope everything is okay. Anyway, this is how to backup your MySQL Database.

    * Log into the OLD account’s cPanel account, in this case the “addiction” account – that’s where the MySQL database is now
    * Click phpMyAdmin in the database section
    * Click the name of the database in the left window (addiction_addiction) or “Databases” in the main window
    * Click EXPORT from the main window
    * In the STRUCTURE Section … there should be ONLY 3 ticked items:
    (i) Add DROP TABLE
    (ii) Add AUTO_INCREMENT value
    (iii) Enclose table and field names with backquotes
    * In the DATA Section .. there should be NO Ticked items (untick ‘Use hexadecimal for BLOB’)
    * CLICK so “SAVE AS FILE” Section is selected, but leave the filename alone (__DB__)
    * Click “GO” // download and save target on local computer

    Step 3 – Restore The Backup Into The New Database

    Basically I follow the wordpress codex guide to restoring a database safely, and followed these directions.

    * Log into the cPanel of the new account, in this case the “health” account
    * Click on phpMyAdmin in the datebase section of the cPanel
    * Now, I’ve already got seven databases created (6 transferred subdomains and the main domain) .. I click on the newly created, and empty database “health_addiction”
    * Click on IMPORT from the top menu in the main window
    * In the first “File To Import” Section, I browse to the backup I just made and select it
    * The “Format of Imported File” section should already be ticked “SQL”, with NONE for compatibility mode
    * Click GO!

    You should receive a ‘success’ message .. like .. Import has been successfully finished, 39842 queries executed. On one of my attempts this past weekend, I received an error message and it did not fully import. What I did was go back into the old database, and DE-SELECT all the Firestats tables (which caused major F/Ups on the conversion to wordpress 2.2.3 that I’ll never use it anyway. After that, the import went smoothly.

    Now Comes The Fun Part – Renaming the URL’s

    On October 6th, when I moved the old domains into the new subdomain position, I moved all of the actual files that make up wordpress, my themes, my plugins, etc – from the old account to the new account. Over the past week, I have exported the old MySQL databases (which I was accessing from the new account) and imported into a brand new MySQL database associated with the new account.

    However – all my images and links in each post created on the old account, still refer to the old account! For instance, if I were to upload pictures on a post .. it would be included in the blog as Battling-Addiction.com/wp-content/uploads/picture.jpg – I want to rename that to be addiction.BattlingForHealth.com/wp-content/uploads/picture.jpg

    Likewise, with all my google alerts that I created .. because of all of the spammers and scammers trying to steal my RSS Feeds and replublish them on their own sites with advertising (and most giving me back credit and linking back to the original post) .. what I was doing was embedding a link inside most posts so if someone were doing that .. I would get a google alert notice immediately. For instance, I’d might link the phrase “stop smoking” to Battling-Addiction.com/category/nicotine-addiction .. and now I want to rename it to addiction.BattlingForHealth.com/category/nicotine-addiction

    Step 4 – Renaming OLD-(star)(dot)(star) to NEW-(star)(dot)(star)

    Basically, I was following the wordpress codex for renaming accounts in your MySQL database.

    In a nutshell – there is one table in the database that needs to be fixed, with two fields where the text could be. However, in the possibility that I might have mixed up the old account to include the “WWW” in the URL, I will repeat the procedure twice … so I catch everything … the Battling-Addiction.com/etc stuff and the www.Battling-Addiction.com/etc stuff.

    * In the New Database still on screen, in phpMyAdmin program … click on the left window the table called “wp_posts” (or, in my case – “battling_addiction_posts” because I never use the wordpress default “wp_” in my wp-config.php files)
    * Click BROWSE from the top menu
    * scroll down the page and you should note that there are two fields, at the top of the tables that may have the URL of the old account ..
    (i) post_content
    (ii) guid
    * Scroll back up and on the line where the Browse was, click the “SQL” button from the top header .. you should see a text area box with the title “Run SQL query/queries on database health_addiction:” or something like that .. with text inside … DELETE the text inside that box
    * Copy the following 4 commands EXACTLY except you would insert your own URL’s but you get the gist of it. Each command is separate. You copy the first command, then hit GO. Repeat

    UPDATE battling_addiction_posts SET guid = REPLACE (

    – Click GO

    UPDATE battling_addiction_posts SET post_content = REPLACE (

    – Click GO

    UPDATE battling_addiction_posts SET guid = REPLACE (

    – Click GO

    UPDATE battling_addiction_posts SET post_content = REPLACE (

    – Click GO

    You should see a success message, like .. Affected rows: 178 (Query took 0.0284 sec)

    And That’s How You Rename All The Data In Your MySQL Database!

    At this very moment – because was performing my 7th MOVING of the databases .. Everything should work now – except for two final steps

    Step 5 – Change the variables in your wp-config.php file

    Using my FTP program, basically I copied the existing wp-config.php file over from the server to my local computer and then renamed it wp-config.php.battling-addiction .. so I wouldn’t overwrite it – just in case there was future problems – in the immediate future that is. Then, I copied over the wp-config.php file again .. and edited the following variable ..

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘addiction_addiction’); // The name of the database


    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘health_addiction’); // The name of the database

    All other variables stayed the same (if you created it that way .. I modified the username and password actually and changed those too :D)

    Step 6 – Check Data and Update Your Permalinks

    addiction.BattlingForHealth.com … success! The new blog is working perfectly .. but, just in case, I logged into the dashboard/OPTIONS/PERMALINKS and updated them .. before I did anything else.

    At this very moment, I now have 7 moved databases, and 13 more to go. I am in no rush, and plan to do this over the next two weeks .. one blog at a time.

  • scissors
    October 16th, 2007HARTHmmmm Things, Quickies

    Every day my dedicated server automatically sends me a “LogWatch” email run at 4:00am every morning. For the most part, there is not much in there to worry about.

    However, on some occassions I receive some details such as the following:

    Authentication Failures:
    unknown ( 6083 Time(s)

    What I do is use my PuTTy program (to access SSH) and post ..

    iptables -I INPUT -s -j DROP

    … and voila – that IP is permanently banned from accessing anything on my server, or in technical terms denies a specific host from accessing my gateway!

    It’s a neat trick my server Tech Support taught me to do – and, it works. I wish I was more technically adept at stuff like this, but with a blog .. it’s easier to post about something and search for it later, than find a stickum on my office wall fall down behind my desk onto the floor!

    So, if you knew about this – nothing new to see here~! In the meantime, welcome to my new stickum site! hehe

  • scissors
    October 6th, 2007HARTHART-Empire Network

    A Consolidation and Reorganization is in Progress

    October 16, 2007 will mark my second Blogiversary since I started the HART-Empire Network back in October 2005. As a present to myself, I thought I would do a consolidation of my network to better centralize certain themes that I perceive to have, and hopefully to better brand myself and my network. To this end, I have created new domains and have moved the following domains into subdomains of the new domain:

    (OLD URL) >> (NEW URL)

    * “BATTLING FOR HEALTH” (health related sites)

    http://Battling-Addiction.com >> http://addiction.BattlingForHealth.com
    http://Battling-Alzheimer.com >> http://alzheimer.BattlingForHealth.com
    http://Battling-Cancer.com >> http://cancer.BattlingForHealth.com
    http://Battling-Depression.com >> http://depression.BattlingForHealth.com
    http://Battling-Diabetes.com >> http://diabetes.BattlingForHealth.com
    http://Battling-HeartandStroke.com >> http://heart.BattlingForHealth.com
    http://Battling-MS.com >> http://ms.BattlingForHealth.com
    http://Battling-Obesity.com >> http://obesity.BattlingForHealth.com
    http://Battling-Schizophrenia.com >> http://schizophrenia.BattlingForHealth.com
    http://Battling-Stress.com >> http://stress.BattlingForHealth.com

    * “AND YOU WILL” (self-improvement related sites)

    http://AndYouGarden.com >> http://garden.AndYouWill.com
    http://AndYouHaveKids.com >> http://kids.AndYouWill.com
    http://AndYouMarry.com >> http://marry.AndYouWill.com
    http://AndYouRenovate.com >> http://renovate.AndYouWill.com
    http://AndYouRetire.com >> http://retire.AndYouWill.com
    http://AndYouPlayPoker.com >> http://poker.AndYouWill.com
    http://AndYouTravel.com >> http://travel.AndYouWill.com

    * “@ HART MARKET” (shopping and product related sites)

    http://Medieval-Site.com >> http://medieval.HARTmarket.com
    http://The-Furniture-Site.com >> http://furniture.HARTmarket.com
    http://The-Lingerie-Site.com >> http://lingerie.HARTmarket.com
    >> plus a new one! >> halloween.HARTmarket.com

    * I haven’t yet reorganized these sites yet, but I will before 2008~

    “HART” Stuff – (the ME sites) // 1800HART, callHART, HARTandYVONNE, HART-Oscope, etc
    “PETLVR” Stuff – (For all earthlings who love animals) // PetLvr, DogLvr, CatLvr, etc
    “Everything Else” – (non-blogs, forums, lyrics, directory, topsites, etc)

    Consolidation is a daunting challenge

    Quite honestly, the end result is not what I first wanted. I wanted to have subfolders attached to each domain because, for me personally anyway, it’s easier to type … BattlingForHealth.com/cancer/ than it is to type cancer.BattlingForHealth.com. But, I couldn’t get the 301 redirect to work. And, you want a permanent redirection to work to let the search engines know that you have moved your site, and to maintain the link popularity that may be accruing to e.g. the sponsors who I thank in my blogs every month.

    The only way I could get this to work was to use Subdomains.

    Preparation Work – Tools

    Before I give a detailed description of exactly how I managed to move 20 blogs in about 6 hours (about 20 minutes per blog) .. here are the tools or “stuff” that I personally used. They may not apply to your situation, if trying to follow this. I should also mention, that afterwards, I upgraded each of the 20 blogs from the existing version to the latest wordpress version 2.3

    * Access To The Root

    I’m on a dedicated server .. with WHM access for the root, so I am able to create accounts easily. When I was on the Virtual Private Server (VPS) I had access to SSH but I didn’t on the WHM. But, there’s a program called “PuTTy” which I got from here: the.earth.li/~sgtatham/putty/latest/x86/putty-0.60-installer.exe that I can log into the root and perform Secure Shell access stuff. Besides being able to create new accounts, it helps if you are able to modify (chmod) permissions quickly.

    * cPanel access to the individual accounts

    Besides being able to create subdomains for the new account and setup email accounts, I was accessing the MySQL databases and phpMyAdmin

    * FTP Program

    I use and prefer and old copy of WS_FTP_LE that I have had for years. I also have FileZilla but rarely use it. I have my WS_FTP software setup to edit files using NotePad and that makes it quite easy for me to make changes to .php and .txt files, easy to ftp files back and forth to the server, and able to change the permissions of certain files easily.

    * I created a local folder of all the latest plugins I wanted

    I went through all of my blogs and determined what plugins I really need, and what is compatible with the latest version of wordpress 2.3. This was tough for me, because on some blogs I have over 50 plugins activated, and with the new issues with plugins and tagging on wordpress 2.3 .. I really had to think about just what I really wanted and what I really need. In the next section, I’ll list my final choices. Right now – all 20 blogs have been converted to include these plugins. Some blogs might be a little screwy, for instance, if it was using a different plugin for a Contact Form, and I switched it during the upgrade. I figure I will eventually fix everything up in the next month or so.

    * Make A Checklist

    With all the many sites that I had to convert, I didn’t want to forget a step and miss anything. Although, after about the 6th blog conversion I was getting quite proficient at that, I found it quite helpful to make a checklist to be sure I did everything for each account. After a while, I was multi-tasking and converting 2 or 3 at a time. Here is my simple checklist.

    OLD URL ______________
    NEW URL ______________
    VERSION ______________
    HTACCESS ____________
    TAGGING ______________
    RSS FEED _____________
    POSTING _____________

    My Final List Of WP2.3 Plugins I’m Using – Starting Point

    For now, I know I will probably add and test more plugins as they are created, but here are the ones that I setup and placed efficiently on my local C: drive = just as it would eventually end up in my /wp-content/plugins/ folder in each subdomain


    1) Akismet 2.0.2
    2) All in One SEO Pack
    3) Auto-hyperlink URLs 2.01
    4) Auto Social Poster 3.0
    5) Bad Behavior 2.0.10
    6) Evermore 2.2
    7) Exec-PHP 3.0
    8) Feedburner Feedsmith 2.2
    9) Full Text Feed 1.04
    10) Google XML Sitemaps 3.0
    11) InstantUpgrade 0.2
    12/13/14/15) Semiologic Related Plugins 2.14
    16) Share This 1.4
    17) Smart Archives 1.9.1
    18) Spam Karma2 – 2.3 rc4
    19) WordPress Database Backup 2.0
    20) Admin Bar Reloaded for 2.1x
    21) Subscribe to Comments 2.1.1

    That’s it. I’ve deleted all the Firestats, which were popping up as NOT installed ever since I’ve upgraded to wordpress 2.2.3 and will be moving to Performancing Metrics plugin

    22) pMetrics 1.0

    I still need plugins for my recent posts and recent comments, and I’m debating which plugin to use for a Comment Form (Contact Form) as there are several options out there – with akismet and spam control. There may be fine tuning to this list and a dynamic process, not static. I expect changes over time anyway.

    DISCLAIMER: This may or may not be the proper way to do things, and I do not proclaim this to be the best way to do this either! PLEASE! I caution everybody to be remember that this is the way HART did this, not the way YOU should do this. However, after saying this .. I hope that my efforts in documenting what I have done helps others accomplish what they need to be done

    STEP ZERO: Create The New Account!

    It is assumed that you have already registered an account and a cPanel exists. In my examples I will refer to the move of Battling-Cancer.com (cPanel account called “cancer”) to a new account at cancer.BattlingForHealth.com (cPanel account called “health”). MySQL databases are usually named and associated with the cPanel account, and if one exists it would have been called “cancer_wpcancer” or something like that. When I created the new health cPanel account, I did NOT create any new MySQL databases .. just new subdomain, like ‘cancer’. After I created the subdomain – the URL would be cancer.BattlingForHealth.com and the real location on the server was .. /home/health/public_html/cancer/ (a location appearing to be BattlingForHealth.com/cancer/). If I were to create a new MySQL database, it would look something like “health_wpcancer” .. but I didn’t do that. The new account will be using the same database “cancer_wpcancer” and the database will not be moving – just the URL and location will have changed.

    STEP ONE: Backup MySQL Database of the OLD URL

    consolidate-step01.jpgWith the WordPress Database Backup plugin, under Manage in the blog, I made a backup of all tables and stored it on the server. I chose to save it on the server instead of emailing it to my gmail account, because I could easily, with my WP_FTP program .. be sure it was a complete backup and look at it before changes were made.

    STEP TWO: Change the URLs in the OLD blog

    consolidate-step02.jpgIn the old domain, which I was changing, I went into the wordpress OPTIONS/GENERAL and changed both the “WordPress address (URL):” and the “Blog address (URL):” to the NEW URL that the blog would eventually be moved to. I also changed the name title and tagline to reflect the new name. When you click the UPDATE button, you will be kicked out of the blog and receive an error message – that’s okay~!

    STEP THREE: Backup (FTP) ALL of the files to your local directory

    In the current example, I just created a NEW folder for the new subdomain, and FTP’ed everything over into the new folder. I already had an old folder exist, but I ignored it. As an example, I backed up via FTP all the files in the /home/public_html/cancer/*.* to my local c:\BattlingForHealth\cancer\folder.

    STEP THREE-AND-A-HALF: Multitask to speed things up if you want to!

    Basically, I was consolidating two domains at a time, because some of them had a lot of files, pictures, plugins, etc and it cut the time in ‘half’. While the first domain was FTP’ing to my local drive, I worked on the second domain in another tab and then opened up a second version of my WS_FTP program and started to ftp the second set of files simultaneously.

    STEP FOUR: Combine Your New Plugins with your Files

    It was much easier to just copy that newly created folder of the c:\2007_Latest_Wordpress\plugins\
    to the ../wp-content/plugins/ files I just copied over via FTP with my windows explorer. What took about 20 seconds that way would have taken about 3-5 minutes uploading it via FTP. This was especially so, doing two domains at once!

    STEP FIVE: Upload (FTP) The Backup Files to the New Subdomain/Folder

    I then uploaded all of the files from my hard drive, that had updated versions of all of the plugins for wordpress 2.3, to the new subdomain

    STEP SIX: Set The Permissions Accordingly

    I did this all in one step at this time. My blogs were currently on wordpress version 2.2.2 or 2.2.3 and was being updated using the INSTANTUPGRADE plugin. For this plugin, you have to basically chmod everything to full read/write/execute permissions .. and then let the plugin take control of the permissions as it updates, and then places the proper permissions back on the files that are needed. So – if you are following my steps, be careful to do this in a short period of time.

    Using my WS_FTP_LE program, I chmod the root sub-directory where the wordpress blogs is located to 777, or rather to where all the Owner, Group, and Other settings are allowed for Read, Write and Execute .. as my FTP program is old and doesn’t allow me to just type in the permission setting. I set the permissions to the following
    /cancer/ (the subdirctory root folder)
    /cancer/all the wordpress and other files in the directory, except wp-config.php. This included any sitemap.xml files that may have existed. DO NOT change the permission on the wp-config.php file, because this is one of the files that the InstantUpgrade ignores and does not take control of.

    Using my PuTTy program, I logged into my server’s IP address and logged into the root of the dedicated server. I had to set the permissions to chmod 777 on all files, and it takes too long to do in the FTP program, because you can only do one directory view at a time. With the PuTTy program, you can chmod a directory “recursively” which also sets the permissions for all files including subdirectories. The commands in PuTTy to do all of this was..

    chmod 777 -R /home/public_html/cancer/wp-admin
    chmod 777 -R /home/public_html/cancer/wp-includes

    I believe the “-R” has to be in capitals to work. I also did the content folder
    chmod 777 -R /home/public_html/cancer/wp-content
    .. as I need to do it anyway for the cache, backup, theme and the ‘work’ folder for the InstantUpgrade.

    STEP SEVEN: Log In And Update The Permalinks

    Now, in the new subdomain of the moved blog, login and then go to OPTIONS/PERMALINKS and click Update. The settings should be unchanged from the old blog when you go to the screen. It was not recommended to change the structure of the permalinks from what it used to be, but afterwards I found out that it probably wouldn’t have made a difference if I did change the structure, as long as I clicked the Update Permalinks button afterwards.

    STEP EIGHT: Update the Plugins

    In the Plugins .. you should see all the newly updated plugins that were included, and may or may not be activated. You will probably see a lot of the other plugins activated too. What I did, was deactivate all the plugins that were not in my “updated” list on my local hard drive .. and then activated any new plugins that did not exist for the blog yet. At this present time, I have later gone to each site via FTP and deleted the plugins that I am not using, but haven’t modified some necessary results of my new plugins. For instance, on some older domains, I was using one plugin for archives – and I have decided to go with a new plugin that is more user friendly, so I still have to check all the pages and codes that are setup. But .. I will get around to that.

    STEP NINE: Backup The Database

    Once the proper plugins are all activated (for use in wordpress 2.3) .. I performed another backup of the database through MANAGE/BACKUP function, saving the backup on the server. After the backup was made, I set the backup to be made automatically every day and have it emailed to my gmail account.

    STEP TEN: InstantUpgrade

    I performed the InstantUpgrade function .. MANAGE/INSTANTUPGRADE. As I have already set all the permissions, and have a backup – everything should be ready to be upgraded to the “Latest” wordpress. I would suggest that if you are upgrading from 1.5+ version .. only upgrade to 2.0. Then, if you are on 2.0 version, only upgrade to 2.1. And if you are on 2.1, first upgrade to 2.2 version. Then once you are on the 2.2 version upgrade to 2.3.

    I had a serious problem upgrading my PetLvr blog with my archives from 1.5.2 directly to version 2.1, and I think the above is the best way to go. Besides, it takes only a few seconds each time too – so, it shouldn’t be a biggie. By the way, after the upgrade, all the permissions should be back to normal automatically and not a security risk anymore.

    STEP ELEVEN: Make my Blog Tag-Ready to work with TAGGING

    Basically, my blogs all had Ultimate Tag Warrior plugin and some even had Bunny’s Tag installed, but I would have deactivated these plugins by now. On a few of my older templates, I actually had to go in the template and remove the call to the Bunny Tags in the main index.php template and in other cases with my FTP it was easier to just delete the UTW folder directly from the plugin folder online.

    In the Dashboard, go to MANAGE/IMPORT/ and there are two new things to import:

    – Bunny’s Technorati Tags
    – Ultimate Tag Warrior

    In my footer or sidebars, I replaced any UTW code with the following to make a simple tag cloud work until I can figure out a better way to display the tags and categories!

    KEYWORDS - Related Topics & Tag Cloud:
    < ?php wp_tag_cloud(''); ?>

    STEP TWELVE: Set up 301 Redirect in the OLD Domain URL

    At the old location, via FTP .. I converted the existing .htaccess files to the following, overwriting what was there before. I just made the edit in Notepad, modified the domain names and the FTP it to the OLD domain in less than a minute. In this example, I’m changing the .htaccess of Battling-Cancer.com to redirect everything to cancer.BattlingForHealth.com. And, that’s all that had to be done with that file.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /

    RewriteCond %{HTTP_HOST} !^battling-cancer.com\.com$ [NC]
    RewriteRule ^(.*)$ http://cancer.battlingforhealth.com/$1 [R=301,L]

    RewriteCond %{HTTP_HOST} !^www\.battling-cancer.com\.com$ [NC]
    RewriteRule ^(.*)$ http://www.cancer.battlingforhealth.com/$1 [R=301,L]

    I noticed that my AutoHyperLink plugin is changing the above code to remove the http:// so, I took a screen image to show you what the code is for the .htaccess file on the old server:


    STEP THIRTEEN: Update My Feedburner Account

    All my feeds are routed using the Feedburner-Feedsmith plugin and are under control at Feedburner.com. What I did was login to each of my accounts, after the above upgrade, and edit the feed details to change the name of the blog, if necessary, and change the source feed from e.g. Battling-Cancer.com/feed/ to cancer.BattlingForHealth.com/feed/. As the actual feedburner URL doesn’t change, those readers with my feed in their feed reader or Bloglines or Google Reader won’t even notice anything. For those who don’t use a feed reader, the permalinks will just take over.

    STEP FOURTEEN: A Quick Post to let people know that you have moved – Sort of.

    I just basically did a quick post on each blog, replacing applicable URL’s .. so readers won’t have to wonder what happened with the changing of any name and the URL of my domains. It’s just polite to do that.

    STEP FIFTEEN: A Final Thought about Addon Domains

    When everything is done and upgraded .. I have two accounts on my server. Naturally, it will be the new subdomain blog that I will be making upgrades, new plugins, theme modifications .. but it is still a duplicate copy of the files in the original domain blog. You have to remember two things now:

    1) both accounts are sharing the same MySQL database where all the information is.
    2) if you delete the old cPanel account, the MySQL database will automatically be deleted and there is nothing you can do about it!

    I’m setting up “Add-on Domains” to each subdomain, and associating the old domain cPanel accounts to the subdomain. This should help me to NOT accidentally delete the entire blog in a blink.

    When I first started this process, I tried the built-in IMPORT/EXPORT feature of wordpress, but what a crap that turned out to be. It imports everything fine – but, exactly as it was in the old blog. There were a few blogs of mine that had TONS of pictures added to each post (like my Obesity blog), and the imported information just links back to the old domain! So, If I would have created new MySQL databases for each new subdomain – it would have taken MUCH more time to import the data, and then once I delete the old cPanel, all the pictures and links would not be working anymore! Very frustrating. I actually wasted about 3 days finding that out!


    I hope the above steps helps gets your thoughts organized and helps you to convert to wordpress 2.3 or move your blogs from domains to subdomains, or even from domains to subfolders in the existing domain. The same instructions should work for either situation – but, remember that I am writing about what I did for my network, and this might not be suitable for your situation and definitely not every situation.

    Take care // HART

  • scissors
    October 5th, 2007HARTHmmmm Things, Quickies, WooHoo

    * I’m keeping track of my HART-Empire Earnings for 2007 Online ..

    Here is the link: HART-Empire Network Earnings Spreadsheet Document

    September was another great milestone for me and my network .. I decided to consolidate my network into a handful of sites, rather than 50+ sites. This took a little doing for me, actually doing it 3 times I mean, because I had some obstacles in my way in getting everything to work properly with regard to transferring the old domains to the new domains, and the structure involved. I wanted to have mega sites .. with the format .. http://megasite.com/subsite/ but ended up having something like .. http://subsite.megasite.com ..

    These are the mega sites created so far:

    * http://BattlingForHealth.com >> BATTLING FOR HEALTH >> health and fitness and resources
    * http://AndYouWill.com >> AND YOU WILL >> self improvement and related resources
    * http://HARTmarket.com >> @ HART Market >> shopping and affiliated product sites and reviews including a newly created site Halloween @ HART Market offering hallowe’en supplies while they last! (I haven’t yet created the portal site for @ HART Market yet)

    I will be writing an article documenting how I managed to convert everything hopefully, before the (Canadian) Thanksgiving is over. If you have been following my earnings pages here (the Woohoo! category) .. it

    So, needless to say, I consider September 2007 another month of slowdown in my postings and well .. I think you can see this in my September 2007 earnings. I did reach the minimim $100 level payout with Google Adsense this time, but barely. It was mostly due to a splurge in postings over at PetLvr blog, for the Blogging Against Abuse campaign – I was blogging 9.27.2007 to help stop animal cruelty and pet abuse.

    The earnings are on an “Accrual” basis, where I’m documenting what I’ve earned, but monies will usually come in the following month, or (if ever) when I reach the minimum threshold for release of my earnings for payment. The expenditures are on a “Cash” basis, as I pay something related to my online earnings, I just load up the spreadsheet and modify it.

    Summary of Gross Earnings 2007

    * January 2007 – $344.61
    * February 2007 – $372.37
    * March 2007 – $492.41
    * April 2007 – $491.85
    * May 2007 – $620.99
    * June 2007 – $632.47
    * July 2007 – $672.66
    * August 2007 – $701.72
    * September 2007 – $704.35

    ** Year-To-Date Gross Earnings (Jan-Sep/2007) – $5,033.49
    * Average (YTD) $18.44 per day or, $559.28 per month
    *** Still not enough to quit my day job!~


    The expenses were still high, and despite my revenue for September growed slightly over August, my expenses didn’t leave me with any profits. I continued my experiment with some PLR content and freelance writing costs, and trial and error, I will probably be continuing this for the next few months as I try to find out if there is a balance in easing my time in the content generation part of this business, before next season’s tax season comes upon me (where my meat and gravy is). Although, if I could net about $3,000-$5,000 per month I might reconsider where my gravy really is and shift my efforts with a greater consistency. Currently, for the 3 quarters ended September 30, 2007 .. it would appear that I have NETTED $1,317.65 USD in profits – but, I can assure you – there is no savings account or payal account filled with this profit. Oh, where does the money flow .. let my count thy ways.

    I should note that on October 16, 2007 .. will be the 2nd anniversary since I created the HART-Empire Network. Hopefully, all of the consolidation and reorganization will be complete and I can concentrate on the postings and growth and promotion of all sites within this network of sites of mine.

    If someone wants to advertise on any of my sites, I am still trying to create a nice advertising page over at HART-Empire-Network.com/advertise/ however, I’m kind of waiting until all the mega sites and domains are converted – so, I can do it right once for all.

    Take care
    HART (1-800-HART)

  • scissors
    October 3rd, 2007HARTHmmmm Things, Quickies


    I’ve got to admit .. it’s nice to be able to find all the posts by a single author of your blog now .. I actually needed to do this on one of my blogs. Also, in another blog .. it showed me about 150 authors that were created by spammers with the .ru email address!

    I should probably watch that more carefully. Hmmm… what to do with all of these spammer subscribers to my blog … Hmmm

    Related Posts with Thumbnails