Piero V.

Plugin RewriteURLs (v2.2) [Flatpress]

Italiano

Ho risolto alcuni bug di RewriteURLs, un’alternativa al plugin PrettyURLs di Flatpress.

Per chi non lo conoscesse, sia RewriteURLs, sia PrettyURLs permettono di sfruttare il mod_rewrite del web server “abbellendo” gli URL (tipo quelli del mio blog).

Se non avete mai usato questi plugin dovrete configurare il vostro webserver, per esempio per Apache dovete scrivere in un file .htaccess (cambiate i vostri percorsi):

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /flatpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /flatpress/index.php [L]
</IfModule>

Attenzione: considero questo uno dei miei plugin più complicati. Lo ritengo ancora un software in fase beta.

Licenza: GNU GPLv2

Download: rewriteurls_v2.2.tar.gz

English

I’ve fixed some bugs of RewriteURLs, an altervanive to PrettyURLs.

Both RewriteURLs and PrettyURLs allow to use the mod_rewrite of your server to use nice URLs (like mine).

If you haven’t used one of these plugins yet, you have to configure you webserver: for example, if you use Apache, you have to write in a .htaccess file this code (change your paths):

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /flatpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /flatpress/index.php [L]
</IfModule>

Warning: it’s one of my most complicated plugin: I consider it a beta software.

I’ve also to comment the file because it’s complicated and there are few comments.

License: GNU GPLv2

Download: rewriteurls_v2.2.tar.gz

4 commenti