December 2011 Archives

Posted by Thijs Kinkhorst on Dec 30------------------------------------------------------------------------- Debian Security Advisory DSA-2263-2 security () debian org http://www.debian.org/security/ Thijs Kinkhorst December 30, 2011 http://www.debian.org/security/faq ------------------------------------------------------------------------- Package : movabletype-opensource Vulnerability : several Problem......
Posted by Thijs Kinkhorst on Dec 30------------------------------------------------------------------------- Debian Security Advisory DSA-2263-2 security () debian org http://www.debian.org/security/ Thijs Kinkhorst December 30, 2011 http://www.debian.org/security/faq ------------------------------------------------------------------------- Package : movabletype-opensource Vulnerability : several Problem......

A New Theme: Patrick

Patrick is a framework-style theme for Melody and Movable Type.

Comic “[terumae] [romae]” is funny

Browsing with the bookstore, collecting, you bought. This, it is funny, it is! … There is the continuation, (1,155 bytes)…...

I'm migrating a rather large (5000+ posts) from Movable Type to WordPress. At this point, I'm stuck trying to ensure that old post urls won't be result in 404s once we go live with the new site.

The old url pattern looks like so:

http://domain.com/site/category/category/post_name.php

And I'd like to redirect those to

http://domain.com/category/category/post_name/

However, I have tried and tried with htaccess redirects, and no matter what I do, it either fails or generates a 500 error. I suspect I'm missing something silly, or that there are conflicting rules maybe, and I'm hoping that someone who knows htaccess better than I do can help me along the right path.

Here's what I've got right now. The rule redirecting /site/ to the root directory works just fine, but the other two have no effect, whether alone or together. I tried both to see if I could redirect a specific post and do it manually that way, but it still won't work.

RewriteEngine On

RewriteRule ^site/(.*) /$1 [NC]
RewriteRule ^site/resources/(.*).php$ /resources/$1 [NC]
RewriteRule ^site/resources/research/safe_urban_form_revisiting_the_relationship_b.php$ /resources/research/safe_urban_form_revisiting_the_relationship_b/ [NC]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Any help would be extremely useful!

[karin] soaking

[karin] which is harvested at the private farm was made the [karin] soaking. … There is the continuation, (466 bytes)…...
Introducing SyntaxHighlighter, indication of the source code super becoming colorful, the float float this time of today it is reason, but in regrettable thing MTML (MovableType Markup Language…...
After introducing SyntaxHighlighter, those which are said, you are completely fascinated in the source code which is indicated in colorfully. Past doing omission, it corrects the source code part which [kopipe] is done hard, (' Ω…...
As been able to indicate the source code with the line number attachment, SyntaxHighlighter was introduced. Concerning SyntaxHighlighter itself that being the case that you say, what while introducing the point which becomes aware even when without, and the matter...
Especially, with the technical field web sight and the like which handles topic such as programming, you think that there are times when type of source code of script and HTML etc is posted in the article, but pointing to...