Hola a todos, no hay forma que funcionen las url amigables, el mod_rewhite funciona correctamente ( creo) pero cuando activo la opción desde la configuración global no jay manera.... como lo puedo solucionar ??
saludos !
Hola KLIPING,
Supongo que desde la configuración global --> parámetros de SEO activas los 3 o 2 primeros. Es necesario para que la optimización para buscadores funcione. El siguiente enlace hay un vídeo que te explica como configurarlo: https://www.webempresa.com/blog/item/317-urls-amigables-en-joomla.html
Tal como indica el mensaje emergente cuando se activa el segundo parámetro, tienes que renombrar el archivo htaccess.txt de la raíz donde tienes instalado Joomla!, a .htaccess
Saludos,
Si, las tengo las 3 activadas, y en la raíz renombre htaccess.txt a .htaccess pero sigue sin funcionar....
Hola,
Indicanos cual es la url del sitio web. Comprueba que el archivo .htaccess tenga texto, en algunos hostings es un archivo que esta por defecto pero tiene 0 bytes.
Si estas alojado con nosotros si que hay el mod_rewrite activado, pero si estas en otro hosting tendrás que consultar si lo tienen activado.
Saludos,
Si, lo tengo en webempresa, te adjunto lo que pone en el fichero....
=================
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
########## 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!
#
## Deny access to extension xml files (uncomment out to activate)
#
#Order allow,deny
#Deny from all
#Satisfy all
#
## End of deny access to extension xml files
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 tag in URL
RewriteCond %{QUERY_STRING} (|%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
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
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]
#
########## End - Joomla! core SEF Section
Hola KLIPING,
El fichero es correcto indícanos la url del frontal del sitio web.
Saludos,
toldosraiva.es ( la estamos haciendo, pero bueno algo podrás ver)
Jolines !!!! no se que narices hize que esto ya funciona !!!!
gracias de todos modos !!!
saludos al foro 1
Hola KLIPING,
Estupendo que lo hayas solventado, aunque nos quedemos sin saber exactamente que es lo que hiciste para dicha solución. 😉
Saludos
Pués la verdad no se realmente dónde toque, si lo supiera ya lo hubiese posteado, a veces pasan cosas muy raras :-((((
saludos !
A mi me pasa algo parecido, configuré como dice el video, renombré el archivo a .htaccess y revisé que tuviera texto. Pero cuando accedo a una enlace que no sea el "Home" me da un error 404 y sale mal el enlace: http://djdeoliveira.com/B%C3%BAsqueda%20inteligente/Actualizar%20Joomla!/news.html se puede suponer que el joomla está desactualizado, pero lo está a la última versión o eso pone en el panel de control.
Este es el sitio en cuestión: http://djdeoliveira.com
Gracias.
Hola Maria
Actualmente veo que si carga correctamente
Contenido solo visible a usuarios registrados
Ten en cuetna que es preferible no tener caracteres de espacio y tampoco caracteres con tildes o caracteres especiales como parte de la url, esto se debe completar al hacer un artículo en el campo de alias
Saludos.
Sí, ahora funciona por que desactivé las urls amigables, pero si las activo da el error 404 en todas las paginas que no sean "Home", los titulos de menu y las categorias no tienen ningún espacio ni caracteres especiales, lo que no se tampoco es por que en vez de ".com/news" aparece " com/B%C3%BAsqueda%20inteligente/Actualizar%20Joomla!/news.html" (se que el % es por los espacios, lo que no se es por que sale ese texto en vez de solo news)
Hola Maria,
Cosas que me comenta un Técnico de Soporte que deberías tener en cuenta:
Contenido solo visible a usuarios registrados
En nuestros servidores no es necesaria la capa FTP, no podrás instalar extensiones. ¡Deshabilitala!.
¿Puedes mostrarnos una captura de como tienes actualmente los parámetros SEO de la Configuración Global de esa instalación?.
¿Podemos adicionalmente ver el contenido de tu archivo .htaccess?.
Saludos
Ok, voy a actualizar Joomla, por eso puse o "eso pone" ya me parecia raro que estuviera actualizado.
En los parametros SEO probé varias opciones, esta última vez puse todo en SI. Añadir Nombre del Sitio a los Títulos de Páginas: Antes
y el archivo .htaccess:
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
## Mod_rewrite in use.
RewriteEngine On
## 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 base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
# Block out any script that includes a tag in URL.
RewriteCond %{QUERY_STRING} (|%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})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
# RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.