2
Well, I’m here with a friendly url problem, I’m doing the routes through the file .htaccess
and take the values by $_GET
.Only when I enter the url the content is not loaded, the page is always trying to load and nothing.
htaccess file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^estabelecimentos\/([a-zA-Z-0-9-_]+)\/ index.php?controller=estabelecimentos&option=tipo&tipo=$1 [QSA,L]
There is no PHP error or apache error 500, for example?
– André Ribeiro
There is no error in seeing what happens on this link http://sabeonde.pt/estabelecimentos/bars/
– César Sousa