The companies.view page is not accessible at all when vendor stores are enabled. However google sitemap plugin submits them to google instead of vendor store URLs. It shouldn't happen.
|
Posted 09 November 2017 - 01:34 AM #1
The companies.view page is not accessible at all when vendor stores are enabled. However google sitemap plugin submits them to google instead of vendor store URLs. It shouldn't happen.
Posted 09 November 2017 - 07:08 AM #2
app/addons/google_sitemap/func.php
replace
$link = 'companies.view?company_id=' . $value;
with
$link = 'companies.products?company_id=' . $value;
Posted 09 November 2017 - 07:27 PM #3
Splendid!
Btw. is it possible to transform the url in the Sitemap so that already adheres to the SEO rules in the Google index, not only after the users clicks it (usually it redirects to simply: /vendor-name location).
Thanks!
EDIT:
Haven't noticed that it actually transforms these urls with fn_url function, so that the ones in the sitemap end up being in /vendor-name form. Perfect, thans!
Posted 10 November 2017 - 07:17 AM #4
You are welcome
Posted 16 February 2018 - 01:19 PM #5
I need to keep in mind this solution, thanks again eComLabs!
You are welcome!