Back to top

Autore Topic: [RISOLTO] impostazione seo joomla 2.5  (Letto 3480 volte)

Offline der kaiser

  • Nuovo arrivato
  • *
  • Post: 38
    • Mostra profilo
[RISOLTO] impostazione seo joomla 2.5
« il: 27 Ago 2012, 19:25:04 »
buonasera a tutti :)


in configurazione globale, ho selezionato "attiva url sef, riscrivi url sef e suffisso url".
questo è invece il contenuto del file .htaccess

Codice: [Seleziona]
## 
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $ 
# @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 
RewriteBase /

########## 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! 

# 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 exploits 

# Uncomment following line if your webserver's URL 
# is not directly related to physical file paths. 
# Update Your Joomla! Directory (just / for root) 


########## 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


putroppo, gli indirizzi url oltre al .html, hanno anche altri caratteri alla fine, come potete vedere ad esempio in questa pagina: http://colpani.altervista.org/musica.html#.UDutucFmLcg


perchè? :)
« Ultima modifica: 29 Ago 2012, 11:14:13 da der kaiser »

Offline Fabiooo

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #1 il: 27 Ago 2012, 19:37:10 »
ciao,


mi sembra che gli url creati prima di abilitare il rewrite delle url non vengono modificati, ma verranno scritti correttamente quelli nuovi

Offline der kaiser

  • Nuovo arrivato
  • *
  • Post: 38
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #2 il: 27 Ago 2012, 19:51:29 »
veramente gli url sono stati riscritti, ma non terminano con il .html (come dovrebbero), ma dopo il .html ci sono altri caratteri

Offline luxtux

  • Ulcera
  • Esploratore
  • *
  • Post: 76
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #3 il: 27 Ago 2012, 20:17:00 »
Hai provato a disabilitare il suffisso URL? O ci tieni proprio che gli URL finiscano con.html? Per comodità ti posto la sezione SEF del mio .htaccess:
Codice: [Seleziona]
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.

L.

Offline der kaiser

  • Nuovo arrivato
  • *
  • Post: 38
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #4 il: 27 Ago 2012, 21:10:41 »
ho provato a inserire il tuo, ma niente è cambiato sigh sigh


diciamo che se finiscono per .html, è meglio :P

Offline giusebos

  • Fuori controllo
  • *
  • Post: 21748
  • Sesso: Maschio
  • Giuseppe Serbelloni Mazzanti Viendalmare
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #5 il: 27 Ago 2012, 21:18:24 »
der kaise, cortesemente utilizza i tag code per il codice, inoltre per codice corposo come quello allegate un file di testo.
su www.icagenda.it guide e tutorial con esempi di chronoforms e chronoconnectivity

Offline der kaiser

  • Nuovo arrivato
  • *
  • Post: 38
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #6 il: 28 Ago 2012, 21:35:59 »
ho risolto, potete chiudere.
tali stringhe erano semplicemente derivanti dal funzionamento di un altro plugin del quale non avevo letto tutta la documentazione  ::)

Offline giusebos

  • Fuori controllo
  • *
  • Post: 21748
  • Sesso: Maschio
  • Giuseppe Serbelloni Mazzanti Viendalmare
    • Mostra profilo
Re:impostazione seo joomla 2.5
« Risposta #7 il: 28 Ago 2012, 21:39:58 »
Devi tu inserire [risolto] nel titolo del primo post  ;)
su www.icagenda.it guide e tutorial con esempi di chronoforms e chronoconnectivity

Offline elasticgirl

  • Nuovo arrivato
  • *
  • Post: 26
  • Sesso: Femmina
  • Una tira l'altra :)
    • Mostra profilo
Re:[RISOLTO] impostazione seo joomla 2.5
« Risposta #8 il: 07 Set 2012, 22:04:10 »
@der kaiser
potresti spiegare quale plugin ti dava questo problema? Io non riesco ad individuare la causa della stringa dopo .html#.UEpTJ66E6uI
Grazie!
Servizi Web Personalizzati OpenSource Low Cost

Offline der kaiser

  • Nuovo arrivato
  • *
  • Post: 38
    • Mostra profilo
Re:[RISOLTO] impostazione seo joomla 2.5
« Risposta #9 il: 07 Set 2012, 22:31:45 »
Certo, evidentemente utilizzi anche tu il plugin (ho il codice) fornito da AddThis.
AddThis, per monitorare quanti utenti condividono i tuoi contenuti ti fornisce un codice con quella stringa finale (per tenere traccia di quanti utenti condividono la pagina facendo ctrl+c e ctrl+v), tuttavia questa opzione può essere disabilitata togliendo la spunta alla checkbox in basso a sinistra in questa pagina: https://www.addthis.com/get/sharing#.UEpY1LLN9uQ
Ovviamente devi copiare il nuovo codice.

Offline elasticgirl

  • Nuovo arrivato
  • *
  • Post: 26
  • Sesso: Femmina
  • Una tira l'altra :)
    • Mostra profilo
Re:[RISOLTO] impostazione seo joomla 2.5
« Risposta #10 il: 08 Set 2012, 12:07:01 »
@der kaiser Grazie! era proprio questo plugin AddThis ad aggiungere quella stringa grazie alle tue instruzioni ho risolto  :D
Servizi Web Personalizzati OpenSource Low Cost

 



Web Design Bolzano Kreatif