Forums / Cotonti / Support / url mod_rewrite page_add bug

question about page_add bug solving with mod_rewrite enabled

GHengeveld
#23424 2010-03-07 05:20
Using a custom function for URL rewriting is a very powerful feature, but requires quite some skill and knowledge to apply correctly. I've never used it myself, so it's beyond my knowledge, even though I use the rewriting system a lot.

Added 24 minutes later:

Come to think of it, I don't think it's possible to rewrite the main url, for editing the subdomain.

You can still do it through .htaccess, but that won't really rewrite the url, only redirect the visitor so it seems to him there was a subdomain specified.
- Cotonti rewrite to www.domain.com/cat/subcat
- .htaccess rewrite www.domain.com/cat/subcat to cat.domain.com/subcat, with [R=301] specified
- .htaccess rewrite cat.domain.com/subcat to www.domain.com/list.php?c=subcat without [R=301]

Dit bericht is bewerkt door Koradhil (2010-03-07 05:45, 15 jaren ago)