Setting up some categories - so it displays the contact page for other details

  • Posts: 94
  • Thank you received: 0
  • Hikashop Business
8 years 10 months ago #255212

-- url of the page with the problem -- : www.itl-vacuum.com/online-catalogue/category
-- HikaShop version -- : 2.5
-- Joomla version -- : 2.5.x

I have been doing some work on the site to make it more SEF.

I have got rid of index and .html in the urls but this has created problems in hikashop.

I was using canonical urls but I have to turn this option off now to make the hikashop display without every product going to a 404 page.

Previously some categories were configured (via the canonical url field) to display the contact page for further details - now this does not work. How can I reinstate this?

Alternativley I could turn canonical urls back on but i would have to delete it manually off all products and there are thousands. Can you purge all this together?

Please Log in or Create an account to join the conversation.

  • Posts: 84426
  • Thank you received: 13720
  • MODERATOR
8 years 10 months ago #255218

Hi,

You can use a mass action to remove the canonical URLs with an action "update the values" on the "product_canonical" column. You can do that via the menu System>Mass actions.
www.hikashop.com/support/documentation/167-massaction-form.html

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 0
  • Hikashop Business
8 years 10 months ago #255294

Thanks nicolas,

can you confirm that the settings (see attached) are correct for the mass action.

Also if I run this - then disable this action - then turn canonical urls back on - entering the url for the contact form on the relevant catorgies/products - this would work with 404 pages?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26284
  • Thank you received: 4046
  • MODERATOR
8 years 10 months ago #255299

Hi,

"Delete the element" will delete the product ; it won't update the product canonical field.
Please read very carefully the Nicolas' message:

with an action "update the values" on the "product_canonical" column


Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 0
  • Hikashop Business
8 years 10 months ago #255376

Hi,

Thank god I checked!

Is the attached correct? Not sure what value to add in the 'INT' drop down.

Also can I just check that doing this mass action - then disable this action - then turn canonical urls back on - entering the url for the contact form on the relevant catorgies/products - this would work with 404 pages?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84426
  • Thank you received: 13720
  • MODERATOR
8 years 10 months ago #255379

Hi,

'INT' is the shortcut for "integer". So you want to use "string" instead as the canonical URL field is a text field.

And I'm sorry but I don't understand what you mean with your sentence

Also can I just check that doing this mass action - then disable this action - then turn canonical urls back on - entering the url for the contact form on the relevant catorgies/products - this would work with 404 pages?

What is the link between enter the link to a contact form page as canonical URL of the products and "work with 404 pages" ?
What does "work with 404 pages" means ? You want to have 404 pages ?

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 0
  • Hikashop Business
8 years 10 months ago #255475

Hi Nicolas,

Previously you advised me to use canonical urls to direct some products or categories to a contact form page for further details.

I have now updated the site with .htaccess and using sef404sh to help with SEO.

This broke all the links to products in Hikashop (generating 404 errors) which was cured by turning canonical urls off.

So now when I go to a page ie www.itl-vacuum.com/online-catalogue/cate...th-your-requirements it does not disply the contact form.

So I wanted to remove (using mass action all existing canonical urls - then turn it on again and let hikashop build new links and enable me to manually add the contact form to some products.

Will this work and solve my issue without breaking all my links again.

Hope this makes sense and sorry for my scrambled question.

Please Log in or Create an account to join the conversation.

  • Posts: 84426
  • Thank you received: 13720
  • MODERATOR
8 years 10 months ago #255478

Hi,

This will work yes.
You indeed need to use a mass action to clear the canonical URLs and the links won't be broken when you turn back on the canonical URL setting.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum