Search the Community
Showing results for tags '.htacess'.
-
Hello, Since yesterday none of our pages are working correctly, all being redirected to a 404 error page in our site. I contacted the hosting service, and they said it's because of our .htaccess file but that they couldn't figure out where the problem was. I didn't change this file, and cannot understand how it got this way. I attach the content of our .htacess file. I'd be very grateful if someone could help us out with this as soon as possible since we are completely unable to run the shop. htacess.txt
-
Bonjour, Je doit rediriger toutes mes anciennes URLs vers les nouvelles pour ne pas perdre mon référencement de trop. Seulement j'ai un soucis qui se pose, après avoir former mes redirections vers les nouvelles URL (Utilisation d'une RewriteMap), mon URL se retrouve concaténé avec le chemin d’accès physique de mon site sur le serveur: /produit2.asp?id_produit=8489 deviens: http://www.lespoulettes-bijoux.fr/var/www/les-poulettes-bijoux/colliers-femme-createur-fantaisie/femme-collier-ras-de-cou-fils-d-argent-et-6-perles-blanches-et-grises-10005.html au lieu de: http://www.lespoulettes-bijoux.fr/colliers-femme-createur-fantaisie/femme-collier-ras-de-cou-fils-d-argent-et-6-perles-blanches-et-grises-10005.html Mon code htaccess: RewriteCond %{QUERY_STRING} ^id_produit\=(.+)$RewriteRule (.*) /$1/%1? [L]RewriteRule ^produit2.asp/(.*)$ ${map_product:$1} [R,L]
-
Hi! I´m having a bit of a problem here, im trying to activate gzip compression throw the .htaccess file. I followed the tutorial at prestatraining but with no result. I appreciate any help, thx Serverinformation PrestaShop Version: 1.4.2.5 Server-information: Linux #1 SMP Version of serverprogram: LiteSpeed PHP Version: 5.2.17 .htaccess ..... <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" </IfModule> FileETag INode MTime Size <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript </IfModule>
- 11 replies
-
Hola Verión PS 1.5.6.2 Si accedo a dominio.es/direccion => Es correcto Si intento acceder a www.dominio.es/direccion => Me da esta dirección con un 404 :: dominio.es/direccion?controller=404 He probado a activar y desactivar urls amigables, activar y desactivar multitienda, activar y desactivar Redirigir automáticamente al enlace principal (cononical URL).....no me crea el .htaccess alguna sugerencia? Gracias Aquí parace tener el mismo error: http://www.prestashop.com/forums/topic/310199-htaccess-problem-prestashop-1562/ He revisado la web y hay el mismo problema pero nada resulto. Help please. Thanks