siomosp Posted December 31, 2015 Share Posted December 31, 2015 (edited) Hello! It is over a year i am searching a solution for google site map that generates maps without friendly urls. Is anybody experience the same problem? Any solution from anybody? Thanks! Panagiotis Edited December 31, 2015 by siomosp (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted December 31, 2015 Share Posted December 31, 2015 Which exact version of PrestaShop are you using and which exact version of gsitemap? Do you have any "special" overrides? Link to comment Share on other sites More sharing options...
siomosp Posted December 31, 2015 Author Share Posted December 31, 2015 Prestashop Version 1.6.1.3 , Latest sitemap v3.2.0 I have special overrides at my site, but it is not working at fresh install at the same server without special overides. I am using nginx , not apache , Maybe this is a problem? Link to comment Share on other sites More sharing options...
doekia Posted December 31, 2015 Share Posted December 31, 2015 Should you make changes within your .htaccess (automatic changes on every SEO&URL setting changes), you should convert the .htaccess to transpose it in your nginx vhost. Then reload nginx. Nginx does not read .htaccess! Link to comment Share on other sites More sharing options...
siomosp Posted December 31, 2015 Author Share Posted December 31, 2015 Thanks for your help What you mean with transpose .htaccess? As far as i now , nginx dont use .htaccess . How .htaccess affects prestashop on an nginx sever ? How i can transpose it to nginx? ( I have little knowledge on server administration!) Link to comment Share on other sites More sharing options...
siomosp Posted December 31, 2015 Author Share Posted December 31, 2015 (edited) SOLVED Well , it is not needed to edit any server configuration. At /modules/gsitemap folder at file gsitemap.php remove at line 373 the , true at the end... works with the latest module version V3.2.0 Details for solution at https://github.com/maximebiloe/gsitemap/commit/ab9ffc242e07bf2bc5f26990f8185c10f7628193 example site map http://www.stickit.gr/1_el_0_sitemap.xml Edited December 31, 2015 by siomosp (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted December 31, 2015 Share Posted December 31, 2015 No this works for you because of your tricky settings. (seems like your nginx does the friendly url but prestashop does not - I may be wrong however). And nginx does not read .htaccess, while per design friendly url heavily use rewriterules that are injected into the .htaccess. To properly use friendly url and nginx you need to transpose the .htacces inside you vhosts. http://winginx.com/en/htaccess to convert, then edit your vhost to populate the rule ... it then need an nginx reload. What sounds really odd is that you mention it been a year that your haven't been able to fix-it ... Link to comment Share on other sites More sharing options...
siomosp Posted January 3, 2016 Author Share Posted January 3, 2016 Happy New Year! I have settings for nginx for having friendly urls It is found at official Prestashop Guides http://doc.prestashop.com/display/PS16/System+Administrator+Guide My first post about this problem is a long time ago https://www.prestashop.com/forums/topic/278106-google-sitemap-for-shop-without-friendly-url/ similar posts by others https://www.prestashop.com/forums/topic/442984-google-sitemap-xml-without-friendly-url/ I will search more about transpose htaccess ! Thanks! Link to comment Share on other sites More sharing options...
Matthieu Malttt Posted January 5, 2016 Share Posted January 5, 2016 We made a module for this, working with Apache and Nginx, on multishop/langs prestashops here : http://addons.prestashop.com/en/seo-prestashop-modules/20903-simple-sitemap.html 1 Link to comment Share on other sites More sharing options...
doekia Posted January 5, 2016 Share Posted January 5, 2016 @Matthieu Malttt You better follow forum rules! STOP those agressive commercials 1 Link to comment Share on other sites More sharing options...
Matthieu Malttt Posted January 6, 2016 Share Posted January 6, 2016 @Matthieu Malttt You better follow forum rules! STOP those agressive commercials @doekia : Lesson learned, we will propose our module only when there is a need in the topic. Not when it's a "i have a bug" topic thing. We are new on this forum, obviously we have to learn again rules. 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