Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » Joomla »

Urls amigables

Estas en el tema de Urls amigables en el foro de Joomla en Foros del Web. Se que hay muchos temas abiertos y mucha información por la web, pero no doy con la solución a mi problema. Tengo instalado el JoomSEF ...
  #1 (permalink)  
Antiguo 21/06/2011, 07:20
Avatar de andriuch  
Fecha de Ingreso: abril-2004
Mensajes: 65
Antigüedad: 20 años
Puntos: 0
Exclamación Urls amigables

Se que hay muchos temas abiertos y mucha información por la web, pero no doy con la solución a mi problema.

Tengo instalado el JoomSEF y el htaccess.txt renombrado a .htaccess

En mi página tengo una columna derecha donde muestro diferentes modulos dependiendo de la sección en la que me encuentre. Hasta ahí bien y normal, no? Bien pues mi problema es que cuando activo las URL's amigables y entro en un artículo, en la columna de la derecha me aparecen los módulos de la home, no los que deberían aparecer por la sección en la que nos encontramos. Lo más raro de todo es que no me pasa en todas las secciones...

Alguna idea?? Gracias.
  #2 (permalink)  
Antiguo 21/06/2011, 09:49
vtj
 
Fecha de Ingreso: febrero-2011
Mensajes: 613
Antigüedad: 13 años, 2 meses
Puntos: 40
Respuesta: Urls amigables

Ciao

SIn el mod_rewrite y el .htaccess tambien te pasa?

En el htaccess has deshabilitado la sección Begin - Joomla! core SEF Section y habilitado la sección Begin - 3rd Party SEF Section?
  #3 (permalink)  
Antiguo 22/06/2011, 01:45
Avatar de andriuch  
Fecha de Ingreso: abril-2004
Mensajes: 65
Antigüedad: 20 años
Puntos: 0
Respuesta: Urls amigables

Sin el mod_rewrite y el .htaccess no me pasa.

El htaccess lo tengo como me comentas, mira, os copio el código del htaccess a ver si veis algo mal:

Código:
#####################################################
#  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
DirectoryIndex index.html index.php

########## 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)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## 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 <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

#  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

######### Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]         ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
  #4 (permalink)  
Antiguo 22/06/2011, 02:03
vtj
 
Fecha de Ingreso: febrero-2011
Mensajes: 613
Antigüedad: 13 años, 2 meses
Puntos: 40
Respuesta: Urls amigables

Ciao

Prueba publicando
# RewriteBase /

y dejándolo en
RewriteBase /
  #5 (permalink)  
Antiguo 22/06/2011, 02:47
Avatar de andriuch  
Fecha de Ingreso: abril-2004
Mensajes: 65
Antigüedad: 20 años
Puntos: 0
Respuesta: Urls amigables

Tampoco me ha servido... seguimos igual...
  #6 (permalink)  
Antiguo 22/06/2011, 03:32
vtj
 
Fecha de Ingreso: febrero-2011
Mensajes: 613
Antigüedad: 13 años, 2 meses
Puntos: 40
Respuesta: Urls amigables

Ciao

Lo siento nunca he usado JoomSEF y no puedo ir más allá

Etiquetas: amigables, url
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 06:48.