Ayuda .htaccess por favor - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > International > Spanish

Reply
 
Thread Tools Display Modes
Old 01-05-2012   #1
djmarkes
 
Join Date: Dec 2009
Posts: 9
djmarkes is on a distinguished road
Question Ayuda .htaccess por favor

Hola, no se que pasa que no doy con la solución para ver mi web correctamente.

El dominio para entrar es www.electronicroom.net, éste redirecciona a la carpeta /er/ en mi servidor, que es hay donde está instalado eSyndicat.

Estp es lo que tengo en mi htaccess:

Code:
# enable mod_rewrite
RewriteEngine on
RewriteBase /er/


RewriteCond %{HTTP_HOST} ^electronicroom\.net$
RewriteRule (.*) http://www.electronicroom.net/$1 [R=301,L]

# SECTION 1
# correct urls for yahoo bot
RewriteCond %{REQUEST_URI} !\..+$
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]

# SECTION 2
# mod_rewrite rules for ROOT category
RewriteRule ^index([0-9]+).html$ index.php?category=0&page=$1 [QSA,L]

# SECTION 3
# mod_rewrite rules for categories pages with HTML path option disable
RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]
RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]

# SECTION 4
# mod_rewrite rule for suggest listing page
RewriteRule report-listing.php$ report-listing.php [QSA,L]

# SECTION 5
RewriteRule ^([a-z]+)-listings.html$ listings.php?view=$1 [QSA,L]
RewriteRule ^([a-z]+)-listings([0-9]+).html$ listings.php?view=$1&page=$2 [QSA,L]

# SECTION 6
# mod_rewrite rules for view listing page
RewriteRule ^([^/]+)-l([0-9]+).html$ view-listing.php?cat=&title=$1&id=$2 [QSA,L]
RewriteRule ^(.*)/([^/]+)-l([0-9]+).html$ view-listing.php?cat=$1&title=$2&id=$3 [QSA,L]

# SECTION 7
# mod_rewrite rules for additional pages
RewriteRule ^p(.*).html$ page.php?name=$1 [QSA,L]

# SECTION 8
# mod_rewrite rules for error pages
RewriteRule ^([0-9]+).htm$ error.php?error=$1 [QSA,L]

# SECTION 9
# mod_rewrite rules for suggest category page
RewriteRule ^suggest-category-([0-9]+).html$ suggest-category.php?id=$1 [QSA,L]

# SECTION 10
RewriteRule ^LICENSE.htm$ LICENSE.htm [QSA,L]

# SECTION 11
# mod_rewrite rules for categories pages
RewriteRule ^(.*)_([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]
RewriteRule ^(.*).html?(.*)$ index.php?category=$1&$2 [QSA,L]
RewriteRule ^(.*).html$ index.php?category=$1 [QSA,L]

# mod_rewrite rules for news page
RewriteRule ^(.*)-n([0-9]+).html$ news.php?title=$1&id=$2 [QSA,L]
RewriteRule ^news.html$ news.php [QSA,L]
RewriteRule ^news([0-9]+).html$ news.php?page=$1 [QSA,L]

# SECTION 12
ErrorDocument 500 500.htm
ErrorDocument 404 404.htm
ErrorDocument 403 403.htm
ErrorDocument 401 401.htm
Haver si alguien puede decirme que tengo que poner para que me funcione correctamente.

Un saludo y gracias a todos.
djmarkes is offline   Reply With Quote
Old 04-17-2012   #2
foxonline
 
Join Date: Dec 2006
Posts: 57
foxonline is on a distinguished road
Default

Veo que no has solucionado el tema, es más pienso que has pasado del directorio. Dime si necesitas ayuda con el .htaccess.

Saludos.
foxonline is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:02 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us