Valutazione discussione:
  • 1 voti - 5 media
  • 1
  • 2
  • 3
  • 4
  • 5
Mybb seo
Autore Messaggio
Simo Offline
Utente
***

Messaggi: 169
Registrato: Apr 2008
Reputazione: 0
Versione: MyBB 1.4.4
Messaggio: #1
Mybb seo
da dove si attiva mybb seo? in mybb 1.4? non lo trovo
EDIT:
Trovato ..
XO non funzione penso sia l .htaccess il problema
eccolo
Codice:
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-([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/x-javascript text/css text/html text/xml
</IfModule>

[Immagine: banner1.png]
(Questo messaggio è stato modificato l'ultima volta il: 03-08-2008 10:40 da Kimi.)
03-08-2008 10:16
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
Kimi Offline
Amministratore
Amministratori

Messaggi: 696
Registrato: Jul 2007
Reputazione: 25
Versione: MyBB 1.4.13
Messaggio: #2
RE: Mybb seo
per motivi di compatibilita' gli .htaccess sono stati rominati in htaccess.txt per utilizzare questa funzione correttamente , rinomina htaccess.txt in .htaccess
03-08-2008 10:35
Trova tutti i messaggi di questo utente
Simo Offline
Utente
***

Messaggi: 169
Registrato: Apr 2008
Reputazione: 0
Versione: MyBB 1.4.4
Messaggio: #3
RE: Mybb seo
Lo ho gia ftt ... ma nn va e la funzione mod_rewrite è attiva
Ho risolto..
Potete chiudere ho aggiunto una stringa al .htaccess

[Immagine: banner1.png]
(Questo messaggio è stato modificato l'ultima volta il: 03-08-2008 10:39 da Simo.)
03-08-2008 10:36
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
xeniun Offline
Fedelissimo di MyBB
******

Messaggi: 805
Registrato: Aug 2006
Reputazione: 18
Versione: MyBB 1.4.4
Messaggio: #4
RE: Mybb seo
Infatti mancava di modificare il file .htaccess evidentemente. Wink
Bisogna inserire i file .htaccess nelle cartelle principali interessate oppure dichiarare a quale cartella devono essere applicate le istruizioni.
(Questo messaggio è stato modificato l'ultima volta il: 03-08-2008 11:04 da xeniun.)
03-08-2008 10:56
Trova tutti i messaggi di questo utente
Simo Offline
Utente
***

Messaggi: 169
Registrato: Apr 2008
Reputazione: 0
Versione: MyBB 1.4.4
Messaggio: #5
RE: Mybb seo
Io ho aggiunto questa stringa RewriteBase /forum/
qua:
Citazione: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>
RewriteBase /forum/
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-([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/x-javascript text/css text/html text/xml
</IfModule>
Magari non è giustissimo però va Biggrin

[Immagine: banner1.png]
(Questo messaggio è stato modificato l'ultima volta il: 03-08-2008 10:59 da Simo.)
03-08-2008 10:58
Visita il sito web di questo utente Trova tutti i messaggi di questo utente
pulcinella Offline
Utente affermato
****

Messaggi: 445
Registrato: Apr 2008
Reputazione: 1
Versione: MyBB 1.4.4
Messaggio: #6
RE: Mybb seo
(03-08-2008 10:58)Simo Ha scritto:  Io ho aggiunto questa stringa RewriteBase /forum/
qua:
Citazione: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>
RewriteBase /forum/
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-([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/x-javascript text/css text/html text/xml
</IfModule>
Magari non è giustissimo però va Biggrin

Ragazzi per favore qualcuno conferma se la stringa e valida?

[Immagine: betatesterbj7.png]
Forza Napoli Tongue
www.newslots.org
06-08-2008 02:48
Visita il sito web di questo utente Trova tutti i messaggi di questo utente


Vai al forum:


Utente(i) che stanno guardando questa discussione: 1 Ospite(i)