Bonjour,
Je répond ici au message que tu m'as envoyé, tu me dis avoir mis dans ton htaccess RewriteBase /thelia2/web
Comment as tu installé thelia sur ton hébergement ? je veux dire ton dossier thelia pointe t-il à la racine du domaine ou ailleurs ?
Par exemple dans mon cas sur 1and1 j'avais des 404, mon domaine lui pointe sur thelia/web qui est installé à la racine de mon hergement. (j'ai mis les noms d'origine en exemple) et mon htaccess est constitué de la sorte :
Options +FollowSymlinks -Indexes
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
RewriteEngine On
# SEO, remove the subdomain www in URL
# Exemple : http://www.yourdomain.com/contact redirect 301 to http://yourdomain.com/contact
# To activate uncomment the following two lines
#RewriteCond %{HTTP_HOST} ^www.yourdomain.com$
#RewriteRule ^(.*) http://yourdomain.com/$1 [QSA,L,R=301]
# SEO, add the subdomain www in URL
# Exemple : http://yourdomain.com/contact redirect 301 to http://www.yourdomain.com/contact
# To activate uncomment the following two lines
#RewriteCond %{HTTP_HOST} ^yourdomain.com$
#RewriteRule ^(.*) http://www.yourdomain.com/$1 [QSA,L,R=301]
# SEO, to avoid duplicate content with index.php in url
# Exemple : http://www.yourdomain.com/index.php/contact redirect 301 to http://www.yourdomain.com/contact
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.?)index\.php/(.*) /$1$2 [R=301,NE,L]
# If thelia is installed in a subdirectory (e.g., thelia2)
# define the RewriteBase below to get a proper URL rewriting
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
</IfModule>
Par contre si mon domaine avait juste pointé sur le dossier thelia j'aurais remplacé RewriteBase / par RewriteBase /web
Info en plus vérifie bien que tu modifie le htaccess contenu dans ton dossier web. Petite info en plus si tu veux passer ton site en https (ce qui est recommandé pour une boutique) après avoir installé le certificat tu devrais ajouter dans ton fichier
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mondomaine.fr/$1 [R,L]