Rewrite WordPress

From Resin 3.0

Jump to: navigation, search

When using WordPress with Quercus, most URLs will be rewritten to the WordPress main index.php page. The WordPress rewriting uses two rules: one rule to passthrough static pages like images, and another rule to rewrite URLs to index.php.

Resin's rewrite uses an <resin:IfFileExists/> condition for the passthrough, and a <resin:Forward> with a target for the rewrite.


<web-app xmlns=""


  <resin:Forward regexp="^" target="/index.php"/>

Personal tools