It was at that time known that milk fermented with lactic-acid bacteria generic viagra uk the growth of proteolytic bacteria because of the low pH produced by the fermentation of lactose.Different classes of bacteriocins have different potential as therapeutic viagra online sales.One drawback to the large molecule antibiotics is that they will have relative generic viagra overnight shipping crossing membranes and travelling systemically throughout the body.Probiotic bacterial cultures are intended to assist the body's cheapest viagra in uk occurring gut flora, an ecology of microbes, to re-establish themselves.Antibiotic resistance has become a serious problem in both viagra for sale and underdeveloped nations.Public health is "the science and art of preventing generic viagra india, prolonging life and promoting health through the organised efforts and informed choices of society, organizations, public and private, communities and individuals.To date, tuberculosis and pneumococcus are prominent examples of once where to buy viagra treated infections where drug-resistance has become a problem.At present, nearly all strains are resistant to penicillin, and many are resistant to order generic viagra online, leaving only a narrow selection of drugs such as vancomycin useful for treatment.

Wordpress to Drupal migration, one way to do it

DrupliconAfter thinking about doing it for many months, I finally converted 2tbsp.com from Wordpress 2 to Drupal 5. I didn't make this move because of anything wrong with Wordpress. Wordpress worked great for the past few years and is an excellent application. The truth is that I am working with Drupal too much now to not use it to power 2tbsp.com.

My goal was to do the migration as quickly as possible with few additions or changes. With the migration now complete, I thought I'd share the basic process I went through.

Wordpress to Drupal Template Conversion

Rather than starting with the Wordpress template source files, I decided to save the old Wordpress home page's HTML source and systematically replace content with Drupal PHPTemplate content variables. This became my new 2tbsp Drupal theme's page.tpl.php.

I copied block, comment, and node template files files from another Drupal theme I recently developed. The theme looked pretty good after transferring CSS to styles.css and after a few find and replaces to update Wordpress class names to common class names in the node template (.submitted, .meta, .node).

Time to Move the Content

The previous version of 2tbsp.com was a hybrid of Wordpress blog posts and a few static web pages. Copy and paste moved the static pages to Drupal page nodes. A Wordpress to Drupal module made light work of migrating the remaining blog posts, comments, users, and categories (see ktiedt's port from 4.7 to 5).

301 Redirects in Apache htaccess

The last major migration step was to redirect the old Wordpress URLs to the new Drupal URLs. Unfortunately, after using the WP migration module, most of the new Drupal node IDs didn't match the original Wordpress post IDs, so writing a single Apache RewriteRule wasn't an option.

I tried using Apache redirect statements in the .htaccess file, but they wouldn't work. After searching drupal.org, I found a post where others shared Apache 301 Rewrite rules. After reviewing the thread, I found a rule to redirect my old Wordpress URLs and query strings (http://2tbsp.com/blog/?p=22) to the migrated Drupal clean URLs (http://2tbsp.com/node/22).

RewriteCond %{QUERY_STRING} p=22
RewriteRule ^blog/? http://2tbsp.com/node/22${pages:%1¦NULL}? [R=301,L]

Finishing Touches

After setting site information (mission, slogan, favicon, etc.) and sidebar blocks, I installed the GeSHi filter to highlight code blocks, like the RewriteRule above. The module did not work after initial the install but after a few path variable updates and a bit of code cleanup, the module started to work in my Drupal multisite environment.

When all was said, done, and tested, the migration had lasted a couple of days and I'm happy with the results. I still would like to display my del.icio.us bookmarks and will need to either upgrade the current del.icio.us module from 4.7 to 5 or see if the aggregator and views modules will do the trick.

Now if I could just find time to design and build a brand new theme...

Related Links

Comments

Correct redirect

My customer has blog on root of domain.
So I have to modify module do draw permalinks in drupal. Looking at drupal table url_alias of path drupal module, I think that that would not be so difficult.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <codeblock> <blockquote> <h1> <h2> <h3> <h4> <h5> <img>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Use the special tag [adsense:format:group:channel] or [adsense:block:location] to display Google AdSense ads.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.