- Home
- Categorie
- Coding e Sistemistica
- CMS & Piattaforme Self-Hosted
- Vorrei cambiare link alle discussioni in un forum
-
Vorrei cambiare link alle discussioni in un forum
Salve.
Vedo che in questo forum, i link alle discussioni comprendono il titolo di queste e non semplici numeri come in tutte le altre board.
Poichè io mi rendo conto che questo sarebbe un grossissimo aiuto per quanto riguarda i motori di ricerca, qualcuno potrebbe dirmi cortesemente come fare?
Attendo risposta,
Grazie mille in anticipo
-
Ciao Cahill90,
se non vado errato si tratta di vbseo: un plugin appositamente studiato per vBulletin.
Comunque ti sposto nella sezione dedicata a vBulletin, che forse potrai avere maggiori ragguagli!
-
Grazie mille ma io non ho vb ma SMF...
-
Ho trovato un mod
Seo4SMF
Dopo averla installata ho messo le opzioni ma non cambia nessun link, rimane con l'id della discussione, sezione o utente che sia.
Ma perchè?
-
Probabilmente non hai caricato il file htaccess o fatto le modifiche a quello attualmente in uso.
In ogni caso questo è un argomento non inerente questa sezione che è dedicata ad un altro gestionale, ovvero vbulletin.
Ti sposto in cms dove dovresti ricevere l'assistenza di cui hai bisogno.
-
Che modifiche devo fare al file htaccess?
-
Devi dargli le regole di riscrittura.
Immagino che nelle spiegazioni della mod siano presenti tutti i passaggi per farlo.
-
Ce l'ho FATTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-
Tuttavia ho una domanda da fare
Questo è il mio htaccess
RewriteEngine on
#Some apache servers need Rewritebase.
#delete # from start of Rewrite base to enable it.
#If your forum is something like http://www.forum-example.com/forum then modify your
#RewriteBase in this way: RewriteBase /forum
RewriteBase /forum
#Archive/Sitemaps
RewriteRule ^sitemaps-([a-zA-Z0-9-]*).html index.php?dummy=1&action=seo4smfsitemaps&sa=$1
#uncomment if you use beautifying url actions
#RewriteCond %{REQUEST_METHOD} =GET
#RewriteRule ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^topic=([0-9]).([0-9])
RewriteRule ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^board=([0-9]).([0-9])
RewriteRule ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]
RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]);(.)$
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]
RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]
#Tiny Portal Old Url's
RewriteCond %{QUERY_STRING} ^page=([0-9]*)
RewriteRule ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]
#Rewrite Old urls
RewriteRule ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^index.php/board,(.).html;(.) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]
RewriteRule ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]
RewriteRule ^index.php/topic,(.).html;(.) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]
#Bad Url's
)-t([0-9]).([0-9]*).html$
)-t([0-9]).([0-9]*).html seo4smf-redirect.php?t=$2 [R=301,L]
RewriteRule ^(.)/-t(.).html seo4smf-redirect.php?t=$2 [R=301,L]
RewriteRule ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^-b(.)/(.)$ seo4smf-redirect.php?b=$1 [R=301,L]
RewriteRule ^(.)/-b(.)/$ seo4smf-redirect.php?b=$2 [R=301,L]
#New board URL's
RewriteRule ^(.)-b([0-9]).([0-9])/;(.) index.php?dummy=1&board=$2.$3&$4
RewriteRule ^(.)-b([0-9]).([0-9]*)/$ index.php?dummy=2&board=$2.$3
RewriteRule ^(.)-b([0-9]).([0-9])$ index.php?dummy=2&board=$2.$3
RewriteRule ^(.)-t([0-9]).([0-9]).html;((?:from|msg|new)[0-9]);(.*)$ index.php?dummy=1&topic=$2.$4&$6
RewriteRule ^(.)-t([0-9]).([0-9]).html;((?:from|msg|new)[0-9]) index.php?dummy=1&topic=$2.$4
RewriteRule ^(.)-t([0-9]).([0-9]).html;(.)$ index.php?dummy=1&topic=$2.$3&$4
RewriteRule ^(.)-t([0-9]).([0-9]*).html$ index.php?dummy=1&topic=$2.$3
RewriteRule ^(.)-u([0-9]).html;sa,(.);start,([0-9]);delete,([0-9]);sesc,([a-z0-9])$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6
RewriteRule ^(.)-u([0-9]).html;sa,(.);start,([0-9])$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4
RewriteRule ^(.)-u([0-9]).html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3
RewriteRule ^(.)-u([0-9]).html index.php?dummy=1&action=profile;u=$2
RewriteRule ^(.)-p([0-9]).html index.php?dummy=1&page=$2
).html(.)$ index.php?dummy=1;action=$1;$2
RewriteRule sitemap.xml sitemaps.php
RewriteRule urllist.txt urllist.php
Un mio link tipo è
http://www.soccerlandia.net/forum/serie-a-coppa-italia/zalayeta-squalificato-per-simulazione-t1190.0.html
Dove la parte in grassetto t.1190, sarebbe l'id della discussione...
Come faccio a toglierla e lasciare solo il titolo della discussione?
Idem per gli utenti, farò la stessa cosa che per le discussioni...
-
C'è un problema... cliccando sulla pagina 2, 3, tot delle discussioni rimane sempre a pagina uno...
Come posso risolvere?