ErrorDocument 404 /publicidad/error-404.html
RewriteEngine ON
#RewriteBase /publicidad/
RewriteCond  %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.html$ index.php?page=$1 [QSA,L]