uvip Posted January 22, 2015 Share Posted January 22, 2015 We are using google sitemap v1.8, we are wondering how to change the generated default sitemap file name? I mean everytime it is generated, it can be used the desired name, not from ftp everytime to manually do the change. Anyone had an experience? Please help advise. THANKS Link to comment Share on other sites More sharing options...
uvip Posted January 31, 2015 Author Share Posted January 31, 2015 Why there is no one to answer??? Please help. Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted January 31, 2015 Share Posted January 31, 2015 Why? Well of course everyone is mean and likes ignoring people asking for help ...Or maybe no-one knows? In any case, you must change it here: file_put_contents(dirname(__FILE__).'/../../'.$this->context->shop->id.'_index_sitemap.xml', $xml_feed->asXML()); modules/gsitemap/gsitemap.php Link to comment Share on other sites More sharing options...
mikewra Posted January 31, 2015 Share Posted January 31, 2015 Now that's hilarious. Nice, Nemo! On 1/31/2015 at 9:25 AM, Nemo1 said: Why? Well of course everyone is mean and likes ignoring people asking for help ...Or maybe no-one knows? Link to comment Share on other sites More sharing options...
uvip Posted February 4, 2015 Author Share Posted February 4, 2015 On 1/31/2015 at 9:25 AM, Nemo1 said: Why? Well of course everyone is mean and likes ignoring people asking for help ...Or maybe no-one knows? In any case, you must change it here: file_put_contents(dirname(__FILE__).'/../../'.$this->context->shop->id.'_index_sitemap.xml', $xml_feed->asXML()); modules/gsitemap/gsitemap.php Thanks for your information. However, I cannot locate the string you mentioned as below file_put_contents(dirname(__FILE__).'/../../'.$this->context->shop->id.'_index_sitemap.xml', $xml_feed->asXML()); in the file modules/gsitemap/gsitemap.php, are you talking about google sitemap v1.8 for prestashop 1.4? Could you please help specify the string for google sitemap v1.8 for prestashop 1.4? Thanks a lot for your help! Link to comment Share on other sites More sharing options...
NemoPS Posted February 4, 2015 Share Posted February 4, 2015 Well no, version 3.0, I don't have that version to check, I am afraid Link to comment Share on other sites More sharing options...
uvip Posted February 7, 2015 Author Share Posted February 7, 2015 On 2/4/2015 at 9:16 AM, Nemo1 said: Well no, version 3.0, I don't have that version to check, I am afraid Anyone has google sitemap v1.8 for prestashop 1.4 to check and share there? Thanks 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