Search the Community
Showing results for tags 'www'.
-
seo Prestashop redirects 301 without www and multilanguage
pattila01 posted a topic in General topics
Hello friends, one of my clients has a SEO expert, who checked her site. He says the main redirects are not good, we have to fix it. I've installed a test 1.7.6.8 with the same settings: simple domain without www, SSL (https) and multilanguage, after that I checked it in an online https status checker. Test domain: https://1768.presta-shop.hu/hu/ Checker: https://httpstatus.io/ Urls to check in this case: http://1768.presta-shop.hu https://1768.presta-shop.hu http://www.1768.presta-shop.hu https://www.1768.presta-shop.hu So we have a non-ssl url, an ssl url, a non-ssl url with www, and an ssl url with www. The result: There are multiple redirects because a non-ssl and the language (because in this case the final url is https://1768.presta-shop.hu/hu/ or https://1768.presta-shop.hu/gb/ or other, it depends on your language). The SEO experts says it's bad, we have to fix it: every url version has to redirect to the final url immediately. I checked the /classes/controller/FrontController.php's sslRedirection and canonicalRedirection functions, but I have no good result yet. Somebody says the apache redirect can help: https://www.ionos.com/digitalguide/server/configuration/apache-redirects/ But I am not sure. What do you think about this problem? I checked other Prestashops with multilanguage, but the result was the same. -
Après avoir galéré pour changer le répertoire d'installation de mon prestashop 1.6, j'ai décidé de poster ce petit tuto qui j'espère va en aider d'autres. Je ne suis pas du tout expert alors si vous avez des suggestions ou améliorations,.... Comment passer de www/dossier1 à www/dossier2 (www est le root sur OVH, il peut être remplacé par autre chose ... root...etc) Et faire en sorte que l'url soit nomdedomaine/dossier2 aller dans préférences > SEO &URLS remplacer à la ligne chemin de base par dossier2 désactiver les urls simplifiées (par précaution mais je n'en suis pas sur) se connecter en ftp et remplacer dossier1 par dossier2 vider le cache (/cache/smarty/cache & /cache/smarty/compile Supprimer tous les fichiers et dossiers sauf le index.php s'il y est.) Le nom de dossier est maintenant changé. (si besoin, vider le cache de son navigateur ou plus simple faire une navigation privée) Maintenant pour modifier l'url dans le dossier www/ (ou root....) créer un fichier .htaccess comportant #ensemble de lignes nécessaires sur OVH Options -Indexes Options -Multiviews Options +FollowSymLinks SetEnv REGISTER_GLOBALS 0 SetEnv PHP_VER 5 #redirection vers sous-dossier RewriteEngine On RewriteCond %{REQUEST_URI} !^dossier2 RewriteRule ^(.*)$ http://www.nomdedomaine.com/dossier2/$1 [R=301,L] et voila, en théorie cela fonctionne! et pour rappel lors du changement de base
- 16 replies
-
- repertoire
- installation
-
(and 3 more)
Tagged with:
-
Bonjour, Avant de me lancer et par peur de faire une bêtise, j'ai besoin de votre aide. mon site prestashop (version 1.7.3) est actuellement en construction et hébergé chez OVH. Il est accessible via le cluster http://lechatpenz.cluster021.hosting.ovh.net:80/ et je voudrais le faire apparaitre uniquement en www. Dois je toucher au htaccess ou simplement aller dans le BO /SEO & URL et remplacer le lien cluster par le lien de mon site en www. ? Aussi, une fois changé dans le BO , n'y aura t'il pas de problème d'accès au BO après? Merci pour vos lumières
-
Bonjour, lorsque je vais sur ma boutique en https://monsite/maboutique, je me retrouve systématiquement avec une url https://www ou changer cela pour rester sur une url sans les www ? merci
- 2 replies
-
- redirection
- www
-
(and 1 more)
Tagged with:
-
Hi all, I had a webshop running for several years and gained a number of backlinks. It was set under domain name norwayshop.com (without www). I recently reinstalled the webshop and transferred all the DB, including URLs with the main purpose to retain backings. This time the shop is set as www.norwayshop.com (with www). However, a number of my backlinks are pointing to the one which is without www. I solved the issue with the main domain by setting up a redirect on cpanel, but when it comes to subfolders it no longer works properly. Try for example: NorwayShop.com it will be redirected to www.norwayshop.com (fine) And then try: NorwayShop.com/es I then get a 404 error (even though the main domain loads, it gives an error and damages my SEO) Possible maybe to fix via registrar (DNS)? I would be grateful for the advice. PS 1.6.18 Rgds, Tomas
- 2 replies
-
- redirect su folder
- www
-
(and 2 more)
Tagged with:
-
Nie działa przekierowanie na stronę bez www
tiande posted a question in Wsparcie i pomoc użytkowników
Wersja version 1.6.1.18 Ustawienie htccess dla przekierowań na strone z www i bez www Mam problem z ustawieniem wlasciwych przekierowan w multistore - dwie domeny Podstawowa domena www.xxxx.co.uk działa poprawnie z www (www.xxxx.co.uk) i bez www (xxxx.co.uk) Natomiast dodany sklep www.yyyy.co.uk działa tylko poprawnie z ustawieniem www tak jak zostalo ustawione w opcji mulitistore. Sklep nie dziala poprawnie bez www (yyyy.co.uk) i przekierowuje na pierwszy sklep - www.xxxx.co.uk. W opcji multistore zmienialem link drugiego sklepu bez www i wtedy dzialał bez www ale z www przekierowywal na sklep podstawowy. Czyli odwrotna systuacja. Probowałem ustawien htaccess - GDZIE PEWNIE TKWI PODSTAWOWY BLAD - ale bez skutku. Z braku umiętności w tym zakresie Zarzadzanie Cpanel - nowa domena zostala dodana i umcowana w public_html. Prosze o sugestie i pomoc w ustawieniu. Stefan ===================== chyba znalazlem rozwiazanie choc uwazam ze jesd nadal gdzies blad w systeme. zamiast #Domain: www.yyyyy.co.uk RewriteCond %{HTTP_HOST} ^www.yyyyy.co.uk$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] Jest #Domain: www.yyyyy.co.uk RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] -
I'm getting this error when I only put in the www. It breaks the design element and tt doesn't tell me which stylesheet is insecure. Any ideas where to start? Thanks, JJ
- 17 replies
-
- stylesheet
- https
-
(and 1 more)
Tagged with:
-
Witam, zabieram się właśnie do wstępnego pozycjonowana strony, a że nie jestem w tym temacie alfą i omegą to powiem szczerze, ze liczę na podpowiedź. By lepiej było mnie zrozumieć, kilka słów wstępu. Posiadam dwie domeny: mojadomena.pl oraz mojadomena.com.pl. Pierwsza z nich jest główna, druga jest przekierowana za pomocą htacces. Zajmiemy się tą pierwszą. Strona wisi na serwerze od dwóch lat, niedawno ją zmieniałem, w związku z nim powstały martwe linki, albo niepotrzebne. Po wpisaniu w google "site:www.mojadomena.pl" oraz "site:mojadomena.pl" również się różne linki pokazują. Mimo, że dla google to są dwie różne strony, to pytanie czy wyniki powinny się różnić, skoro na jeden katalog wskazują? Wrzuciłem stronę do webmasters google, zarówno z przedrostkiem www jak i bez niego, te same mapy stron są, te same robots.txt, a i tak różne błędy, które na bieżąco usuwam. Głównie to są błędy z nieistniejących stron, które przekierowuje w pliku htacces na istniejące. I tutaj moje pierwsze pytanie - czy dobrze zrobiłem wrzucając obydwie strony? Czy tylko powinienem tą prawidłową, tzn. bez "www"? Chciałbym aby w google wyświetlały się tylko strony umieszczone w mapie (zablokowany regulamin i wysyłka): <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <!-- created with Free Online Sitemap Generator www.xml-sitemaps.com --> <url><loc>http://mojadomena.pl/</loc></url> <url><loc>http://mojadomena.pl/content/15-my</loc></url> <url><loc>http://mojadomena.pl/content/16-media</loc></url> <url><loc>http://mojadomena.pl/content/17-opinie</loc></url> <url><loc>http://mojadomena.pl/content/19-porownanie</loc></url> <url><loc>http://mojadomena.pl/content/20-instalacja</loc></url> <url><loc>http://mojadomena.pl/content/21-aktualizacja</loc></url> <url><loc>http://mojadomena.pl/content/12-faq</loc></url> <url><loc>http://mojadomena.pl/content/13-kontakt</loc></url> <url><loc>http://mojadomena.pl/produkt/9-produkt.html</loc></url> <url><loc>http://mojadomena.pl/produkt/10-produkt.html</loc></url> <url><loc>http://mojadomena.pl/produkt/11-produkt.html</loc></url> <url><loc>http://mojadomena.pl/produkt/12-produkt.html</loc></url> <url><loc>http://mojadomena.pl/produkt/8-produkt.html</loc></url> </urlset> plik robots.txt: User-agent: * # Private pages [wpisy wygenerowane przez prestę] Disallow: /*controller=guest-tracking # Directories Disallow: /*classes/ Disallow: /*config/ Disallow: /*download/ Disallow: /*mails/ Disallow: /*modules/ Disallow: /*translations/ Disallow: /*tools/ Disallow: /*img/ # Files Disallow: /*pl/odzyskiwanie-hasla Disallow: /*pl/adres Disallow: /*pl/adresy Disallow: /*pl/logowanie Disallow: /*pl/koszyk Disallow: /*pl/rabaty Disallow: /*pl/historia-zamowien Disallow: /*pl/dane-osobiste Disallow: /*pl/moje-konto Disallow: /*pl/sledzenie-zamowienia Disallow: /*pl/pokwitowania Disallow: /*pl/zamowienie Disallow: /*pl/szukaj Disallow: /*pl/szybkie-zakupy Disallow: /*pl/sledzenie-zamowienia-gosc Disallow: /*pl/potwierdzenie-zamowienia Disallow: /*pl/nie-znalexiono-strony Disallow: /*pl/najczesciej-kupowane Disallow: /*pl/producenci Disallow: /*pl/nowe-produkty Disallow: /*pl/promocje Disallow: /*pl/mapa-strony Disallow: /*pl/dostawcy Disallow: /*pl/sklepy # Graphic Disallow: /*.pdf$ Disallow: /*.png$ Disallow: /*.gif$ Disallow: /*.ico$ # Sites Disallow: /content/2-regulamin Disallow: /content/3-wysylka # Sitemap Sitemap: http://mojadomena.pl/sitemap.xml dodałem kilka swoich wpisów. Czy poprawnie zablokowałem strony CMS dla regulaminu i wysyłki? Obrazki - chciałbym, aby w google wyświetlały się tylko obrazy z produktami i logo. Mogę dać dla wszystkich Disallow, a dla tych konkretnych Allow ze ścieżką dostępu? w .htaccess nie ma nic szczególnego, dodałem tylko kilka swoich wpisów: RewriteCond %{HTTP_HOST} ^www.mojadomena.pl$ [NC] RewriteRule ^(.*)$ http://mojadomena.pl/$1 [R=301,L] # 404 z google webmasters RewriteRule ^content/12-produkt$ http://mojadomena.pl/produkt/9-produkt.html [R=301,L] ...i tak dalej... Reasumując: Czy w webmasters google powinienem dodawać oby dwie strony z przedrostkiem www i bez niego? I usuwać dla każdej z nich błędy? Jak poprawnie zablokować resztę stron, aby linki w google były widoczne tylko te z mapy? Czy martwe linki lepiej przekierowywać tak jak teraz to robię, czy też lepiej usuwać w narzędziach w google? Dodam, że pomimo usunięcia, przy ponownej indeksacji czasie znów się pojawiły. Mimo, że ich na pewno w serwisie nie było, gdyż pochodziły ze starej wersji strony. Poprzez przekierowanie przynajmniej już błedy nie wyskakują. Ale nadal są w wynikach wyszukiwania. Co zrobić, aby wyniki wyszukiwania dla www.mojadomena.pl i mojadomena.pl były identyczne? Trochę długie i dla niektórych pewnie śmieszne są moje problemy, ale na dłuższą metę nie zajmowałem się pozycjonowaniem. Co wyczytałem, to wyczytałem, ale przy niektórych rzeczach muszę się poradzić.
- 8 replies
-
- webmasters google
- www
-
(and 1 more)
Tagged with:
-
Hi there, I have set up multi-store and it works fine except for one detail, let me explain: I have shop 1: http://www.shop-one.com Shop 2: http://www.shop-two.com If you go to http://www.shop-two.com then everything works ok. However if you go to http://shop-two.com (without www) then you get redirected to http://www.shop-one.com That's obviously a big problem as it is likely some visitors will omit the www. I have tried the other way around with the same effect: if I set up multi-store without www then it works fine with http://shop-two.com but not with http://www.shop-two.com Technical details: Prestashop 1.5.3.1 I parked the domain shop-two.com on top of shop-one.com using WHM "Park a domain" feature. Does anyone have any idea about what I'm missing? Thanks in advance
- 9 replies
-
- multistore
- 1.5
-
(and 2 more)
Tagged with:
-
Hello, I have the option of creating Prestashop. I'm given 2 options - 1) Install with 'www' in front of domain name. So it goes http://www.domain.com 2) Install 'without www' in front. So it goes http://domain.com Can you let me know what is the best to go for? I am thinking of Google Pagespeed and want the fastest/best SEO option. Thanks a lot.
- 2 replies
-
- seo
- prestashop
-
(and 2 more)
Tagged with:
-
Und hallo nochmal, zwar habe ich eben meine erste Frage ins Forum geschrieben, jedoch ist mir gerade etwas eingefallen mit dem ich ebenfalls schon häufiger Probleme hatte. Meine Homepage wird ohne www aufgerufen. Natürlich habe ich in der ht.access Datei wie folgt bespickt: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.meine-seite\.de$ [NC] RewriteRule ^(.*)$ http://meine-seite.de/$1 [L,R=301] Leider bleibt dies jedoch stets nur kurzzeitig bestehen und ich muss ab und an nachbessern...woran liegt es, dass die Befehle nicht bestehen bleiben und wie kann ich diese Befehle dauerhaft einfügen? Das selbe Problem tritt übrigens bei dem Befehl max_input_vars = 4000 auf, mit dem man ja die Übersetzung direkt in Presta bearbeiten kann. Prestashop Version ist 1.5.4.1 Hoffe ihr könnt mir helfen, vielen Dank im Voraus! Grüße, el tequilero
- 10 replies
-
- URL Rewrite
- Weiterleitung
-
(and 3 more)
Tagged with:
-
Bonjour J'ai mis mon site en ligne avec la solution du module OVH car je ne suis pas un expert du FTP. Malheureusement pour l'URL du site j'ai mis http://monsite.com au lieu de http://www.monsite.com Comme vous pouvez le voir il manque le www. Je souhaite donc modifier l'URL d'accès de mon site pour récupérer le www. Merci pour votre aide, si j'ai bien compris d'après mes lectures, il faut aussi modifier la base de donnée, mais je ne suis pas un expert et je souhaiterai des conseils pour le faire aussi. Dans l'attente de votre aide, merci d'avance.
-
I have PS 1.5.6.2 installed in a subfolder of my domain (www.mydomain.com/us/) I have friendly urls on, and in"Preferences > SEO & URLs" my shop domain and ssl domain are set to www.mydomain.com and the base url: /us/ When checking the redirect of non www (http://mydomain.com/us/ -> http://www.mydomain.com/us/'>http://www.mydomain.com/us/) It shows that it is a 302 redirect, but I would like it to be a 301 redirect. So I have tried adding a redirect to the very top of my htaccess file: RewriteCond %{HTTP_HOST} ^mydomain\.com$ RewriteRule ^us/$ http://www.mydomain.com/us/? [L,R=301] The problem here is that http://mydomain.com/us/ then redirects to http://www.mydomain.com and not as intended http://www.mydomain.com/us/'>http://www.mydomain.com/us/ How can this be resolved? Thanks!
-
I have moved my store from another cart solution to Prestashop 1.5 and I am having issues with my old links not redirecting to my 404 "Page-not-found" page. The reason for this is I have had to set my store up without the www in the "Shop domain" in my BO. If I try to use www I cannot login to the BO and users cannot login to their accounts. I can see in my Google Webmaster account that there are a lot of pages that there were links to on my old site that don't exist on my new site. I know I should have redirects for these to relevant pages on the new site! But for now I would be happy if they redirected to my 404 "Page-not-found" page. Plus, I have tried to setup some redirects in .htaccess but they don't seem to work. The old links are trying to go to a www version of my pages, this is why they are not getting to my 404 page. However if I remove the www from the followed link, I do get the 404 page. E.g. here is a link to an old page that Google has found - http://www.honda50.i...n-set-did-chain It doesn't work, but if I remove the www it does work - http://honda50.ie/p/...n-set-did-chain Also, if I set www on my "Shop domain" in the BO the links then work fine, but this breaks logging into the BO and user accounts! I though .htaccess was supposed to redirect www pages to non-www pages when "Automatically redirect to Canonical URL" was enabled. I have also tried to manually create redirects in the .htaccess myself, but it does not work. The format I have used for the redirect is - RewriteRule ^/p/134/honda-50-chain-set-did-chain /page-not-found [R=301,L] Any help or advice would be great... Thanks in advance.
-
Hola a todos, tengo instalada una versión 1.5.6.2 en la que con el dominio con www no deja acceder a la cuenta de cliente, da errores de acceso. Además también he habilitado SSL y en el carro no se muestran los términos del servicio, aparece la ventana facybox con error 404, lo mismo ocurre con cualquier enlace del CMS. Alguien sabe como hacer que funcione todo correctamente con URL amigables, SSL y www??? Muchas gracias a todos, un saludo.
-
Bonjour, Je vous explique mon problème j'ai constaté une redirection 302 entre http://monsite.com et http://www.monsite.com. Normalement ce devrait être une redirection 301 ! Je n'arrive pas à trouver où se fait cette redirection, j'utilise prestashop 1.5.6.0 J'ai pu faire le test sur d'autres sites j'avais également des redirections 302 voir même 303 ! Je vous laisse faire le test sur ce site avec vos domaines : http://www.internetofficer.com/seo-tool/redirect-check/ il existe d'autre outils pour vérifier les redirections.
- 1 reply
-
- redirection 301
- redirection 302
-
(and 4 more)
Tagged with:
-
Bonjour, Objet : probleme redir htaccess avec ou sans WWW (impacte sur le referencement) 1) J'ai installé prestashop 1.5.3 sur un dédié ovh 2) j'ai installé la boutique dans un sous repertoire : mondomaine.fr/maboutique/ 3) à la racine du site mondomaine.fr, j'ai mis une page index.html en dur (non gérée par prestashop) 4) j'ai activé le rewriting dans SEO... 5) j'ai généré le htaccess et placé à la racine (httpdocs..) 6) la redirection de http://mondomaine.fr/maboutique/'>http://mondomaine.fr/maboutique/ renvoie bien vers http://www.mondomaine.fr/maboutique/'>http://www.mondomaine.fr/maboutique/ 7) par contre la page d'index.html : impossible de renvoyer via htaccess l'url : http://mondomaine.fr vers http://www.mondomaine.fr Sans doute une forme de rewrite ? Quelqu'un a t'il eu ce genre de pb ? merci pour votre aide
-
Bonjour, sous PS 1.4.9 , je pouvais acceder toutes les pages du site en indiquant dans l url les www , et aussi sans les www. sous PS 1.5.2, si je configure le domaine sans les www, toutes les urls avec www renvoie vers la page 404, pourquoi ? et sous PS 1.5.4, la homepage fonctionne avec et sans www mais les autres pages ( type page product ) fonctionne soit avec les www soit sans mais pas les deux en meme temps. Est ce normal ? je souhaiterais que les deux possibilitées fonctionne , comment faire sous PS 1.5 ? pour info , j ai bien régénéré le htaccess merci pour votre aide
-
Bonjour à tous, Je me permets de poster un nouveau topic car je suis, à vrai dire, un peu perdu dans la gestion du nom de domaine de mon site. Je cherche depuis des heures sur le forum sans trouver vraiment de réponse à ma question. Le problème est le suivant : Le nom de domaine de mon site dans prestashop Préférences > SEO & URLs > Domaine est marquée sans les "www", c'est à dire en fait monsite.fr dans "Domaine" et dans "Domaine SSL". De même, dans google mon site apparaît sans les "www" et si je tape l'adresse de mon site avec les www elle est automatiquement redirigée vers la page sans les www. Je ne sais pas si c'est grave et si cela peut avoir une influence sur le référencement mais j'aimerais bien savoir. Merci pour votre précieuse aide. Charles
-
Boa tarde, Estou com um problema que creio ser do meu arquivo .htaccess... Quando o cliente loga em http://meudominio.com ou simplesmente em meudominio.com ele tem acesso tranquilo. Mas se o infeliz digitar www.dominio.com ele retorna um erro. Erro mostrado(não é este meu problema): Preciso que quando o cliente entre em www.dominio.com seja redirecionado para http://domínio.com Se eu desativo o debug, ele mostra erro 500 internal, o mantenho ativado para manter o site rodando enquanto ainda posso consertar os erros mostrados com o debug ativo... Como disse, creio ser preciso alguma alteração no htaccess mas não encontro informação útil sobre tal ficheiro... Meu arquivo htaccess: Domínio: youarenerd.com.br Prestashop versão: 1.5.3.1 Host: virtuati.com.br O problema: Preciso que quando o cliente entre em www.dominio.com seja redirecionado para http://domínio.com Alguém pode me ajudar?
-
Dear Admin/User, I am working on 99trendz.com, a PS version 1.5.6.1 website and developed on Transformer theme bought from Themeforest. Since, i have updated my website with latest PS version, the internal links doesnt open with www. For ex, go to 99trendz.com, it will open with and without www but in case you open any URL, it will show you as 99trendz.com/XYZ. Now prefix www. and open as www.99trendz.com/XYZ; it will give you not found error. In case i set my shop/SSL to www.99trendz.com, then URLs doesnt work without www. and indexation doesnt works. Please please! Anyone who can help me fix this issue. I will be grateful to you for my entire life. Please help. Email me here and at [email protected] Thanks a ton in advance. Attached is my .htaccess file Htaccess.txt
-
Hi! I'm getting an error with my website's URL. I want to use Google pagespeed service to boost the loading speed of my website, that requires 'www' version of the website. My website is limited to a bare domain http://bigveda.com. I changed the shop URL in Preferences>SEO and URLs and modified it as 'www.bigveda.com' but after that the trouble begin. It'd directing me to a page which is unable to show me images of the product, even if I add a new product. Just see the images of the 'products' in the below image. Blank, bare question mark!This is what I'm getting after adding 'www' And now, after removing the evil 'www', everything gets back to normal. Here is the screenshot. As you can see, a crisp and clear image of all the items are being displayed. Can anyone please help me out in this? I really want to keep the 'www' in the domain because I want to use Goggle pagespeed service but its not possible to the service with a bare domain. Thanks!