Simonencello Posted January 15, 2015 Share Posted January 15, 2015 Salve, seguendo i vari tutorial in giro ho eseguito l'istallazione di PS egregiamente su hosting. E cioè www.mionegozio.it/prestahop. Ma forse era meglio mettere tutti i files direttamente nella root del sito, perchè digitando www.mionegozio.it non entro nel negozio. Come posso fare per accedervi senza dover digitare anche /prestashop? Grazie. 1 Link to comment Share on other sites More sharing options...
max1960 Posted January 15, 2015 Share Posted January 15, 2015 Se vuoi mantenere l'installazione con la cartella "prestashop" che dovrai rinominare con qualcosa di più pertinente al tuo sito, devi caricare nella root del dominio un file .htaccess contenente un redirect alla cartella, come questo: RewriteEngine on RewriteCond %{HTTP_HOST} ^tuodominio.com$ [OR] RewriteCond %{HTTP_HOST} ^www.tuodominio.com$ RewriteRule ^(.*)$ http://www.tuodominio.com/nomecartella/$1 personalmente consiglio l'installazione nella root, per motivi di indicizzazione SEO. Ciao. Link to comment Share on other sites More sharing options...
Simonencello Posted January 16, 2015 Author Share Posted January 16, 2015 Grazie per la risposta. Mi sa che rifarò tutto da capo. E' sufficente cancellare la cartella prestashop via ftp e riprocedere all'installazione? Link to comment Share on other sites More sharing options...
cyber Posted January 16, 2015 Share Posted January 16, 2015 (edited) è sufficiente che tu gli dia un redirect <meta http-equiv="REFRESH" content="0; URL=http://www.tuosito.it"> crea una paginetta index.php nella root e inserisci quel codice html con il tuo sito di destinazione facile Edited January 16, 2015 by cyber (see edit history) Link to comment Share on other sites More sharing options...
Simonencello Posted January 16, 2015 Author Share Posted January 16, 2015 Grazie anche per la tua risposta. ora però sono nel dubbio per l'indicizzazione seo. Link to comment Share on other sites More sharing options...
Sito Lab Posted January 17, 2015 Share Posted January 17, 2015 puoi fare anche in questo modo passo 1: prendi il contenuto della cartella e portalo nella root principale passo 2: vai nel tuo database trova la cartella ps_shop_url clicca su modifica e metti così www.nomesito.it www.nomesito.it / salva ed il gioco è fatto adesso il tuo sito è visibile come www.nomesito.it invece che www.nomesito.it/negozio Link to comment Share on other sites More sharing options...
Simonencello Posted January 20, 2015 Author Share Posted January 20, 2015 Database? dove si trova? Link to comment Share on other sites More sharing options...
Sito Lab Posted January 20, 2015 Share Posted January 20, 2015 Database? dove si trova? il database che hai installato per far funziona il tuo hosting che è in phpmyadmin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now