ARTIO JoomSEF e url non funzionanti
-
Un saluto a tutti,
Ho installato il componente Artio JoomSEF v2.3.2 per il mio sito di e-commerce (Joomla v. 1.0 con VirtueMart 1.0) per rendere gli url leggibili.
Ho installato il componente, modificato correttamente il file .htaccess, impostato su on i due parametri SEO di Joomla.
Adesso nella home page del mio sito, i link vengono impostati in modo leggibile ma non funzionano: una volta cliccato rimandano a pagine inesistenti.
Ad esempio il link all'e-shop è visualizzato correttamente in questo modo:
miosito .net/e-shop
ma cliccandoci non funziona.
Come dovrei impostare correttamente affichè funzioni in modo giusto?
Guardando Vedi/Modifica SEF Urls vedo alcuni (non tutti) i link del sito con l'url sef (tipo e-shop/) e il relativo percorso corretto (index.php?option=com_virtuemart&lang=it&Itemid=7).
L'unica impostazione di configurazione che ho cambiato (ma non funzionava nemmeno lasciando le impostazioni di default) è il path addizionale della lingua (tipo /it/eshop/).
Spero che qualcuno possa aiutarmi...
Andrea
-
Ciao Sapuppo,
il tuo sito prima non aveva attivata la configurazione sef? -
Intanto grazie per la risposta. Ho risolto il problema di reindirizzamento disinstallando il componente, scrivendo il file .htaccess in questo modo:
##
# @version $Id: htaccess.txt 9795 2008-01-02 11:33:07Z rmuilwijk $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license 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.
#
# Only use one of the two SEF sections that follow. Lines that can be uncommented
# (and thus used) have only one #. Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
#####################################################
## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks
#
# mod_rewrite in use
AuthType Basic
RewriteEngine On# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
RewriteBase /########## 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########## 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 exploitattemptsto Joomla!
# Block out any script trying to set a mosConfig value through the URL
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 exploitsNel pannello SEO di Joomla ho poi attivato soltanto il Search Engine Friendly URL, lasciando su 'No' i Titoli pagina dinamici.
Successivamente ho reinstallato Artio JomSef. Il funzionamento (almeno fino ad ora) è corretto anche se resta il mistero di come JomSef generi gli url.
Infatti analizzando questo comportamento, ho notato che gli url vengono generati per visita, cioè non appena qualcuno visita la pagina con il link contenente l'url da rendere SEF.
Mi sembra un comportamento inusuale, ma non ho trovato nessuna altra spiegazione in merito.
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi