Risposte nei forum create
-
AutorePost
-
olGervaPartecipante
mmmmm ….. risolto !!!
curiosando ulteriormente ho beccato questo link keyboardface.com/iis-permalinks/ e seguendo quello che suggerisce (un file htaccess.php e uno errorpage.asp) le cose fungono, anche se mi sembra un pelo lentino ….
cmq anche se avrei preferito capire e risolvere il problema alla fonte, diciamo che per iniziare questo può anche andar bene
Se ci sono risposte alternative sono ben accette
Grazie
olGervaPartecipanteGrazie, ho provato a ricercare dove mi hai suggerito, ma senza esito…
Mi daresti il link diretto?
Cmq io ho seguito i suggerimenti che il sito codex.wordpress.org/Using_Permalinks, essendo la fonte ufficiale credo che siano anche attendibili.
olGervaPartecipantecgi.fix_pathinfo = 1
cgi.force_redirect = 0
..."
La seconda quela di creare un file wp_error.php, facendo puntare IIS alla stessa che caso di errore 404 come URL.
" ....
<?
$qs = $_SERVER;
$_SERVER = substr($qs, strpos($qs, ':80')+3);
$_SERVER = $_SERVER;
include('index.php');
?>
"
Nel primo caso php.ini, WP mi ritorna come risultato della pagina/articolo info (installata di default che ha come link originale "collabora.it/?page_id=2") come contenuto visuale/testuale "Non trovato e subito sotto il campo di ricerca" e come link "collabora.it/index.php/info/"
Nel secondo caso invece ho come risultato visuale/testuale "Error 404 - Non trovato senza campo ricerca" e come link di destinazione "collabora.it/index.php/info/"
A questo punto non riesco a capire dove io possa sbagliare o se sussiste un errore di concetto o funzionalità del server.
Spero di essere stato più chiaro stavolta e ringrazio per la disponibilità .`
olGervaPartecipanteopss, mi ha tagliato il post….
olGervaPartecipanteGoodWeb,
grazie per l’interesse, scusa hai ragione ho scritto male il termine Permalinks e non Permanent come nel titolo, la fretta ……
Ho deciso di usare WP su un Win2000 server, dove ho installato PhP 4.3 e MySQL 4.02.
L’installazione dello stesso WP tutto OK, funziona tutto per l’ipressione che ne ho avuto data la mia poca dimestichezza con il prodotto.
Volendo impostare URL frendly per i motoi di ricerca, ho attivato nelle impostazioni della console
la funzione Permalinks, che da quanto ho capito permette di richiamare una pagina non visualizzando la variabile “?….” della stessa pagina , ma con un “alias” della pagina, sfruttando la funzione Permalinks.
Ora se su linux le cose vanno lisce grazie alle caratteristiche di Apache e al file htaccess, su windows le cose sono meno immediate.
Dopo aver girovagato sulla rete, nei diversi post ho trovato alcune soluzioni che ho testato, ma seza successo e qui il problema. Ho scelto le due soluzioni meno invasive senza dover instalare DLL o altro.
La prima soluzione è stata quella di creare un file php.ini nella root del mio sito e impostare due righe di codice, come suggerito dalla stessa WP:
“…. add these 2 lines to a php.ini file and store that file in your webroot
-
AutorePost