Pagina 1 di 1

Contrib Seo Url's Errore 404

Inviato: 11/08/2010, 15:45
da maarlok
Posto l' errore che mi restituisce il server quando attivo la contrib Seo Url's

404 Not Found
The requested URL /store/mobilicassettiere-c-24_45.html was not found on this server.

Ho pensato che potrebbe essere il file .htaccess ma non ho idea di come modificarlo.
Posto il codice del mio file:


#php_flag register_globals on

#Commentare su Aruba
Options +FollowSymLinks
Options -Indexes

RewriteEngine On
RewriteBase /

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information_pages.php?info_id=$2&%{QUERY_STRING}

Nella speranza di incontrare un' anima pia ..........un saluto a tutti!!!!

Re: Contrib Seo Url's Errore 404

Inviato: 11/08/2010, 20:29
da marcus
Se lo shop è in / devi mettere:

Codice: Seleziona tutto

RewriteBase /
Se lo shop è in /store/ devi mettere:

Codice: Seleziona tutto

RewriteBase /store/
Saluti
Marcus

Re: Contrib Seo Url's Errore 404

Inviato: 11/08/2010, 21:50
da maarlok
Salve Marcus ho provato a mettere /store/ ma non funziona ancora................
Ora mi da questo errore:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@stilemio.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Re: Contrib Seo Url's Errore 404

Inviato: 11/08/2010, 23:26
da marcus
maarlok ha scritto:Salve Marcus ho provato a mettere /store/ ma non funziona ancora................
Ora mi da questo errore:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@stilemio.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Salve,

questo è il file .htaccess corretto:

Codice: Seleziona tutto

#php_flag register_globals on

#Commentare su Aruba
#Options +FollowSymLinks
#Options -Indexes 

RewriteEngine On 
RewriteBase /store/

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information_pages.php?info_id=$2&%{QUERY_STRING}
Saluti
Marcus

Re: Contrib Seo Url's Errore 404

Inviato: 12/08/2010, 13:26
da maarlok
Grazie Marcus...........ora funziona tutto!!!!!