crawl errors Google and Bing

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #234342

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- Error-message(debug-mod must be tuned on) -- : error 403, access denied

Hi,

I get crawl error messages from Google and Bing for a lot of pages with the same build. They all refer to:
/upload/file/uploader-order/field-item-foto_2/field_map-data[item][foto_2]/uploader_id-foto_etc

(f.e. www.jouwnaambord.nl/naamborden/naambordj...oto_2/field_map-data [item][foto_2]/uploader_id-foto_2/5423ea599e5d443eb31e77b3f09e29c6-1/tmpl-component). I can't find out where this link is build. It looks like it's coming from Hikashop, but I don't understand how.

Can you explain how to solve this?

Thanks,

Michel Pouli

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 7 months ago #234358

Hi,

That's a link of the upload system for custom fields.
They should not be indexed.
Change the code:

$html = '<a '.$a.$onClick.' id="'.$id.'" href="'.$url.'" data-hk-popup="squeezebox" data-squeezebox="{title:\''.$title.'\',size:{x:'.$params['width'].',y:'.$params['height'].'}}">';
		} else {
			$html = '<a '.$a.$onClick.' id="'.$id.'" href="'.$url.'" data-hk-popup="squeezebox" data-squeezebox="{handler: \'iframe\', size: {x: '.$params['width'].', y: '.$params['height'].'}}">';
to:
$html = '<a rel="nofollow" '.$a.$onClick.' id="'.$id.'" href="'.$url.'" data-hk-popup="squeezebox" data-squeezebox="{title:\''.$title.'\',size:{x:'.$params['width'].',y:'.$params['height'].'}}">';
		} else {
			$html = '<a rel="nofollow" '.$a.$onClick.' id="'.$id.'" href="'.$url.'" data-hk-popup="squeezebox" data-squeezebox="{handler: \'iframe\', size: {x: '.$params['width'].', y: '.$params['height'].'}}">';
in the file administrator/components/com_hikashop/helpers/popup.php and that will prevent search engines to index them next time they index the product pages on your website (it might take a while).

The following user(s) said Thank You: michelpouli

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #234563

Thanks Nicolas!

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #234589

Hi Nicolas,

Changed the code ( the code missed the frase "data-hk-popup="squeezebox"" in my version of popup.php). But after change on the backside you aren't able anymore to edit the product in a order.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #234591

Hi,

So you have to remove the code data-hk-popup="squeezebox" and only keep rel="nofollow".

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #234681

Yes, I already did, but then the edit function didn't work anymore.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 7 months ago #234771

Hi,

The data-hk-popup="squeezebox" text has been added in HikaShop 2.6.1
So if you have the latest version of HikaShop, like you said you had, there is no reason that you don't have it.
So I don't know what you have in your popup.php or what version you have.
But I've made the change I told you to do on my end in the 2.6.1 and the popups are still working.

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #234819

Hi Nicolas,

You were right, the version of popup.php was 2.6.0, don't know why. I downloaded the latest release and installed it, but the problem remains. When adding the nofollow rel, the edit option in the order (backend) is not responding anymore, see screenshot. I cleared all cache after alteration.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
8 years 7 months ago #234844

Hi,

Could you provide a backend access, that way we will be able to test and see if there is javascript errors or something like that ?

You can send the information via our contact form with a link to this topic in your message.
www.hikashop.com/support/contact-us.html

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 7 months ago #235490

Hi,

Try to change the "popup mode" of the Hikashop configuration to "vex" and that should avoid the problem. There is already a nofollow for these popups, it works, and it doesn't require any code change.

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #235504

Hi Nicolas,

Sounds good, where do I find this config setting? Can't find it in the System-Configuration?

Michel

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 7 months ago #235506

It should be there, under the Display tab.

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

  • Posts: 507
  • Thank you received: 21
  • Hikashop Business
8 years 7 months ago #235605

yes, found it

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

Time to create page: 0.083 seconds
Powered by Kunena Forum