- .htaccess problem
- Posted by prins.henrik@gmail.com on January 11th, 2006
basicly I want to get this "old" link to work:
http://www.gface.dk/wp-content/plugi...?album=1692474
The url to the same album after my friendly url tweak:
http://www.gface.dk/photos/album/juleaften-2005/
my .htaccess looks like this:
------------------------------------
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule
^photos/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$
/wp-content/plugins/falbum/falbum-wp.php?$1=$2&$3=$4&$5=$6&$7=$8
[QSA,L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
------------------------------------
please help!!! argh!
- Posted by Justin Koivisto on January 11th, 2006
prins.henrik@gmail.com wrote:
Using the above rule:
http://www.gface.dk/photos/album/juleaften-2005/
will be transformed into:
http://www.gface.dk/wp-content/plugi...juleaften-2005
http://www.gface.dk/wp-content/plugi...?album=1692474
should just work as the RewriteRule doesn't match it at all.
I don't see how you can relate the 1692474 to juleaften-2005 unless you
do something like this (before the other rule):
RewriteRule ^photos/album/juleaften-2005/
/wp-content/plugins/falbum/falbum-wp.php?album=1692474
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com


