El problema es que quiero implementar url amigables con este complemento funciona bien pero ya nome reconoce las redirecciones que tenia antes en el cpanel.
intento colocar el codigo que tenia en el .htaccess osea dejo ambos y no funciona.
buscando buscando puedo combinar el codigo pero sin estas dos lineas:
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
si las quito sirve el direccionamiento url que hay en el cpanel, pero no funcional las url amigables.
alguna ayuda gracias: pongo todo el codigo que supongo deberia ir para que funcione ambas pero como comento hay conflicto gracias!!!
Código:
DirectoryIndex index.php RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits ################################################################################################## RewriteCond %{HTTP_HOST} ^senork.com$ RewriteRule ^(.*)$ "http\:\/\/www\.senork\.com\/$1" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^virtual\/?$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=category\&layout\=blog\&id\=26\&Itemid\=18\/" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^cursos$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=13\&Itemid\=3" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^empresas$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=82\&Itemid\=36" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^encuesta$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_wrapper\&view\=wrapper\&Itemid\=17" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^programacion$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=category\&layout\=blog\&id\=13\&Itemid\=15" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^primercontacto$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=133\&Itemid\=3" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^ipod$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=60\:curso\-ipod\&catid\=2\:hogar\&Itemid\=3" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^blogs$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=66\:blogger\&catid\=2\:hogar\&Itemid\=3" [R=301,L] RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^profesionales$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=83\:internet\-para\-profesionales\&catid\=3\:profesional\&Itemid\=3" [R=301,L] RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^camarasdigitales$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=19\:camara\-digitales\&catid\=2\:hogar\&Itemid\=3" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^regalaconocimiento$ "http\:\/\/www\.senork\.com\/index\.php\?option\=com_content\&view\=article\&id\=181\:bono\-regalo\&catid\=45\:bono\-regalo" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^resultadostalleres$ "http\:\/\/spreadsheets\.google\.com\/ccc\?key\=0Am1t1fUKJt2IdGNOMGtlQUgwZGdodG5pWjdZRl9XdlE\&hl\=es" [R=301,L] RewriteCond %{HTTP_HOST} ^senork.com$ [OR] RewriteCond %{HTTP_HOST} ^www.senork.com$ RewriteRule ^encuestatalleres$ "http\:\/\/spreadsheets\.google\.com\/a\/sr\-k\.net\/viewform\?hl\=es\&cfg\=true\&formkey\=dGNOMGtlQUgwZGdodG5pWjdZRl9XdlE6MA" [R=301,L] RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^internetaltagerencia$ "http\:\/\/www\.senork\.com\/index\.php\?Itemid\=99\&option\=com_zoo\&view\=item\&category_id\=2\&item_id\=8" [R=301,L]