1

Pancake and WordPress = Love

I have Pancake (see note #1) running successfully on “puff” now with WordPress, all working fine. So my next step is completing various comparisons between k0nsl-nginx, Apache and lighttpd so make a decision on my purposed usage of Pancake, to see if it’s viable. But these comparisons will be done in the coming days as I have something else to fix before that.

By the way, a new release of Pancake is available as of today, 1.2.4 (stable, see #note 2).

For those not knowing how to get the permalink / search engine friendly URLs working correctly on Pancake, please see below.

First of all, set permalinks to “/%postname%/” in WordPress. Now set the following rewrite rule in Pancake:


rewrite:
- precondition: 404
pathinfo: ~()(/.+)$~

In case you have set “/index.php/%postname%/” this setting should work:

rewrite:
- pathinfo: ~^(.+.php)(/.+)$~

That should take care of the issue. Enjoy your pancake 

 

Notes:
k0nsl

k0nsl

k0nsl is a programmer, server administrator, designer, moderator, spokesman and factotum of a wide-variety of web pages. You can reach k0nsl via e-mail — i.am@k0nsl.org.

One Comment

  1. Hey,

    i read that you have succefully installed wordpress with pancake so maybe you can help me. I installed pancake successfully on my raspberry pi and this seems to be working fine. After that i downloaded mysql and then wordpress. This succeeded too. If i go to domain.de/wordpress i see the default installation theme and content but i’m absolutely unable to log in. After typing in doamin.de/wp-login.php i get a blank page. Nothing more and no errors in logfile. Did you changed something in your config or do you know what caused my problem?

    Greetings,

    Fetz

Leave a Reply

Your email address will not be published. Required fields are marked *