[TYPO3] Cooluri htaccess & new links

Frank Hüttner Frank.Huettner at web-me.org
Wed Apr 30 11:00:03 CEST 2008


Elijah schrieb:
> Hello, 
> 
> I just moved from realurl to Cooluri and I noticed that the rest of
> my .htaccess entries do not work anymore: 
> 
> RewriteEngine On
> # Rewrite for google sitemap #
> RewriteRule ^sitemap\.xml$ /index.php?type=776
> 
> # CoolURI or Realurl
> RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|
> showpic\.php)$ - [L]
> RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|
> showpic\.php)/.*$ - [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule .* index.php
> 
> When Cooluri is uninstalled, the sitemap.xml entry works again .. why is
> that? 
> 
> I've tried other options though - installed cooluri again and added a
> new link in the link manager but the uri that I'm using doesn't work: 
> 
> URI: @sitemap.xml (I know I should add the domain before the @, but it's
> a site with many domains)
> Parameters: type=776 (I basically needed it to direct to the google
> sitemap page)
> 
> 
> There isn't much info on the manual so maybe someone can help out here? 
> 
> 
> 
> Regards, 
> Elij
> typo3 4.1.6
> cooluri 1.0.11
> 
> 

Hi Elij,

i have following setup:

.htaccess
---------
RewriteEngine On
RewriteRule 
^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)$ 
- [L]
RewriteRule 
^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/.*$ 
- [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php

CoolUriConf.xml
---------------
   <valuemaps>
.
.
.
     <valuemap>
       <parameter>type</parameter>
       <value key="sitemap.xml">776</value>
     </valuemap>
   </valuemaps>

New Link with the CoolURI Backend:
URI: sitemap.xml
Parameters:type=776
Sticky: select this checkbox

Best regards
Frank
TYPO3 4.2
Basic SEO Features (seo_basics) 0.5.5
CoolURI (cooluri) 1.0.11


More information about the TYPO3-english mailing list