Joomla.it Forum

Componenti per Joomla! => SEO => : palmirotheking 29 Apr 2008, 15:19:47

: Problema indicizzazione sito - SEO
: palmirotheking 29 Apr 2008, 15:19:47
Salve da circa due mesi ho creato un sito internet. All'inizio non ero indicizzato in nessun motore, ma aspettando un pò qualcosina è uscito fuori. Documentandomi ho installato il componente sh404 per ottimizzare i link ed avere qualche opportunità in più. Ma le cose non sono andate nel verso giusto, anzi ora come ora non è quasi in nessun motore di riceca indicizzato. Premetto che il componente l'ho installato da circa 1 mese.
Altro problema, non riesco a capire perchè in tutti i link mi mette es. www.extremetrialdrivers.com/index.php/Show/Show.php
index.php e poi il seguito, come lo faccio ad eliminare?

Il sito in discussione è www.extremetrialdrivers.com

essendo nuovo di joomla non riesco a farlo indicizzare, premetto che google non mi ha mai indicizzato una pagina.


Vi ringrazio per qualsiasi aiuto,
Manuel
: Re: Problema indicizzazione sito - SEO
: taolo 29 Apr 2008, 20:04:05
Ciao palmirotheking. Benvenuto su joomla.it  :)

Si. Il tuo sito non è indicizzato. Cmq ti conviene mettere un pò di testo nella homepage ed incrementare notevolmente i tuoi contenuti. Direi che un sito che viene "scoperto" dai motori con pochi contenuti non viene tanto considerato.
: Re: Problema indicizzazione sito - SEO
: palmirotheking 29 Apr 2008, 20:32:38
ok, proverò ad ampliare i contenuti... Per quanto rigurda invece il link, come faccio ad eliminare "index.php"?
Dici che l'indicizzazione dipende solo dai scarsi contenuti, oppure c'è anche qualche altro errore che mi potrebbe ostacolare?
: Re: Problema indicizzazione sito - SEO
: taolo 29 Apr 2008, 20:45:23
L'errore che più risalta è la mancanza di testo in homepage.  ;)

Per togliere index dall'url devi attivare il mod_rewrite. Vai in configurazione del componente (ovviamente sh404), alla voce "avanzato" imposta come modalità rescrivibile --> con htaccess (mod_rewrite).

Se hai modificato a dovere il file .htaccess  index scomparirà.

: Re: Problema indicizzazione sito - SEO
: palmirotheking 01 May 2008, 08:49:03
Grazie, per il problema di indicizzazione penso di aver risolto perchè google magicamente mi ha inserito in lista... Cmq seguirò il vostro consiglio di ampliare i contenuti...
Ora altro problema, da quando ho attivato il rewrite sono saltati tutti i link, premetto che ho svuotato più volte la cache...
Ecco il mio file .htaccess, dategli una controllata per favore...
:
SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla! from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla! is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  Can be commented out if causes errors, see notes above.
Options FollowSymLinks

#
#  mod_rewrite in use

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
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section


########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
: Re: Problema indicizzazione sito - SEO
: sali40 01 May 2008, 09:00:31
Questo è il tuo htaccess

 SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla! from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla! is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  Can be commented out if causes errors, see notes above.
Options FollowSymLinks

#
#  mod_rewrite in use

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
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section


########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section

e questo è come dovrebbe essere:
:
SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla! from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla! is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  Can be commented out if causes errors, see notes above.
Options FollowSymLinks

#
#  mod_rewrite in use

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
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section


########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section

In ogni caso, nella documentazione di sh404 c'è un htaccess già compilato con alcune stringhe di sicurezza, pure.

Ticordati che l'htaccess.txt va rinominato i .htaccess (con il punto iniziale e senza "txt")
: Re: Problema indicizzazione sito - SEO
: palmirotheking 03 May 2008, 11:34:28
Allora, facciamo il punto...
Nella root io ho le seguenti cartelle e file:
- cgi-bin;
- confs;
- htdocs;
- .htaccess --> con scritto all'interno:
ErrorDocument 403 /__tmp/topweb.shtml
AddHandler php5-script .php

Dopodichè dentro la cartella htdocs ho installato joomla con all'interno cartelle e file.
Anche qui dentro c'è un file .htaccess con all'interno scritto ciò che mi ha sugerito "sali40" sopra.
: Re: Problema indicizzazione sito - SEO
: palmirotheking 03 May 2008, 15:38:42
Allora, ho inserito il seguente codice nel .htaccess in sostituzione al precedente e funziona, date una controllata anche voi al sito: www.extremetrialdrivers.com

vedete se così può andare...

Ecco il codice inserto:
:
#####################################################
#  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


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

RewriteBase /portal


########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section


########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/portal/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party 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 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