Solución a problemas de indexación en Joomla 2.5

  • Autor Autor gowkster
  • Fecha de inicio Fecha de inicio
G

gowkster

Delta
Veréis tengo instalado joomla 2.5 y las url amigables activadas, a la hora de ver mi pagina creo que todo funciona bien y sin problemas, el problema viene cuando intento indexar la portada en google.

El caso es que intento indexar pero cuando encuentro mi posición en google por un articulo que tengo en la portada de mi pagina, google me da la URL de esta manera "www.limitetactico.com/index.php?start=16", el caso es que intente tocar alguna cosa mas desde la configuración de joomla pero cada vez que toco algo me salta con errores.

Alguien sabe como hacer que me indexe la pagina como "www.limitetactico.com"y no como "www.limitetactico.com/index.php?start=16"
Si no logro solucionarlo la faena de SEO se ira al traste por que cada X tiempo representa que al cambiarse el numerito del final esa pagina desaparece para dar paso a otra nueva que es la misma pero con otro numero y por lo tanto hay que posicionarla de nuevo.

Gracias
 
Tienes un problema grave que puede provenir de el mod_rewrite del .htaccess

Fijate que la URL de la portada no es solo http:// www. limitetactico. com sino que le agrega index.php al final, incluso a los articulos los incluye asi:

Insertar CODE, HTML o PHP:
www.limitetactico.com/index.php/estigios

y mira esta categoría:

Insertar CODE, HTML o PHP:
http://limitetactico.com/index.php/juegos-online

Además fijate que con www y sin www entra a 2 sitios diferentes, esto tendría que redireccionar para una sola forma de acceder.

Si puedes pega el contenido de tu .htaccess aqui para ver si hay algo raro y para sugerirte los cambios.


Joomla se está volviendo obsoleto y muy aparatoso, estuve teniendo muchos problemas con sitios que hice ya hace un tiempo.
 
Para deshabilitar el problema de que te muestre los index.php, dentro de joomla

Agregar un sufijo a las URLs habilita esa opcion


 
Tienes un problema grave que puede provenir de el mod_rewrite del .htaccess

Fijate que la URL de la portada no es solo http:// www. limitetactico. com sino que le agrega index.php al final, incluso a los articulos los incluye asi:

Insertar CODE, HTML o PHP:
www.limitetactico.com/index.php/estigios

y mira esta categoría:

Insertar CODE, HTML o PHP:
http://limitetactico.com/index.php/juegos-online

Además fijate que con www y sin www entra a 2 sitios diferentes, esto tendría que redireccionar para una sola forma de acceder.

como sabes que entra a dos sitios deferentes??? de todas maneras he mirado de cambiarlo y en el código que pego creo que esta reparado, aunque no tengo demasiada idea de como va el htaccess.

Si puedes pega el contenido de tu .htaccess aqui para ver si hay algo raro y para sugerirte los cambios.


Joomla se está volviendo obsoleto y muy aparatoso, estuve teniendo muchos problemas con sitios que hice ya hace un tiempo.


Te dejo el código del nuevo htaccess, que pensaba que lo solucionaría pero veo que no :


Insertar CODE, HTML o PHP:
##
# @version		$Id: htaccess.txt 21101 2011-04-07 15:47:33Z dextercowley $
# @package		Joomla
# @copyright	Copyright (C) 2005 - 2011 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 <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 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!
#
# 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

# 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
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Gracias por anticipado en la ayuda que me podáis prestar

- - - Actualizado - - -

Para deshabilitar el problema de que te muestre los index.php, dentro de joomla

Agregar un sufijo a las URLs habilita esa opcion




Satanarchist, también probé a hacer lo que tu dices y la verdad es que tampoco funcionó, al final después de pasarme meses para ver como funciona joomla tendré que migrar todo lo hecho a otra plataforma CMS... en el caso que se pueda migrar la información de un pagina.

- - - Actualizado - - -

al final he podido solucionar el tema a base de trastear.... comento la solución por si a alguien le sirve por encontrarse en el mismo problema.....

Paso 1..: descomentar la linea # RewriteBase / del archivo .htaccess

paso 2...: en la configuración de joomla he marcado que si a : Usar la reescritura URL

automaticamente se han borrado los index.php de las URL.... gracias a todos por la atencion :encouragement:
 
como sabes que entra a dos sitios deferentes??? de todas maneras he mirado de cambiarlo y en el código que pego creo que esta reparado, aunque no tengo demasiada idea de como va el htaccess.
[MENTION=21919]gowkster[/MENTION]

Para solucionar esto agrega alguno de estos códigos al htacces, solo una opcion la que tu prefieras y reemplaza ejemplo.com por tu dominio.


De sin www a con www


Insertar CODE, HTML o PHP:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^ejemplo.com
RewriteRule (.*) http://www.ejemplo.com/$1 [R=301,L]

de www para la dirección URL sin www


Insertar CODE, HTML o PHP:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.ejemplo.com [NC]
RewriteRule ^(.*)$ http://ejemplo.com/$1 [L,R=301]


Con esto verás que accediento con o sin www te redireccionara a una sola forma en la barra de direcciones.

Saludos!
 
[MENTION=21919]gowkster[/MENTION]

Para solucionar esto agrega alguno de estos códigos al htacces, solo una opcion la que tu prefieras y reemplaza ejemplo.com por tu dominio.



Saludos!

Hola franquicias, cuanto tarda en hacerse efectiva la redirección? por que si es instantánea esto no funciona o en algo me he equivocado.

Te dejo el nuevo archivo .htaccess para que me diras si lo he incluido correctamente.


Insertar CODE, HTML o PHP:
##
# @version		$Id: htaccess.txt 21101 2011-04-07 15:47:33Z dextercowley $
# @package		Joomla
# @copyright	Copyright (C) 2005 - 2011 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 <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 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!
#
# 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

# 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
RewriteEngine On
RewriteCond %{HTTP_HOST} ^limitetactico.com
RewriteRule (.*) http://www.limitetactico.com/$1 [R=301,L]
 
No esta funcionando ya que debería ser instantanea..

Prueba con el siguiente código que es el que yo utilizo en mis sitios. Por las dudas dale un espacion entre rewrite engine ON y estas lineas..

Insertar CODE, HTML o PHP:
RewriteCond %{HTTP_HOST} ^www.limitetactico.com [NC]
RewriteRule (.*) http://limitetactico.com/$1 [L,R=301]
 
No esta funcionando ya que debería ser instantanea..

Prueba con el siguiente código que es el que yo utilizo en mis sitios. Por las dudas dale un espacion entre rewrite engine ON y estas lineas..

Insertar CODE, HTML o PHP:
RewriteCond %{HTTP_HOST} ^www.limitetactico.com [NC]
RewriteRule (.*) http://limitetactico.com/$1 [L,R=301]

Gracias franquicias, pero hasta hoy no he podido probarlo.

Es extraño pero sigue sin funcionar.... tendré que buscar mas información haber que es lo que está ocurriendo
 
Soy experto Joomla. Vuelveme a decir exactamente que tiene tu sitio, yo te lo arreglo.
 
Soy experto Joomla. Vuelveme a decir exactamente que tiene tu sitio, yo te lo arreglo.

Hola techtempus

Lo siento pero me acabo de dar cuenta ahora de tu mensaje, el caso es que ya lo solucione con un plugin, concretamente con el Artio JoomSEF, que aparte de seleccionar si quieres las www o no las quieres te permite personalizar las URL's ... creo que por ahora ya lo tengo solucionado, pero muchísimas gracias de todas maneras :encouragement:
 
Atrás
Arriba