Hi
First I’d like to say many thanks indeed for a great resource. I’ve found many solutions here before now. I will start to repay that.
My current issue is as a result of adding a simple blog to my site by copying the one from the standard installation. It works pretty well apart from the pagination.
When I click on the link for page 2 (or Next) the URL is www.mydomain.com/blog.htm?start=2 which results in a page not found. If I turn friendly URLs off it works but that is not a long-term solution.
I am running Evo 1.02 on IIS6. I have Friendly URLS on with no prefix, yes to aliases and no to path.
My blog page is not cached and the snippet calls are not cached. I have tried clearing caches and restarting IIS but to no avail.
I wondered if the problem is due to my rewrite.dll settings? Here’s my rewrite.ini:
RewriteEngine On
RewriteRule ^/manager/.* - [L]
RewriteRule ^/assets/.* - [L]
RewriteRule /(.*).html /index.php?q=$1
As you can probably tell I’ve spent some time trawling these board for the answer to this and failed so far. GI’d be very grateful for any ofurther suggestions.
Thanks,
Tony.
Quote from: Fat at Jun 17, 2010, 03:48 AM
RewriteRule /(.*).html /index.php?q=$1
you have no
[QSA] in the end of your rule.
Standart .htaccess rule:
# For Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Thanks for the replies.
It is true that I am using .htm as the suffix but updating the .ini made no difference.
I also tried adding [L,QSA] but again with no effect.
Cheers,
Tony.
try to use standart .htaccess rewrite rule (my prev post)
Is it work?