I’m working on xml file that needs certain data from Oxid database. Now I’m stuck with article url data. I’m getting the url from OXSEOURL in OXSEO table but the problem are new articles that are added in backend. It seems that OXSEOURL is not created when article is created in backend but only after the article is accessed and opened in frontend.
I would like to access the url of an article immediately after an article is created in backend. Is there a way to force creation of all url-s before articles are viewed in frontend?
right, the URLs will be re-written only by access via the front end. A suitable way could be to write a small crawler script that accesses all pages once, for example.
I’ve just discovered that url is also created before accessed in frontend by clicking SEO tab in backend (Administer Products/Products/Product SEO tab).
I’m trying to find out how OXID generates OXSEOURL but I’m new in PHP and so far I only managed to isolate these files that maybe are crucial:
oxseoencoder.php
shop_seo.php
article_seo.php
When started I was hoping to find s solution with a simple call of OXID’s function with product ID (OXID) … but now I’m realy stuck.
Any hints on how to generate an url for a product would be appreciated.
right, the URLs will be re-written only by access via the front end. A suitable way could be to write a small crawler script that accesses all pages once, for example.
Regards[/QUOTE]
Thanks for the hint - but I’m afraid that a small crawler is beyond my programming knowledge. I’ll try to search for an already made one and try to modify it.
I’ve also tried to use Google Sitemap Xml tool https://github.com/OXIDprojects/google_sitemap.
I was hoping that it would do the job for me but unfortunately it has the same “problem” meaning no Google Sitemap until all OXSEOURL’s are created.