Joomla.it Forum

Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => : filippo10 29 Jan 2014, 10:33:58

: Levare index.php e server no apache
: filippo10 29 Jan 2014, 10:33:58
Ciao a tutti, sto creando il sito (ariesidea.com) ma ho un problema. Quando si accede mi da in nomesito/index.php/

Ho provato a leggere tutte le discussioni sul forum e ho letto anche la guida che avete fatto dove ho attivato la voce "Riscrivi URL SEF" ma non avendo apache XXXXX (hosting) non me lo fa fare.

Come posso fare? Qualcuno mi può aiutare?

Grazie

Edited: eliminato riferimento commerciale
: Re:Levare index.php e server no apache
: floyd1616 29 Jan 2014, 11:58:39

[size=78%]Ciao, la prima cosa che mi viene in mente è quella di contattare il tuo amministratore di server e chiedere se hanno problemi con la riscrittura delle url, visto che hai attivato il componente "URL SEF" dal pannello di amm. di joomla.[/size]

Quali specifiche ha il server?
: Re:Levare index.php e server no apache
: filippo10 29 Jan 2014, 14:44:22
Ciao, l'hosting è XXXx

Edited: per cortesia evita come da regolamente di citare servizi commerciali
Specifiche del server significa se è un server windows o linux, che versione di php, etc etc.
Il nome dell'host non serve.
: Re:Levare index.php e server no apache
: mau_develop 29 Jan 2014, 15:16:50
Joomla richiede server apache
può funzionare su server windows IIS, se cerchi "joomla su server windows" trovi tante cose
: Re:Levare index.php e server no apache
: filippo10 30 Jan 2014, 12:16:25
Allora, il serve è Apache e linux hosting. Li ho appena contattati e mi hanno detto che il probelma probabilmente è nel file .htaccess

Vi faccio il copia incolla del mio sperando mi possiate aiutare:

:
##
# @package        Joomla
# @copyright    Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
# @license        GNU General Public License version 2 or later; see LICENSE.txt
##

##
# 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!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

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

Allo stato attuale appena abilito il Riscrivi URL SEF mi da errore 404 e non fa niente.

Grazie a chi mi aiuta.
: Re:Levare index.php e server no apache
: maicolstaip 30 Jan 2014, 12:34:53

http://www.joomla.it/articoli-della-community/903-configurazione-seo-di-joomla-rendere-appetibile-il-sito-ai-motori-di-ricerca.html

http://www.joomla.it/articoli-community-16-e-17-tab/5109-joomla-17-e-seo-come-ottimizzare-il-sito-per-i-motori-di-ricerca.html

http://www.joomla.it/mediawiki/index.php/Joomla!_2.5:Ottimizzazione_per_i_motori_di_ricerca
: Re:Levare index.php e server no apache
: filippo10 30 Jan 2014, 12:52:36
Le ho già lette quelle guide ma non ho risolto.
: Re:Levare index.php e server no apache
: maicolstaip 30 Jan 2014, 13:30:12
Prova a decommentare questo

# RewriteBase /
: Re:Levare index.php e server no apache
: filippo10 30 Jan 2014, 14:45:41
Grandissimo Maicol, era quello. Grazie a te e a tutti.
: Re:[RISOLTO] Levare index.php e server no apache
: maicolstaip 30 Jan 2014, 14:48:24
Bene,
la prossima volta leggi bene le guide perchè è impossibile che tu non lo abbia visto ;)

Ciao!
: Re:[RISOLTO] Levare index.php e server no apache
: alan.lama 30 Jan 2014, 15:52:39
ciao, ho visto il sito che stai creando, che bello il template e i social che hai sulla sinistra.
come hai fatto a metterli?
sono dei componenti?
grazie
: Re:Levare index.php e server no apache
: filippo10 09 Feb 2014, 12:21:31
Ragazzi ho di nuovo questo problema ma stavolta con altro sito.. Il file htaccess è il solito in cui su un sito funziona e sull'altro no.

Mi spiego, su questo sito attuale quando vado a modificare il file htaccess decommentando la riga sopra mi funziona la home page ma come clicco su qualsiasi articolo/menu allora non mi fa niente restituendomi un erorre.

Allora ho provato quindi a lasciare il file così com'era (senza decommentarlo) ma niente non funziona uguale.

Carneade please!

: Re:Levare index.php e server no apache
: maicolstaip 09 Feb 2014, 12:44:00
http://www.joomla.it/articoli-della-community/903-configurazione-seo-di-joomla-rendere-appetibile-il-sito-ai-motori-di-ricerca.html (http://www.joomla.it/articoli-della-community/903-configurazione-seo-di-joomla-rendere-appetibile-il-sito-ai-motori-di-ricerca.html)

http://www.joomla.it/articoli-community-16-e-17-tab/5109-joomla-17-e-seo-come-ottimizzare-il-sito-per-i-motori-di-ricerca.html (http://www.joomla.it/articoli-community-16-e-17-tab/5109-joomla-17-e-seo-come-ottimizzare-il-sito-per-i-motori-di-ricerca.html)

http://www.joomla.it/mediawiki/index.php/Joomla!_2.5:Ottimizzazione_per_i_motori_di_ricerca (http://www.joomla.it/mediawiki/index.php/Joomla!_2.5:Ottimizzazione_per_i_motori_di_ricerca)

Sempre uguale.
: Re:Levare index.php e server no apache
: filippo10 09 Feb 2014, 13:26:27
Purtroppo ho già letto e spulciato tutto e fatto infinite prove anche decommentando la riga 20 (anzi la 19 nel mio caso) ma niente.. Non risolvo.
: Re:Levare index.php e server no apache
: maicolstaip 09 Feb 2014, 19:03:20
Guarda, senza addentrarmi in sofismi saresti il primo in questo forum a non far funzionare il SEO seguendo quelle guide.

Riguarda bene tutto, riparti da zero e leggi e metti in pratica tutti i suggerimenti e vedrai che funziona.
Ciao!
: Re:Levare index.php e server no apache
: filippo10 10 Feb 2014, 19:18:16
Io invece, purtroppo, non sono riuscito a risolvere. Ho provato a decommentare e ricommentare qualsiasi cosa di:
# RewriteEngine On
e

Options + FollowSymLinks


Eppure, ancora niente e l'unica cosa che trovo è: La mia home che funziona e quando clicco su un link (categoria) mi da: 404 not found

 The requested URL was not found on this server.
: Re:Levare index.php e server no apache
: bigportal 16 Apr 2014, 12:41:17
Immagino che tu abbia risolto il problema... In ogni caso anche a me è successa la stessa cosa tempo fa ed ho risolto abilitando il plugin redirect e reindirizzando le pagine verso l'url corretto.