Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/plugins/avatarep.php on line 1102

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
De foro/index.php a /foro solo.
noctus   7 Dec, 2011, 4:45 am
#1
Pienso que, el nombre del post lo dice todo. espero me pueda ayudar, ya que en home me sale cuando le pincho que va bien, pero cuando le doy al logo me lleva a /foro y me da error. pueden verlo ustedes mismos.

www.vagosfilm.com/foro (el que quiero que vaya)
www.vagosfilm.com/foro/index.php (El que va pero quiero que se vea en /foro)

Gracias ^^
Denis G.   7 Dec, 2011, 4:52 am
#2
Podrias poner esto en .htaccess dentro de la carpeta foro..

Código PHP:
<?php 
DirectoryIndex index
.php index.html
noctus   7 Dec, 2011, 4:56 am
#3
Gracias por tu pronta respuesta, en el htaccess, todo lo que hay dentro lo cambio, o lo pngoo al final o al principio, solo eso.
Jaizu   7 Dec, 2011, 6:34 am
#4
Puedes insertarle una redirección en el Panel del Host ^^
Omar G.   7 Dec, 2011, 1:53 pm
#5
(7 Dec, 2011, 4:56 am)noctus escribió: Gracias por tu pronta respuesta, en el htaccess, todo lo que hay dentro lo cambio, o lo pngoo al final o al principio, solo eso.

Donde sea.
noctus   9 Dec, 2011, 7:36 am
#6
lo he hecho y no va. si me podriais pasar el codigo completo... del htaccess.... please.
Straton   9 Dec, 2011, 8:44 am
#7
Yo tengo este htaccess en mi foro:

Código:
DirectoryIndex index.php index.html
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>
ByStriker   26 Aug, 2012, 8:43 am
#8
Perdon pero los dos links me dan 404...
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.