• User

    Un'associazione non-profit chiede il vostro aiuto !

    Ciao ragazzi,

    grazie a voi ho incominciato ad emettere i primi "vaggiti" nel vasto ed enigmatico mondo dei Search Engines ... sono un principiante, anzi, sono meno di un principiante ... ma mi sto divertendo un sacco a leggervi e sperimentare qua e la.

    Purtroppo il mio tempo a disposizione non è molto, e gli impegni del sito che sto supportando non possono attendere i miei tempi bibblici o il mio "cazzeggio". Per me è un gioco, un divertimento, ma per qualcun'altro l'indicizzazione è importante e vitale per il mantenimento e sviluppo del sito.

    Il sito in questione è www.vivicentro.org, sito dell'associazione non-profit (in costituzione) ViviCentro nata dall'idea e dall'impegno sociale di mio padre. Io ho provveduto alla sua nascita installando phpbbxs (un phpbb modded) e fornendo supporto tecnico per eventuli modifiche ed ovviamente per l'indicizzazione etc.

    Al momento ho effettuato le seguenti operazioni :

    1. "segnalato" l'indirizzo a dmoz, google e yahoo.
    2. ho creato un account in google per l'invio delle sitemap
    3. ho creato la sitemap digitando www.vivicentro.org/sitemap.php e l'ho inserito tramite il mio account
    4. ho impostato il sito user friendly
    5. ho modificato il file .htaccesse per accettare il SEF, per farvelo vedere ho creato una copia txt [url=http://www.vivicentro.org/htaccess.txt]QUI
    6. ho fatto una piccola correzione al file robots originale perchè da [url=http://tool.motoricerca.info/analizzatore-robots.phtml]questo sito ed anche da google (loggandomi con il mio account sitemap), mi risultava errato perchè superiore a 5000 caratteri. Il file robots.txt [url=http://www.vivicentro.org/robots.txt]NUOVO ... il file robots.txt [url=http://www.vivicentro.org/robots_copia.txt]ORIGINALE.
    7. Ho inserito i meta tags.

    Vorrei che l'associazione si sviluppasse di più dato che ha già ottenuto diversi risultati importanti, per questo vi chiedo un vostro aiuto ...

    1. Una carissima persona, che saluto :ciauz: , mi ha consigliato di prestare attenzione ai backlink oltre che a TITLE, H1 e H2 ... ma io non so proprio dove reperire le backlink ... e non so cosa devo fare con TITLE, H1 ed H2 ...

    2. Qualsiasi consiglio, suggerimento, modifica o altro che possa servire al sito per migliorare la sua visibilità ed indicizzazione

    3. il file robots.txt, anche dopo la mia modifica, continua ad essere considerata da google come errato perchè superiore a 5000 caratteri (o parole, non ricordo). Mentre dal sito http://tool.motoricerca.info/analizzatore-robots.phtml non mi appare più l'errore del limite 5000 ma permane un'altro errore di "ripetizione" (?)

    4. google visita il sito, e legge tutte le pagine del sito, tutti i giorni ! nonostante ciò queste pagine non appaiono carcandole con google.

    5. ho creato una pagine chisiamo.php ma sitemap non la vede (?) e quindi ho paura che neanche google la possa vedere.

    Scusate ancora per l'intrusione, voglio precisare che ho dato una lettura veloce alle vostre guide, sono fatte benissimo, ma come vi dicevo all'inizio un po' per motivi di lavoro ed un po' per motivi familiari (ed un po' perchè mi rinco.. facilmente :sbav: , non riesco a "studiare" a dovere l'argomento ... è davvero vasto ... vorrei solo accontentare mio padre e sostenere le buone intenzioni degli iscritti.

    Grazie, grazie e grazie.

    (un saluto particolare ad Antonio)


  • ModSenior

    ciao Lucky74,

    in linea generale, ho visto che la struttura del sito, per essere fatta con phpbbxs va bene, ok il forum, se riesci a rendere statistiche le url degli articoli, con titolo e description personalizzata, ancora meglio.

    Per l'aspetto backlink, devi aumentare la popolarità del sito, hai fatto bene a proporlo a Dmoz, ma devi ottenere anche altri link, soprattutto da siti a tema.

    Cerca di trovare altri siti di associazioni noprofit come il tuo, proponi **collaborazioni **(non un semplice scambio di link), magari articoli dove vi segnalate a vicenda.

    :ciauz:


  • User

    Grazie Bocas84 per avermi risposto.

    @bocas84 said:

    se riesci a rendere statistiche le url degli articoli

    Scusa ma cosa intendi ?

    @bocas84 said:

    con titolo e description personalizzata, ancora meglio.

    Se ti riferisci ai meta tags, allora non li avrai visti perchè ho aggiornato phpbbxs con l'ultima build che mi ha sovrascritto un file che si chiama overall_header che io avevo appositamente modificato per aggioungere i metatags title, description e keywords ... adesso dovrò rimodificarlo. Mi hanno detto che : dato che il file overall_header viene caricato ad ogni pagina, è sufficiente modificare questo file per avere i meta tags su ogni pagine del sito. E' giusto ? oppure dovrei avere meta tags diversi per ogni pagina ? ogni pagina un proprio meta tag title, un proprio meta tag description ed un proprio meta tag keywords ... o no ? Consigli ? ... e poi come faccio a metterci gli h1, h2 etc.

    PS: ADESSO DOVREI AVER RIMESSO I META TAGS, MODIFICANDO PERO' IL SOLO FILE OVERALL_HEADER !


  • ModSenior

    @Lucky74 said:

    bocas84 ha scritto:
    se riesci a rendere statistiche le url degli articoli

    Scusa ma cosa intendi ?

    Pardon...mi è usctito statistiche ma intendevo **statiche **:D

    Se ti riferisci ai meta tags, allora non li avrai visti perchè ho aggiornato phpbbxs con l'ultima build che mi ha sovrascritto un file che si chiama overall_header

    Mi riferisco agli articoli, tipo questo
    http://www.vivicentro.org/?topic_id=150

    Nono tag title e description troppo lunghi e sempre uguali.

    Come ti dicevo, cerca di personalizzarli in base al contenuto dell'articolo.


  • User

    Nono tag title e description troppo lunghi e sempre uguali.

    Come ti dicevo, cerca di personalizzarli in base al contenuto dell'articolo.

    Cosa intendi con "Nono tag title e ..."

    Mi consigli di fare il title e la description diversi fra loro in meta tags ? e di renderle più brevi ? di quanto?

    suggerimenti per personalizzarli in base al contenuto ? io so che modificando il file overall_header mi ritrovo su tutte le pagine, su sutti gli urls, lo stesso meta tag title e lo stesso meta tag description. Posso ovviamente rendere title e description diversi fra loro ma non so come si fa ad avere title e description diversi per ogni pagina ...

    Io ho attivato la funzione Urls Friendly, infatti se si naviga nel forum o nell'apposita area articoli (così come in tutto il sito, si ottengono urls html (statiche).

    Però, è vero che se clicco sul titolo della news (articolo) che appare in home page, non ottengo una url statica ... perchè ?

    Devo modificare il file .htaccess :

    
    Options +FollowSymlinks
    
    
    RewriteEngine On
    #this may cause isues with subdirs and so I have not enabled it.
    RewriteBase /
    RewriteRule [.]*-vf([0-9]*) viewforum.php?%{QUERY_STRING}&f=$1
    RewriteRule [.]*-vp([0-9]*) viewtopic.php?%{QUERY_STRING}&p=$1
    RewriteRule [.]*-vt([0-9]*) viewtopic.php?%{QUERY_STRING}&t=$1
    RewriteRule [.]*-vf([0-9]*) ./viewforum.php?%{QUERY_STRING}&f=$1
    RewriteRule [.]*-vc([0-9]*) forum.php?%{QUERY_STRING}&c=$1
    RewriteRule [.]*-vc([0-9]*) ./forum.php?%{QUERY_STRING}&c=$1
    RewriteRule [.]*-ac([0-9]*) album_cat.php?%{QUERY_STRING}&cat_id=$1
    RewriteRule [.]*-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1
    RewriteRule [.]*-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1
    RewriteRule [.]*-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1
    RewriteRule [.]*-full-asp([0-9]*) album_showpage.php?full=&pic_id=$1
    RewriteRule [.]*-asp([0-9]*) album_showpage.php?%{QUERY_STRING}&pic_id=$1
    RewriteRule [.]*-aper([0-9]*) album_personal.php?%{QUERY_STRING}&user_id=$1
    RewriteRule [.]*-dc([0-9]*) dload.php?%{QUERY_STRING}action=category&cat_id=$1
    RewriteRule [.]*-df([0-9]*) dload.php?%{QUERY_STRING}action=file&file_id=$1
    RewriteRule [.]*-kbc([0-9]*) kb.php?%{QUERY_STRING}mode=cat&cat=$1
    RewriteRule [.]*-kba([0-9]*) kb.php?%{QUERY_STRING}mode=article&k=$1
    RewriteRule [.]*-kbsmp kb.php?mode=stats&stats=mostpopular
    RewriteRule [.]*-kbstr kb.php?mode=stats&stats=toprated
    RewriteRule [.]*-kbsl kb.php?mode=stats&stats=latest
    RewriteRule [.]*-pbc([0-9]*) kb.php?%{QUERY_STRING}mode=cat&cat=$1
    RewriteRule [.]*-pa([0-9]*) kb.php?%{QUERY_STRING}mode=article&k=$1
    RewriteRule [.]*-psmp kb.php?mode=stats&stats=mostpopular
    RewriteRule [.]*-pstr kb.php?mode=stats&stats=toprated
    RewriteRule [.]*-pbsl kb.php?mode=stats&stats=latest
    RewriteRule [.]*chisiamo* chisiamo.php
    
    
    
    #make sure the whole site goes to www.mysite.com
    #instead of mysite.com. This is good for the search engines
    #Edit and uncomment the below lines for your own site.
    RewriteCond %{HTTP_HOST} ^vivicentro.org
    RewriteRule (.*) http://www.vivicentro.org/$1 [R=301,L]
    
    # SANTY
    RewriteCond %{HTTP_REFERER} ^.*$
    RewriteRule ^.*%27.*$ http://127.0.0.1/ [redirect,last]
    RewriteRule ^.*%25.*$ http://127.0.0.1/ [redirect,last]
    RewriteRule ^.*rush=.*$ http://127.0.0.1/ [redirect,last]
    RewriteRule ^.*echr.*$ http://127.0.0.1/ [redirect,last]
    RewriteRule ^.*esystem.*$ http://127.0.0.1/ [redirect,last]
    RewriteRule ^.*wget.*$ http://127.0.0.1/ [redirect,last]
    RewriteCond %{HTTP_COOKIE}% s:(.*):%22test1%22%3b
    RewriteRule ^.*$ http://127.0.0.1/ [R,L]
    # prevent perl user agent (most often used by santy)
    RewriteCond %{HTTP_USER_AGENT} ^lwp.* [NC]
    RewriteRule ^.*$ http://127.0.0.1/ [R,L]
    RewriteCond %{HTTP_REFERER} ^.*$
    
    # this ruleset is to "stop" stupid attempts to use MS IIS expolits on us
    # NIMDA
    RewriteCond %{REQUEST_URI} /(admin¦cmd¦httpodbc¦nsiislog¦root¦shell)\.(dll¦exe) [NC]
    RewriteRule !(error\.php|robots\.txt) /error.php?mode=nimda [L,E=HTTP_USER_AGENT:NIMDA_EXPLOIT,T=application/x-httpd-cgi]
    #RewriteRule .* - [F,L]
    
    # CODERED
    RewriteCond %{REQUEST_URI} /default\.(ida¦idq)$ [NC,OR]
    RewriteCond %{REQUEST_URI} /.*\.printer$ [NC]
    RewriteRule !(error\.php|robots\.txt) /error.php?mode=codered [L,E=HTTP_USER_AGENT:CODERED_EXPLOIT,T=application/x-httpd-cgi] .* - [F,L]
    
    # User-Agents with no privileges (mostly spambots/spybots/offline downloaders that ignore robots.txt)
    # These bots are anoying website harvesting tools, webdownloaders, and a few misc annoyances.
    RewriteCond %{HTTP_USER_AGENT} ^[A-Z]+$ [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^(AcoiRobot|FlickBot|webcollage) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^(Alligator|DA.?[0-9]|DC\-Sakura|Download.?(Demon|Express|Master|Wonder)|FileHound) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} .*almaden.* [OR]
    RewriteCond %{HTTP_USER_AGENT} anarchie [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} AsiaNetBot [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*attach.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ATHENS [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} autohttp [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*BackWeb.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Bandit.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} bew [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} BlackWidow [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Bot\ mailto:[email protected] [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.Browse\s [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Buddy.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Bullseye [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ChinaClaw [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Collector.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Copier.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Crawler.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Crescent [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} curl [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} "^DA \d\.\d+" [OR]
    RewriteCond %{HTTP_USER_AGENT} devsoft's\ http\ component [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Deweb [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Digimarc [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Digger [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} digout4uagent [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} DIIbot [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^DiscoPump.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} DISCo\ pump [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} dloader(NaverRobot) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Download\ Demon [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} "^Download" [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Downloader.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} "DTS Agent" [OR]
    RewriteCond %{HTTP_USER_AGENT} EasyDL/\d\.\d+ [OR]
    RewriteCond %{HTTP_USER_AGENT} eCatch [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ecollector [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Educate\ Search [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} EirGrabber [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} EmailCollector [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} EmailSiphon [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} EmailWolf [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} EO\ Browse [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.Eval [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^(Express|Mister|Web).?(Web|Pix|Image).?(Pictures|Collector)? [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} extractor [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ExtractorPro [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} EyeNetIE [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} fastlwspider [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} FEZhead [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Fetch [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Fetch\ API\ Request [OR]
    RewriteCond %{HTTP_USER_AGENT} ^(Flash|Leech)Get [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Franklin\ Locator [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^(Fresh|Lightning|Mass|Real|Smart|Speed|Star).?Download(er)? [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Full\ Web\ Bot [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^(Gamespy|Go!Zilla|iGetter|JetCar|Net(Ants|Pumper)|SiteSnagger|Teleport.?Pro) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Getleft [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} GetRight [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} GetURL [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} GetWebPage [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^GornKer [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*gotit.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Gozilla [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} go-ahead-got-it [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Grabber.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*GrabNet.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Grafula [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Harvest [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*HMView.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} HTML\ Works [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*HTTrack.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ia_archiver [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Image.?(fetch|Stripper|Sucker) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} IncyWincy [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Industry\ Program [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} InterGET [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Internet\ Explore\ 5\.x [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^InternetNinja.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Internet\ Ninja [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} InternetSeer.com [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Irvine [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^JetCar.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} JOC\ Web\ Spider [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*JOC.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} KWebGet [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} larbin [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Likse.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^LinkWalker [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*LWP [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Mag-Net.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Magnet.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} MCspider [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Memo.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Microsoft\ URL [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} MIDown\ tool [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Mirror.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Missauga\ Locator [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Mister\ PiX [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Monster [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Mozilla.*NEWT [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Mozilla\/3\.0\.\+Indy\ Library [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Mozilla\/3.Mozilla\/2\.01 [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Mozilla\/4\.0$ [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Mozzilla [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} MSIECrawler [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^NASA\ Search\ 1\.0$ [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Navroad.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} NearSite [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} net.?(ants|attache|Carta|mechanic|spider|vampire|zip) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} NICErsPRO [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ninja [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Octopus [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Offline.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} OpaL [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Openfind [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} OpenTextSiteCrawler [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} PackRat [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} PageGrabber [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Papa\ Foto [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} pavuk [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} PICgrabber [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*pcBrowser.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Plucker [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Pockey.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Production\ Bot [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Program\ Shareware [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*prospector [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^psbot [OR]
    RewriteCond %{HTTP_USER_AGENT} PushSite [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Reaper.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Recorder.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ReGet [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} RepoMonkey [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Rover [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Rsync [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Siphon.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^Scooter-W3.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ScoutAbout [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} searchterms\.it [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} semanticdiscovery [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Shai [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} sitecheck [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Snake.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} Spegla [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} SpiderBot [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Stripper.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Sucker.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*SuperBot.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} SuperHTTP [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.Surf [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Surfbot.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} SurfWalker [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} tAkeOut [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} tarspider [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Teleport.* [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Templeton [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} UtilMind [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Vacuum.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} VoidEYE [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Web.?(Auto|Cop|dup|Fetch|Filter|Gather|Go|Leach|Mine|Mirror|Pix|QL|RACE|Sauger) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} web.?(bandit|collector|devil|downloader|hook|mole|reaper|sucker|site|snake|stripper|weasel) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Web.?(site.?(eXtractor|Quester)|Capture|Snake|ster|Strip|Stripper|Suck|vac|walk|Whacker|ZIP) [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^WebEMailExtrac.* [OR]
    RewriteCond %{HTTP_USER_AGENT} web.by.mail [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Wget.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Whacker.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^.*Widow.*$ [OR]
    RewriteCond %{HTTP_USER_AGENT} w3mir [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} WhosTalking [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Widow [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} WUMPUS [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} www\.pl [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Xaldon\ WebSpider [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} XGET [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} Yandex [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} zeus [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^Zeus.*Webster [OR]
    
    # IE's "make available offline" mode
    RewriteCond %{HTTP_USER_AGENT} MSIECrawler [OR]
    
    # unknown bot
    RewriteCond %{HTTP_USER_AGENT} ^NG [OR]
    
    # You may want to enable these lines below to disallow php and perl scripts to access your site
    #RewriteCond %{HTTP_USER_AGENT} ^.*PHP.*$ [OR] %{HTTP_USER_AGENT} ^.*libwww-perl [NC,OR]
    
    # Ignorant user trying to edit my site
    RewriteCond %{HTTP_USER_AGENT} FrontPage [OR] one will ban everything microsoft. Use with caution.
    RewriteCond %{HTTP_USER_AGENT} ^(Microsoft|MFC).(Data|URL|WebDAV|Foundation).(Access|Control|MiniRedir|Class) [NC,OR]
    
    # MSOffice
    RewriteCond %{REQUEST_URI} ^/(MSOffice|_vti) [NC,OR]
    
    # Various
    RewriteCond %{REQUEST_URI} ^/(bin/|cgi/|cgi\-local/|cgi\-bin/|sumthin) [NC,OR]
    RewriteCond %{THE_REQUEST} ^GET\ http [NC,OR]
    RewriteCond %{REQUEST_URI} /sensepost\.exe [NC,OR]
    RewriteCond %{REQUEST_METHOD}!^(GET|HEAD|POST) [NC,OR]
    
    # rude bot
    RewriteCond %{HTTP_USER_AGENT} Atomz [OR]
    RewriteCond %{HTTP_USER_AGENT} FlickBot [OR]
    RewriteCond %{HTTP_USER_AGENT} "efp@gmx\.net" [OR]
    RewriteCond %{HTTP_USER_AGENT} imagefetch [OR]
    RewriteCond %{HTTP_USER_AGENT} "LINKS ARoMATIZED" [OR]
    RewriteCond %{HTTP_USER_AGENT} "mister pix" [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} PersonaPilot [OR]
    RewriteCond %{HTTP_USER_AGENT} Sqworm [OR]
    RewriteCond %{HTTP_USER_AGENT} SurveyBot [OR]
    
    # dumb bot, doesn't know how to follow links, generates lots of 404s
    RewriteCond %{HTTP_USER_AGENT} vayala [OR]
    
    # dumb bot
    RewriteCond %{HTTP_USER_AGENT} "^Mozilla/4.0$" [OR]
    
    # Cyveillance is a spybot that scours the web for copyright violations and ?damaging information? on
    # behalf of clients such as the RIAA and MPAA. Their robot spoofs its User-Agent to look like Internet
    # Explorer, and it completely ignores robots.txt. I have
    # banned it by IP address.
    RewriteCond %{REMOTE_ADDR} ^63\.148\.99\.2(2[4-9]|[34][0-9]|5[0-5])$ [OR]
    RewriteCond %{REMOTE_ADDR} ^63\.226\.3[34]\. [OR]
    RewriteCond %{REMOTE_ADDR} ^63\.212\.171\.161$ [OR]
    RewriteCond %{REMOTE_ADDR} ^65\.118\.41\.(19[2-9]|2[01][0-9]|22[0-3])$ [OR]
    
    # NameProtect peddles their ?online brand monitoring? to unsuspecting and gullible companies
    # looking for people to sue. Despite the claims on their robot information page, they do not
    # respect robots.txt; in fact, they spoof their User-Agent in multiple ways to avoid detection.
    # I have banned them by User-Agent and IP address.
    RewriteCond %{REMOTE_ADDR} ^12\.148\.196\.(12[8-9]|1[3-9][0-9]|2[0-4][0-9]|25[0-5])$ [OR]
    RewriteCond %{REMOTE_ADDR} ^12\.148\.209\.(19[2-9]|2[0-4][0-9]|25[0-5])$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^NPBot	[NC,OR]
    
    # Web Content International
    RewriteCond %{REMOTE_ADDR} ^65\.102\.12\.2(2[4-9]|3[01])$ [OR]
    RewriteCond %{REMOTE_ADDR} ^65\.102\.17\.(3[2-9]|[4-6][0-9]|7[01]|8[89]|9[0-5]|10[4-9]|11[01])$ [OR]
    RewriteCond %{REMOTE_ADDR} ^65\.102\.23\.1(5[2-9]|6[0-7])$ [OR]
    
    # Wordtracker
    RewriteCond %{REMOTE_ADDR} ^128\.242\.197\.101$ [OR]
    
    # Unknown
    # unknown.Level3.net
    RewriteCond %{REMOTE_ADDR} ^64\.156\.198\.(6[89]|7[0-9]|80)$ [OR]
    
    # host25x.keebler.com
    RewriteCond %{REMOTE_ADDR} ^65\.223\.250\.25[0-3]$ [OR]
    
    # Turnitin spybot
    RewriteCond %{REMOTE_ADDR} ^64\.140\.49\.6([6-9])$ [OR]
    RewriteCond %{HTTP_USER_AGENT} TurnitinBot [OR]
    
    RewriteCond %{HTTP_USER_AGENT} ^.*FileHound.*$
    
    # Used to send these bots to somplace else you can change the url to whatever you would like /* http://www.geocities.com/WestHollywood/Heights/3204/1home.html [L,R]
    RewriteRule !(error\.php|robots\.txt) /error.php?mode=badua [L,E=HTTP_USER_AGENT:BAD_USER_AGENT]
    # This could also be used to simply deny access to your site instead of the one above .* - [F,L]
    
    # Block if useragent and referer are unknown.
    # the referer string will cause some problems with mozilla so it has been diabled
    RewriteCond %{HTTP_REFERER} ^-$ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^-$
    
    # Used to send these bots to somplace else you can change the url to whatever you would like /* http://www.geocities.com/WestHollywood/Heights/3204/1home.html [L,R]
    RewriteRule !(error\.php|robots\.txt) /error.php?mode=noagent [L,T=application/x-httpd-cgi]
    # This could also be used to simply deny access to your site instead of the one above .* - [F,L]
    
    # this ruleset is for formmail script abusers...
    # we don't use Perl for Postnuke so this is not really needed.
    RewriteCond %{REQUEST_URI} (mail.?form|form|form.?mail|mail|mailto)\.(cgi¦exe¦pl)$ [NC]
    RewriteRule !(error\.php|robots\.txt) /error.php?mode=noformmail [L,E=HTTP_USER_AGENT:FORMMAIL_EXPLOIT,T=application/x-httpd-cgi]
    
    

    e cosa mi dici di quest'altro file page_header che contiene questa porzione di codice :

    
    function rewrite_urls($content)
    {
    	global $config_mg;
    
    	function if_query($amp)
    	{
    
    		if($amp != '')
    		{
    			return '?';
    		}
    
    	}
    
    	$url_in = array(
    			'/&#40;?<!\/&#41;' . PORTAL_MG . '\?topic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;' . FORUM_MG . '\?' . POST_CAT_URL . '=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;' . VIEWFORUM_MG . '\?' . POST_FORUM_URL . '=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;\.\/' . VIEWFORUM_MG . '\?' . POST_FORUM_URL . '=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;' . VIEWTOPIC_MG . '\?' . POST_POST_URL . '=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;' . VIEWTOPIC_MG . '\?' . POST_TOPIC_URL . '=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_cat.php\?cat_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_thumbnail.php\?pic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_pic.php\?pic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_picm.php\?pic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_showpage.php\?pic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;<img .*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_showpage.php\?full=&pic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;<img .*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_showpage.php\?pic_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;album_personal.php\?user_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;dload.php\?action=category&cat_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;dload.php\?action=category&cat_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;dload.php\?action=file&file_id=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;kb.php\?mode=cat&amp;cat=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;kb.php\?mode=article&amp;k=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;kb.php\?mode=stats&amp;stats=mostpopular&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;kb.php\?mode=stats&amp;stats=toprated&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;kb.php\?mode=stats&amp;stats=latest&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;press.php\?mode=cat&amp;cat=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;press.php\?mode=article&amp;k=&#40;&#91;0-9&#93;+&#41;&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;press.php\?mode=stats&amp;stats=mostpopular&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;press.php\?mode=stats&amp;stats=toprated&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e',
    			'/&#40;?<!\/&#41;press.php\?mode=stats&amp;stats=latest&#40;&#40;&amp;&#41;|&#40;&&#41;&#41;&#123;0,1&#125;&#40;&#91;^>&#93;+>&#41;&#40;.*?&#41;<\/a>/e'&#41;;
    
    	$url_out = array&#40;
    			"make_url_friendly&#40;'\\6'&#41; . '-na\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-vc\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-vf\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-vf\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-vp\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-vt\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-ac\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-at\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-apic\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-apm\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"'show-pic-asp\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"'show-pic-full-asp\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-asp\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-aper\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-dc\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-dc\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-df\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-kbc\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-kba\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\5'&#41; . '-kbsmp.html' . if_query&#40;'\\1'&#41; . stripslashes&#40;'\\4\\5'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\5'&#41; . '-kbstr.html' . if_query&#40;'\\1'&#41; . stripslashes&#40;'\\4\\5'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\5'&#41; . '-kbsl.html' . if_query&#40;'\\1'&#41; . stripslashes&#40;'\\4\\5'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-pc\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\6'&#41; . '-pa\\1.html' . if_query&#40;'\\2'&#41; . stripslashes&#40;'\\5\\6'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\5'&#41; . '-psmp.html' . if_query&#40;'\\1'&#41; . stripslashes&#40;'\\4\\5'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\5'&#41; . '-pstr.html' . if_query&#40;'\\1'&#41; . stripslashes&#40;'\\4\\5'&#41; . '</a>'",
    			"make_url_friendly&#40;'\\5'&#41; . '-psl.html' . if_query&#40;'\\1'&#41; . stripslashes&#40;'\\4\\5'&#41; . '</a>'"&#41;;
    
    	if &#40; isset&#40;$config_mg&#91;'url_rw'&#93;&#41; && &#40;$config_mg&#91;'url_rw'&#93; === '1'&#41; &#41;
    	&#123;
    		$content = preg_replace&#40;$url_in, $url_out, $content&#41;;
    	&#125;
    
    	return $content;
    
    &#125;
    
    

    Sempre in merito ai title e description personalizzabili per ogni pagina e sempre parlando di quest'ultimo file page_header (che non è overall_header), ho trovato quest'altra porzione di codice che forse può servire ...

    
    //Begin Dynamic meta tags
    if &#40; isset&#40;$_GET&#91;POST_TOPIC_URL&#93;&#41; &#41;
    &#123;
    	$topic_id = intval&#40;$_GET&#91;POST_TOPIC_URL&#93;&#41;;
    &#125;
    elseif &#40; isset&#40;$_GET&#91;'topic'&#93;&#41; &#41;
    &#123;
    	$topic_id = intval&#40;$_GET&#91;'topic'&#93;&#41;;
    &#125;
    
    if &#40; $topic_id &#41;
    &#123;
    	$sql = "SELECT c.cat_title, f.forum_name, t.topic_title
    		FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
    		WHERE f.forum_id = t.forum_id
    		AND c.cat_id = f.cat_id
    		AND t.topic_id = $topic_id";
    	if&#40; &#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
    	&#123;
    		if &#40; $meta_row = $db->sql_fetchrow&#40;$result&#41; &#41;
    		&#123;
    			$meta_description = '<meta name="description" content="' . $meta_row&#91;'cat_title'&#93; . ' &#58;&#58; ' . $meta_row&#91;'forum_name'&#93; . ' &#58;&#58; ' . $meta_row&#91;'topic_title'&#93; . '">' . "\n";
    		&#125;
    	&#125;
    	$sql = "SELECT w.word_text
    		FROM " . TOPICS_TABLE . " t, " . SEARCH_MATCH_TABLE . " m, " . SEARCH_WORD_TABLE . " w
    		WHERE t.topic_first_post_id = m.post_id
    		AND m.word_id = w.word_id
    		AND t.topic_id = $topic_id LIMIT 20";
    	if&#40; &#40;$result = $db->sql_query&#40;$sql&#41;&#41; &#41;
    	&#123;
    		$meta_keywords = '';
    		while &#40; $meta_row = $db->sql_fetchrow&#40;$result&#41; &#41;
    		&#123;
    			$meta_keywords .= &#40;$meta_keywords==''&#41; ? $meta_row&#91;'word_text'&#93; &#58; ',' . $meta_row&#91;'word_text'&#93;;
    		&#125;
    		$meta_keywords = '<meta name="keywords" content="' . $meta_keywords . '">' . "\n";
    	&#125;
    &#125;
    else
    &#123;
    	$meta_description = '<meta name="description" content="Une description du site">' . "\n";
    	$meta_keywords = '<meta name="keywords" content="Des mots clefs">' . "\n";
    &#125;
    //End dynamic meta tags
    
    

  • ModSenior

    @Lucky74 said:

    Mi consigli di fare il title e la description diversi fra loro in meta tags ? e di renderle più brevi ? di quanto?

    La cosa ottimale sarebbe averli diversi in ogni pagina, almeno il tag title e description.

    Per la lunghezza, non c'è un valore fisso, devi pensare all'utente quando li scrivi, quindi devono corrispondere in primis al contenuto reale della pagina.

    Dai una lettura a [url=http://www.giorgiotave.it/forum/viewtopic.php?t=5]questi link utili sul posizionamento dove puoi trovare qualche guida, in poche pagine sono sicuro che ti chiarirai molti dubbi sulla lunghezza del titolo ecc.

    suggerimenti per personalizzarli in base al contenuto ? io so che modificando il file overall_header ....

    Purtroppo non so aiutarti a livello di codice in quanto non ho mai fatto cose simili con quella piattaforma, prova a chiedere direttamente al supporto del forum.


  • User

    Intanto grazie per i tuoi preziosi consigli ... vado a legggere i link che mi hai suggerito e rivedo i tags title e description ...

    Qualsiasi altro consiglio sarà ben accetto ... nel frattempo rivedo anche il discorso di overall_header e page_header ...