sepp
04-28-2009, 05:35 PM
Hello together,
My old blog used the se.nsuo.us cleanurls addon. With the 35mm template the clean-urls are different. I don`t like the way the 35mm template generates the urls as they dont include the title of the image (which is good as it gives more idea about the image and more information for google). What can I do?
Turn of the rules of 35mm (replace the .htaccess) and generate clean-urls with se.nsuo.us addon? And if yes... how to do that ? I tried it already but the se.nsuo.us cleanurls are not working with the 35mm template. I suppose I have to change something in the template if I use the other rules but I don`t know what exactly.
Any Idea?
Thanks for your help.
SePp
P.S. here ist my first post but I think this is a issue which should be discussed in a new Thread:
http://www.pixelpost.org/forum/showthread.php?t=10348&page=2
Below the code of the two different .htaccess.
.htaccess of se.nsuo.us cleanurls
RewriteEngine On
RewriteRule ^([0-9]+)(.*)$ index.php?showimage=$1 [L]
RewriteRule ^sitemap.xml$ index.php?z=sitemap
RewriteRule ^about$ index.php?x=about
.htaccess from 35mm template without image title:
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
RewriteRule ^sitemap.xml$ index.php?z=sitemap
My old blog used the se.nsuo.us cleanurls addon. With the 35mm template the clean-urls are different. I don`t like the way the 35mm template generates the urls as they dont include the title of the image (which is good as it gives more idea about the image and more information for google). What can I do?
Turn of the rules of 35mm (replace the .htaccess) and generate clean-urls with se.nsuo.us addon? And if yes... how to do that ? I tried it already but the se.nsuo.us cleanurls are not working with the 35mm template. I suppose I have to change something in the template if I use the other rules but I don`t know what exactly.
Any Idea?
Thanks for your help.
SePp
P.S. here ist my first post but I think this is a issue which should be discussed in a new Thread:
http://www.pixelpost.org/forum/showthread.php?t=10348&page=2
Below the code of the two different .htaccess.
.htaccess of se.nsuo.us cleanurls
RewriteEngine On
RewriteRule ^([0-9]+)(.*)$ index.php?showimage=$1 [L]
RewriteRule ^sitemap.xml$ index.php?z=sitemap
RewriteRule ^about$ index.php?x=about
.htaccess from 35mm template without image title:
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
RewriteRule ^sitemap.xml$ index.php?z=sitemap