|
#1
|
|||
|
|||
|
mod_rewrite & promote
is ther any way to make promote addon work with mod rewrite ?
here is my rewrites rules : Code:
7 RewriteEngine on 8 RewriteBase / 9 RewriteRule ^(about|downloads)/?$ index.php?x=$1 10 RewriteRule ^browse/?$ index.php?x=browse 11 RewriteRule ^browse/([1-9][0-9]*)/?$ index.php?x=browse&pagenum=$1 12 RewriteRule ^browse/category/([1-9][0-9]*)/?$ index.php?x=browse&category=$1 13 RewriteRule ^browse/category/([1-9][0-9]*)/([1-9][0-9]*)/?$ index.php?x=browse&category=$1&pagenum=$2 14 RewriteRule ^browse/archive/(19|20)([0-9][0-9])[-](0[1-9]|1[012])/monthname/([^/]+)/?$ index.php?x=browse&archivedate=$1$2-$3&monthname=$4 15 RewriteRule ^browse/archive/(19|20)([0-9][0-9])[-](0[1-9]|1[012])/monthname/([^/]+)/([1-9][0-9]*)/?$ index.php?x=browse&archivedate=$1$2-$3&monthname=$4&pagenum=$5 16 RewriteRule ^browse/tag/([^/]+)/?$ index.php?x=browse&tag=$1 17 RewriteRule ^browse/tag/([^/]+)/([1-9][0-9]*)/?$ index.php?x=browse&tag=$1&pagenum=$2 18 RewriteRule ^comment/submit$ index.php?x=save_comment 19 RewriteRule ^comment/([0-9]+)$ index.php?popup=comment&showimage=$1 20 RewriteRule ^(p|photo)/([0-9]+)$ index.php?showimage=$2 21 RewriteRule ^(p|photo)/([0-9]+)/rating/([1-5])$ index.php?showimage=$2&rating=$3 22 RewriteRule ^t/latest/?$ index.php?showthumb=latest&thumbtag=image 23 RewriteRule ^feeds/(rss|atom).xml$ index.php?x=$1 |
|
#2
|
||||
|
||||
|
I will fix this tomorrow for you...
|
|
#3
|
|||
|
|||
|
whoohoo! you (probably) rocks !
|
|
#4
|
|||
|
|||
|
any news ?
|
|
#5
|
|||
|
|||
|
hum.. nobody about mod_rewrite & promote ?
rewrites rules give headhache to most people, but i'm quite sure i'm not the first to face that problem. would be nice if somebody can release a solution. |
|
#6
|
||||
|
||||
|
This may seems like a stupid question, but in your .htaccess file where you have those mod_rewrite code, you don't have those numbers at the beginning, do you?
It should look like this: Code:
RewriteEngine on RewriteBase / RewriteRule ^(about|downloads)/?$ index.php?x=$1 RewriteRule ^browse/?$ index.php?x=browse RewriteRule ^browse/([1-9][0-9]*)/?$ index.php?x=browse&pagenum=$1 RewriteRule ^browse/category/([1-9][0-9]*)/?$ index.php?x=browse&category=$1 RewriteRule ^browse/category/([1-9][0-9]*)/([1-9][0-9]*)/?$ index.php?x=browse&category=$1&pagenum=$2 RewriteRule ^browse/archive/(19|20)([0-9][0-9])[-](0[1-9]|1[012])/monthname/([^/]+)/?$ index.php?x=browse&archivedate=$1$2-$3&monthname=$4 RewriteRule ^browse/archive/(19|20)([0-9][0-9])[-](0[1-9]|1[012])/monthname/([^/]+)/([1-9][0-9]*)/?$ index.php?x=browse&archivedate=$1$2-$3&monthname=$4&pagenum=$5 RewriteRule ^browse/tag/([^/]+)/?$ index.php?x=browse&tag=$1 RewriteRule ^browse/tag/([^/]+)/([1-9][0-9]*)/?$ index.php?x=browse&tag=$1&pagenum=$2 RewriteRule ^comment/submit$ index.php?x=save_comment RewriteRule ^comment/([0-9]+)$ index.php?popup=comment&showimage=$1 RewriteRule ^(p|photo)/([0-9]+)$ index.php?showimage=$2 RewriteRule ^(p|photo)/([0-9]+)/rating/([1-5])$ index.php?showimage=$2&rating=$3 RewriteRule ^t/latest/?$ index.php?showthumb=latest&thumbtag=image RewriteRule ^feeds/(rss|atom).xml$ index.php?x=$1
__________________
Jay Williams | A Different View |
|
#7
|
|||
|
|||
|
of course the numbers are not in the .htaccess
![]() they only are in my text editor (vim) from wich i copy and paste it. |
|
#8
|
|||
|
|||
|
hum, nobody here ?
|
|
#9
|
|||
|
|||
|
I'm with you Effraie, it's a big lack on our favorite photoblog…
|
| Post Reply |
| Thread Tools | |
|
|