Jump to content

Google Site Map Without Friendly Urls


siomosp

Recommended Posts

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

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 by siomosp (see edit history)
Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...