Concrete5 en PHP como CGI (Pretty URLs)

PHP como CGI no usa ciertas variables, o no las llena como debe, para hacer funcionar los Pretty URLs en este CMS hay que modificar nuestro .htaccess y /concrete/libraries/request.php

En el .htaccess hay que poner:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

En el /concrete/libraries/request.php hay que agregar


Author: Miguel González López

Software Engineer

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.