

When upgrading to realurl external links that point to a old SimulateStatic page are lost.
you can solve this by inserting following RewriteRule to your .htacccess
RewriteRule ([0-9]+)\.([0-9]+)\.html$ http://www.typo3wizard.com/index.php?id=$1&type=$2 [R=301,L]
This rule rewrites all urls with the format whatever[pageID].[typenum].html




RewriteEngine On
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\\.php)/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
RewriteRule ([0-9]+)\\.([0-9]+)\\.html$ http://www.oshkoshpubliclibrary.org/index.php?id=$1&type=$2 [R=301,L]
Do I have something wrong in there?
- jody
the error you made is to put this rule after RewriteRule .* index.php [L]. RewriteRule .* index.php [L] maches everything and stops parsing the rewrite rule. Put the rule before RewriteRule .* index.php [L] and it will work as expected!
I tried putting that before the RewriteRule .* index.php [L] line, and it still doesn't work. Is there something else I'm missing?
- jody
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ([0-9]+)\\.([0-9]+)\\.html$ http://www.typo3wizard.com/index.php?id=$1&type=$2 [R=301,L]
RewriteRule (\\.html|/)$ index.php
Add comment