Página 1 de 1
Ya no me sale el portal al inicio de mi web
Publicado: 21 Feb 2012, 19:47
por angelete1992
Hola, bueno resulta que he instalado el mod phpBB SEO Ultimate SEO URL y ahora al entrar en mi foro
www.viciovita.com ya no me sale el portal, sale directamente el índice general, ¿cómo puedo arreglar eso? un saludo !
Datos de soporte:
URL:
www.viciovita.com
Plantilla(s) usuada(s): Prosilver
board3 Portal 2.0.0 - Beta 1
phpBB SEO Ultimate SEO URL
Versión de phpBB: 3.0.10
Servidor: cyberneticos Hosting1 pago
Un saludo !
Re: Ya no me sale el portal al inicio de mi web
Publicado: 21 Feb 2012, 20:25
por Megabyte
y modificaste el .htaccess ??
Re: Ya no me sale el portal al inicio de mi web
Publicado: 21 Feb 2012, 21:37
por angelete1992
Megabyte escribió:y modificaste el .htaccess ??
Pues sí, es que no me funcionaban las url y lo cambié por uno que encontré por aquí, si quieres subo el .htacces aquí
Re: Ya no me sale el portal al inicio de mi web
Publicado: 21 Feb 2012, 23:44
por Alorse
Al tener SEO instalado simplemente debes agregar las lineas que te pide el portal al archivo con SEO, simplemente vuelve a generar un archivo .htaccess para el foro y luego a ese archivo le agregas las lineas del portal.
Con eso se soluciona.
Re: Ya no me sale el portal al inicio de mi web
Publicado: 22 Feb 2012, 15:09
por angelete1992
Alorse escribió:Al tener SEO instalado simplemente debes agregar las lineas que te pide el portal al archivo con SEO, simplemente vuelve a generar un archivo .htaccess para el foro y luego a ese archivo le agregas las lineas del portal.
Con eso se soluciona.
Gracias por contestar, pero donde encuentro esas líneas que tengo que agregar? perdona es que soy novato xd
Re: Ya no me sale el portal al inicio de mi web
Publicado: 22 Feb 2012, 15:13
por Alorse
angelete1992 escribió:Gracias por contestar, pero donde encuentro esas líneas que tengo que agregar? perdona es que soy novato xd
En el archivo de instalación del portal... cuando descargaste el MOD, este traía unas instrucciones en un archivo
install.xml, ahí están las lineas que necesitas.
Re: Ya no me sale el portal al inicio de mi web
Publicado: 24 Feb 2012, 17:47
por angelete1992
Alorse escribió:angelete1992 escribió:Gracias por contestar, pero donde encuentro esas líneas que tengo que agregar? perdona es que soy novato xd
En el archivo de instalación del portal... cuando descargaste el MOD, este traía unas instrucciones en un archivo
install.xml, ahí están las lineas que necesitas.
mi archivo .htacces es así
Código: Seleccionar todo
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^www\.gratis-programas\.co\.cc$ [NC]
# RewriteRule ^(.*)$ http://www.gratis-programas.co.cc/$1 [QSA,L,R=301]
# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^forum\.html$ //index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ //viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ //viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^announces/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ //viewtopic.php?t=$2&start=$4 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ //viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ //download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^member/([^/]+)/?$ //memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ //search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ //memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ //viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^active-topics(-([0-9]+))?\.html$ //search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^unanswered(-([0-9]+))?\.html$ //search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^newposts(-([0-9]+))?\.html$ //search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ //memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ //viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
osea, tiene casi todo comentado...
y en el instal.xml del porta he visto esta línea
Código: Seleccionar todo
<open src=".htaccess">
<edit>
<find><![CDATA[<Files "common.php">
Order Allow,Deny
Deny from All
</Files>]]></find>
<action type="after-add"><![CDATA[DirectoryIndex portal.php index.php index.html index.htm]]></action>
</edit>
</open>
Así que supongo que tendré que añadir ![CDATA[DirectoryIndex portal.php index.php index.html index.htm]] después de ![CDATA[<Files "common.php">, pero es que en .htacces no encuentro ![CDATA[<Files "common.php">, solo <Files "common.php"> y si añado ![CDATA[DirectoryIndex portal.php index.php index.html index.htm]] hay error en el servidor y si lo añado así DirectoryIndex portal.php index.php index.html index.htm, no cambia nada.
¿Qué se supone que tengo que añadir entonces?
Un saludo !
Re: Ya no me sale el portal al inicio de mi web
Publicado: 24 Feb 2012, 17:55
por Makoto
Al final del .htaccess coloca
DirectoryIndex portal.php index.php index.html index.htm
Re: Ya no me sale el portal al inicio de mi web
Publicado: 24 Feb 2012, 20:25
por angelete1992
Makoto escribió:Al final del .htaccess coloca
DirectoryIndex portal.php index.php index.html index.htm
muchas gracias ! era al final xd