Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : frank_85 04 Jul 2011, 09:08:52
-
Salve a tutti ho provato ad attivare la Friendly URL per i motori di ricerca ma riesco ad aprire solo la home del mio sito. In questo sito styo usando 2 template uno per la home e lo stesso ma con delle modifiche per tutto il resto. Inoltre in passato avevo già avuto problemi, attivando questa opzione, con phoca gallery. Qualcuno sa dirmi come risolvere? grazie!
---------------------
ilvanni - edit: aggiunto il risolto.
-
Ciao frank_85,
segui tutto questo articolo:
http://www.joomla.it/articoli-della-community/903-configurazione-seo-di-joomla-rendere-appetibile-il-sito-ai-motori-di-ricerca.html
-
Grazie, avevo letto questa guida ed è molto chiara. purtroppo però nel mio caso ho dei problemi già all'attivare la prima voce. mi risponde con un errore di questo tipo:
404 - Componente non trovato
Non è possibile visualizzare questa pagina a causa di:
un bookmark/preferiti scaduto
una ricerca attraverso il motore di ricerca che ha una lista scaduta per questo sito
un indirizzo compilato male
Non hai accesso a questa pagina
La risorsa richiesta non esiste
Si è verificato un errore durante l'esecuzione della tua richiesta.
Prova una delle seguenti pagine:
Home Page
Se persistono delle difficoltà, contatta l'Amministratore di questo sito.
Componente non trovato.
Ritornando poi alla home cliccando su questa pagina andrebbe su www.nomesito.com/index.php, ma non trova nemmeno quello. L'unica cosa che funziona praticamente è www.nomesito.com.
Che fare?
-
Sicuramente devi personalizzare il file .htaccess, questo va fatto con alcuni provider.
Googla "joomla personalizzazione htaccess nomeprovider"
-
Ciao,
hai provato ad installare componenti per gestire le singole estensioni con il friendly url attivato?
-
Cosa vuol dire
hai provato ad installare componenti per gestire le singole estensioni
-
Se installi componenti per la gestione del seo, ad esempio artio joomsef, puoi dirgli di non seffare una singola estensione.
Quindi potresti installare artio e configurarlo dicendogli di non seffare phocagallery :)
-
salve a tutti! ho risolto cambiando sostituendo que sto codice in htacces.txt:
## # @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $ # @package Joomla # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL # Joomla! is Free Software ## ##################################################### # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE # # The line just below this section: 'Options +FollowSymLinks' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your server administrator in a way that dissallows changing it in # your .htaccess file. If using it causes your server to error out, comment it out (add # to # beginning of line), reload your site in your browser and test your sef url's. If they work, # it has been set by your server administrator and you do not need it set here. # ##################################################### ## Can be commented out if causes errors, see notes above. #Options +FollowSymLinks # # mod_rewrite in use RewriteEngine On ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # ## Deny access to extension xml files (uncomment out to activate) #<Files ~ "\.xml$"> #Order allow,deny #Deny from all #Satisfy all #</Files> ## End of deny access to extension xml files RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits # Uncomment following line if your webserver's URL # is not directly related to physical file paths. # Update Your Joomla! Directory (just / for root) # RewriteBase /public/ ########## Begin - Joomla! core SEF Section # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] # ########## End - Joomla! core SEF Section
dopo di che l'ho rinominato in .htacces, ho attivato tutto e funziona perfettemente!!
-
Ciao frank_85, ricordati per le prossime volte di inserire il risolto nel titolo del primo post, oggi lo faccio io, buona permanenza qui su joomla.it, ancora ciao e buon lavoro. :)