[osCommerce] Adding custom files to sitemap
[osCommerce] Adding custom files to sitemap
Hello,
i run a osC 2.3.4 and have several custom pages I would like to add to the (Google) sitemap.
How can this be done?
Heiko
i run a osC 2.3.4 and have several custom pages I would like to add to the (Google) sitemap.
How can this be done?
Heiko
Re: [osCommerce] Adding custom files to sitemap
You can add your custom pages to the MSU Sitemaps in sitemaps/static.php file.
Re: [osCommerce] Adding custom files to sitemap
Thanks for the quick reply: the urls are added now to sitemaps.php.
It is also possible to make the link to these sites in my shop look like the other links?
I mean, instead of:
http://www.my-domain.com/my_custom_page.php?language=fr
this:
http://www.my-domain.com/fr/my_custom_page
It is also possible to make the link to these sites in my shop look like the other links?
I mean, instead of:
http://www.my-domain.com/my_custom_page.php?language=fr
this:
http://www.my-domain.com/fr/my_custom_page
Re: [osCommerce] Adding custom files to sitemap
One more question, probably related to the question above:
sitemaps static now has additional entries, like:
http://www.my_domin.com/es/about_us.html
What when I try to call this url I get a "not found" error.
What can I do?
Heiko
sitemaps static now has additional entries, like:
http://www.my_domin.com/es/about_us.html
What when I try to call this url I get a "not found" error.
What can I do?
Heiko
Re: [osCommerce] Adding custom files to sitemap
To transform such URLs you will need to change the HTML source and add the Rewrite Rules to your .htaccess file. In the current version there is no automatic way how to do that.
Re: [osCommerce] Adding custom files to sitemap
And what is the change I need to do in the HTML source?
Re: [osCommerce] Adding custom files to sitemap
It depends where and what link do you want to change.