-1
Hi,
have this .htacess
RewriteEngine On
RewriteBase /
RewriteRule ^(css|images|js|fonts) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.+?)/?$ $1.html [L]
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule (.*) http://%1/$1/$2 [R=301,L]
RewriteRule ([a-z0-9]+)/([a-z0-9]+)$ PDOClasses/Pages/checkurl.php?param1=$1¶m2=$2 [L,QSA]
RewriteRule ([a-z0-9]+)/([a-z0-9]+)/$ PDOClasses/Pages/checkurl.php?param1=$1¶m2=$2 [L,QSA]
RewriteRule ([a-z0-9]+)$ PDOClasses/Pages/checkurl.php?param1=$1 [L,QSA]
RewriteRule ([a-z0-9]+)/$ PDOClasses/Pages/checkurl.php?param1=$1 [L,QSA]
I can’t access the index.php
'cause it throws me to checkurl.php
what I did wrong in the rules?
Doesn’t work :(
– Pampulha Tech