435175b1e2
Se modifica front page con el index que trae Martin Reiris Se valida completamente el formulario de registro(tanto captcha como lo demas) Se crean las paginas con php y se usa include_once para no tener que repetir el header, footer y demas
11 lines
378 B
ApacheConf
11 lines
378 B
ApacheConf
RewriteEngine On
|
|
#example.com/page will display the contents of example.com/page.html
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME}.php -f
|
|
RewriteRule ^(.+)$ $1.php [L,QSA]
|
|
|
|
#301 from example.com/page.html to example.com/page
|
|
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.php\ HTTP/
|
|
RewriteRule ^(.*)\.php$ /$1 [R=301,L]
|