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

sh404SEF modificar url (sin index.php)

Estas en el tema de sh404SEF modificar url (sin index.php) en el foro de Joomla en Foros del Web. Yo tengo instalado el sh404sef y tengo el problema que todas mis url salen con el index.php . osea asi seria una url mia: www.sitio.com/ ...
  #1 (permalink)  
Antiguo 04/04/2008, 10:51
Avatar de skullz-group  
Fecha de Ingreso: noviembre-2007
Ubicación: Catalunya
Mensajes: 461
Antigüedad: 16 años, 5 meses
Puntos: 10
sh404SEF modificar url (sin index.php)

Yo tengo instalado el sh404sef y tengo el problema que todas mis url salen con el index.php.
osea asi seria una url mia: www.sitio.com/index.php/sección/categoria/noticia

Aqui dejo mi .htaccess a ver si alguien me dice que tengo mal:

Código:
##
# @version $Id: htaccess.txt 5973 2006-12-11 01:26:33Z robs $
# @package Joomla
# @copyright Copyright (C) 2005 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.
#
# Only use one of the two SEF sections that follow.  Lines that can be uncommented
# (and thus used) have only one #.  Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section.  You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################

#####  SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla!/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla!/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On


#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla!/MamboDirectory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] 		##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## 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



########## 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
  #2 (permalink)  
Antiguo 04/04/2008, 18:56
Avatar de SidP  
Fecha de Ingreso: febrero-2006
Ubicación: /etc/php.ini
Mensajes: 129
Antigüedad: 18 años, 2 meses
Puntos: 2
Re: sh404SEF modificar url (sin index.php)

hola skullz-group
y te aseguraste de haber activado el mod_rewrite porque segun la documentacion el index.php/ sale al no estar usando el .htaccess...yo actualmente lo estoy usando y me funciona sin problemas con la configuración que trae en la ayuda...

Saludos
  #3 (permalink)  
Antiguo 05/04/2008, 07:17
 
Fecha de Ingreso: abril-2008
Ubicación: España, Alicante
Mensajes: 2
Antigüedad: 16 años
Puntos: 0
Re: sh404SEF modificar url (sin index.php)

Comenta # en httacces las reglas normales para es seo estándar de joomla y prueba, debería de funcionar, ¿Has comprobado la configuración avanzada?
  #4 (permalink)  
Antiguo 05/04/2008, 08:09
Avatar de skullz-group  
Fecha de Ingreso: noviembre-2007
Ubicación: Catalunya
Mensajes: 461
Antigüedad: 16 años, 5 meses
Puntos: 10
Re: sh404SEF modificar url (sin index.php)

Gracias a SidP y a Kurt66 por orientarme para solucionar este problema.
Hola a todos ayer por la noche pude solucionar el problema y aqui les dejo dos screens para que vean como tienen que tener el sh404 configurado.

Screen 1 Configuración sh404SEF --->Pestaña Main



Screen 2 Configuración sh404SEF --->Pestaña Avanced


Si pones estos dos puntos como aqui indican los screens no tendras más el index.php antes de tus secciones y categorias.
  #5 (permalink)  
Antiguo 22/04/2008, 11:07
 
Fecha de Ingreso: abril-2008
Ubicación: Algarve, Portugal
Mensajes: 1
Antigüedad: 16 años
Puntos: 0
Pregunta Re: sh404SEF modificar url (sin index.php)

Hola a todos,

Yo tuve el mismo problema que skullz-group, pero cuando cambio para "with .htaccess (mod_rewrite)", me deja de funcionar el website. Me da el error:

Cita:
Not Found

The requested URL /News/Algarvemais.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Alguien sabe que me falta hacer?
  #6 (permalink)  
Antiguo 01/05/2008, 22:47
 
Fecha de Ingreso: mayo-2008
Mensajes: 4
Antigüedad: 15 años, 11 meses
Puntos: 0
Re: sh404SEF modificar url (sin index.php)

Lo que tienes que hacer es ir Configuracion de SEF404, LUEGO a la opcion
Default index file ahy no tiene que haber nada osea en blanco con eso creo que solucionas lo tuyo.
saludos
  #7 (permalink)  
Antiguo 17/11/2009, 20:29
 
Fecha de Ingreso: octubre-2008
Mensajes: 162
Antigüedad: 15 años, 6 meses
Puntos: 11
Respuesta: sh404SEF modificar url (sin index.php)

Muy buenas tardes, se que este tema fue pacticamente cerrado en 2008, pero espero que me puedan ayudar....

tengo instalado el sh404sef y me doy cuenta que no tiene en su menu la opcion de advanced, por lo que creo que no es la misma versión....

he buscado y buscado por internet pero no lo encuentro en ningún lado y tengo el mismo problema del index.php... por lo que le ruego a alguin que lo tenga que me lo pueda compartir por favor... es para la version de jommla 1.0.x,

desde ya agradezco mucho la ayuda... y agradezco al foro ya que siempre me han ayudado en variados temas.... saludos...

mi mail es [email protected].
  #8 (permalink)  
Antiguo 18/11/2009, 00:31
Avatar de Larenz
Colaborador
 
Fecha de Ingreso: enero-2007
Ubicación: Nicaragua
Mensajes: 1.398
Antigüedad: 17 años, 3 meses
Puntos: 55
Respuesta: sh404SEF modificar url (sin index.php)

Oye no te ofrezco una ayuda sino un consejo... no uses el Joomla 1.0.x eso es trabajar de más... cualquiera te puede hackear ese sitio debido a las vulnerabilidades que presenta. En este foro hay tutoriales a seguir para migrar de Joomla 1.0.x a Joomla 1.5.x

Toma este consejo, además ya no están dando soportes tanto en plugins, componentes, módulos para esa versión así como plantillas, muchos incluso están advirtiendo desde sus sitios webs que solo saldrán para versiones Joomla 1.5.x
  #9 (permalink)  
Antiguo 18/11/2009, 01:00
 
Fecha de Ingreso: octubre-2008
Mensajes: 162
Antigüedad: 15 años, 6 meses
Puntos: 11
Respuesta: sh404SEF modificar url (sin index.php)

Lorenz... sabes que? la verdad es que me resistia a cambiarme de versión por la costumbre y por el manejo que tengo en esta versión... he usado muuuuy poquito la version 1.5 y me doy cuenta en realidad no es tanta la diferencia.... tienes mucha razon en eso de las vulnerabilidades, etc.. asi que voy a seguir tu consejo.... te agradezco mucho... y como estoy en plena creación de un sitio mejor lo cambio altiro antes que sea muy tarde.... gracias!!...
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

SíEste tema le ha gustado a 3 personas




La zona horaria es GMT -6. Ahora son las 03:28.