FME_Modules Posted April 12, 2013 Share Posted April 12, 2013 Hello, I have decided to start a thread where i will answer question related to sitemap and robots.txt. I have some experience which I believe can be used to help other and by posting all questions under one thread will create an FAQ sort of thread from which the other people can get help. Recently I have just posted in blog answer to the frequently asked question - Google Webmaster Says Robots.Txt Blocks “/index.php?controller=authentication” which is in the sitemap Link to comment Share on other sites More sharing options...
jimmywhite Posted April 20, 2013 Share Posted April 20, 2013 Hi, I have last version 1.5.4, friendly urls on, canonical url on, SSL enabled, no multistore, just one language, english, gsitemap 2.1. In my en_0_sitemap.xml, the urls for homepage, manufacturers, best sales, new products, prices drop, sitemap are https. I want them to be http because I have all the https urls disallowed by robots. How can I do that? Many thanks Link to comment Share on other sites More sharing options...
FME_Modules Posted April 22, 2013 Author Share Posted April 22, 2013 Do this in your .htaccess file. Use any of the below, Both will work. RewriteCond $1 ^(projects|sign-in|user) RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R] OR RewriteRule ^https://www.example.com(.*) http://www.example.com$1 [R=301,NC] Link to comment Share on other sites More sharing options...
jimmywhite Posted April 22, 2013 Share Posted April 22, 2013 Hi, Thanks for the answer. I tried both and nothing changed - urls are still generated with https in en_0_sitemap.xml like posted above. I have one more question: http://www.website.com/?no_mobile_theme'>http://www.website.com/?no_mobile_theme and http://www.website.com/ are considered duplicates by google. How can I redirect http://www.website.com/?no_mobile_theme'>http://www.website.com/?no_mobile_theme to http://www.website.com/ ? Link to comment Share on other sites More sharing options...
FME_Modules Posted April 23, 2013 Author Share Posted April 23, 2013 HTTP is On now on your website. You will have to regenerate your sitemap and resubmit it to webmaster. Yes it is duplication you need to write this is in your Htaccess file Redirect 301 /?no_mobile_theme http://www.website.com/ Link to comment Share on other sites More sharing options...
jimmywhite Posted April 23, 2013 Share Posted April 23, 2013 I did regenerate the sitemap and the links for homepage, new products, manufacturer, best sales, price drop, sitemap are still https. For the redirection, I finally got it to work with: RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(index.php)?\?no_mobile_theme\ HTTP/ RewriteRule ^(index.php)?$ http://www.website.com/? [R=301,L] But redirection has some nasty effects, involving cookies, so I just added link rel=canonical for homepage. Link to comment Share on other sites More sharing options...
FME_Modules Posted April 23, 2013 Author Share Posted April 23, 2013 rel=canonical is another better option. Link to comment Share on other sites More sharing options...
JAG Posted July 19, 2013 Share Posted July 19, 2013 Is this where I add any and all links that I don't want to be counted as duplicate content? Link to comment Share on other sites More sharing options...
navid68 Posted July 21, 2013 Share Posted July 21, 2013 Can I ask you questions about sitemaps? I am using PS 1.5.3.2 and the standard Sitemap module QUESTION ONE: set up Your Sitemaps were successfully created. Please do not forget to setup the url http://www.mysite.co...dex_sitemap.xml in your Google Webmaster account. How do you set up this file that is not on my server? QUESTION TWO: multilanguage Before I had only English and the module created just one file (/en_0_sitemap.xml) Now there are 5 languages and 5 sitemaps on the server (1_de_0_sitemap.xml, 1_en_0_sitemap.xml, 1_es_0_sitemap.xml, 1_fr_0_sitemap.xml, 1_it_0_sitemap.xml), so I submitted 5 sitemaps, is this correct? QUESTION THREE: sitemap quality (Google Sitemap Generator vs. free module) Before using PrestaShop, I always created my sitemaps with the free Google Sitemap Generator (http://gsitecrawler.com/). Very good software but also very slow compared to the module in the backoffice of PrestaShop. Gsitecrawler has to crawl each page of the website, so I needed to leave the computer on overnight. Most of all, I need to start it after changes to the website. The module in the back office, does the same (?) in few minutes. I just press a button and it is done! Some friends use PRO-Sitemaps.com that is available as a paid service or free (for small websites). Also you can buy the software and install it on the server. I like it because it does the job daily and send e-mail reports. My question is; which offers the best quality sitemaps? QUESTION FOUR: automated creation Is it possible to set up an automatic sitemap creation for the standard free module? QUESTION FIVE: blog sitemap I am planning to start a blog in WordPress which is very good in SEO. The PrestaShop module can not crawl the blog, then what is better for google: a- one sitemap with shop+blog created by PRO-Sitemaps or Google Sitemap Generator? b- one sitemap for the blog created by WP plugin and then sitemaps for each language created by the module? I know there are many questions, I hope it is all clear. Thanks for your help Navid Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2013 Share Posted July 21, 2013 i closed this thread, 1 thread = 1 question see: forum rules Link to comment Share on other sites More sharing options...
Recommended Posts