Melgior skrev: > There's your problem: your rewrite rule only works on links ending in .html > and currently typo3 generates URL's with just directory's, not .html. You > can do two things: change the typo3 config to generate .html links (check > the realurl documentation [1] about the filename directive to know how to do > this) or change your rewrite config to catch all URL's, including the one's > not ending on .html > > Personally, I use the rewrite configuration below. It redirects every URL > except from TYPO3 directories (fileadmin, t3lib, media) to TYPO3 so that it > can be parsed by the RealURL plugin. > > # RealURL: rewrite pages with parameters > RewriteRule > ^/(?!typo3.*|media|fileadmin|t3lib|uploads|index\.php|robots\.txt|favicon\.ico)(.*)\?(.*) > /index.php\?$2 [U,L] > > # RealURL: rewrite pages without parameters > RewriteRule > ^/(?!typo3.*|media|fileadmin|t3lib|uploads|index\.php|robots\.txt|favicon\.ico)(.*) > /index.php [U,L] > > The lines starting with # are just comments btw. > > [1] > http://typo3.org/documentation/document-library/extension-manuals/realurl/1.2.1/view/1/2/#id3693281 > > Thanks, now it works!
/BB _______________________________________________ TYPO3-english mailing list [email protected] http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
