1. visability
  2. RO CSVI
  3. Monday, 03 August 2015
  4.  Subscribe via email
I have setup an XML feed for my Joomla 3.4.3/Virtuemart 3.0.9 website. I am using CSVI Pro 5.21.2

The URLs in the XML feed differ from those in the live site and I need them to match the live site. I have spent an hour trying to get this right with no success.

An example of the URL in the XML file:
mysite/shop/404/apple-macbook-air-13-quot-128gb-mjve2-detail

This is what it should be:
mysite/macbook-air/apple-macbook-air-13-quot-128gb-mjve2-detail

When I do a search on my website the results page links to the correct URL. Why is CSVI pulling the incorrect URL? Both URLs work but the feed must display the correct SEF URL version
Accepted Answer Pending Moderation
It looks like it can't find the Itemid and that is why you get Shop 404. First of all, if a product is assigned to more than 1 category, CSVI will export the URL for the first category returned by the database.

CSVI uses the Itemid chosen in the template or if none is set, Itemid is set to 1.

Why is CSVI pulling the incorrect URL?
Usually happens because there is no simple way to retrieve a SEF URL, especially from the backend. There is no list of SEF URLs, so CSVI constructs the non-SEF URL then requests the SEF URL from the system.

Which SEF router are you using? Joomla default or a specific extension?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Thank you for the quick reply

What item id should I be using. Is it the item id for the menu that links to Virtuemart?

I am Joomla default SEO.

I have just tested the export and website URLs with the setting in VirtueMart => Configuaration => SEO set to SEO Disabled. With this checked the URLs for both the website and the XML file are both like this:
mysite/component/virtuemart/view/productdetails/virtuemart_product_id/24265/virtuemart_category_id/1347?Itemid=1

Does this help you understand the issue?
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
What item id should I be using. Is it the item id for the menu that links to Virtuemart?
Correct.

With SEO disabled, it is interesting that the urls are the same. Let's see how it goes with the correct Itemid.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
I have added the correct menu id but nothing has changed.
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Can you export the non-SEF URL to see what is there. You can set the non-SEF option in the template.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
I have set it to not SEO and this is the link that I get:
mysite/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=24265&virtuemart_category_id=1347&Itemid=1171
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
With SEF enabled and you open that link, do you get the CSVI SEF URL or VM SEF URL?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
I don't get any SEO page. It simply loads the product at the non-SEO URL.
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,

Attached is an alternative way to retrieve the SEF URL by sending a request to the server for every URL. This way CSVI mimics to be a user and should get a more accurate SEF URL. Only downside might be the number of requests but you need to see if it works for you.

In this document it's explained how to load a patch file in CSVI:
http://www.csvimproved.com/en/support/questions-and-answers/905-how-to-load-a-patch-file
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Thank you Roland
  1. more than a month ago
  2. RO CSVI
  3. # 10
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!