Message Text |
Hi Paul!
I tried to use the mod-rewrite option. At first, each link looks similar to:
http://www.yourdomain.com/36 (for categories)
http://www.yourdomain.com/links/654 (for outgoing links)
http://www.yourdomain.com/detail/link-name-35.html (for detail page)
1.
Ok, I like to use following style for outgoing links:
http://www.yourdomain.com/links/654.html
or much better (but not tested)
http://www.yourdomain.com/links/linktitle.html
I changed the .htaccess:
RewriteRule ^links/([a-z]+)/([0-9]+).html$ link.php?action=$1&id=$2
RewriteRule ^links/([0-9]+).html$ link.php?id=$1
Now, I have to change the modrewrite.php, right?
Wich line I have to change? I tried to change line 58 & 66 from:
$altered .= $settings->rewritelink .'/'. $action .'/'. $getid[1];
to
$altered .= $settings->rewritelink .'/'. $action .'/'. $getid[1].'.html';
But nothing happens.
2.
Last but not least, I like to use following style for catlinks:
http://www.yourdomain.com/catname/ (with trailing back-slash)
and for subcategories:
http://www.yourdomain.com/catname/subcatname/ (with trailing back-slash)
So far, what I have to do?
BG
Jan |