Ducks
03-03-2007, 09:04 AM
I'm using ZointsSEO on my board to optimize the URLs, but I think they could be even more optimized for.
We have 3 common special characters in Denmark I wanna replace with something else than an underscore:
? should be replaced by ae
? should be replaced by oe
? should be replaced by aa
I would also like if the URLs look like http://domain.dk/thread/ID/title/ instead of http://domain.dk/titl-tID.html
Here's the .htaccess from ZointsSEO:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([a-z0-9_\-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_\-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index\.php|\.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]
We have 3 common special characters in Denmark I wanna replace with something else than an underscore:
? should be replaced by ae
? should be replaced by oe
? should be replaced by aa
I would also like if the URLs look like http://domain.dk/thread/ID/title/ instead of http://domain.dk/titl-tID.html
Here's the .htaccess from ZointsSEO:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([a-z0-9_\-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_\-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index\.php|\.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]