Post by Kinga17006 » Fri Nov 13, 2020 6:01 pm

Opencart 3.1 - version I am using.....

How do I remove rel="no follow" from social media icons on product pages? I read all over that it should be removed since no follow is used on paid links or links you do not want to link to.

Where do I go in C Panel to remove it?

<p class="info"><b>Product Code:</b> Alketa Red</p>
<li>SKU: 99-24565</li>

<p class="info share"><b>Share:</b>
<a class="single_share fb_share external" rel="nofollow"><i class="fa fa-facebook"></i></a>
<a class="single_share twitter_share external" rel="nofollow"><i class="fa fa-twitter"></i></a>
<a class="single_share google_share external" rel="nofollow"><i class="icon-google-plus"></i></a>
<a class="single_share pinterest_share external" rel="nofollow"><i class="fa fa-pinterest"></i></a>
<a class="single_share vk_share external" rel="nofollow"><i class="fa fa-vk"></i></a>
</p>

</div> <!-- .info-holder ends -->

2. I went there and I do not see it, I can remove the buttons all the way but no "no follow" removal option.
/shop/catalog/view/theme/default/template/product/product.tpl

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style" data-url="<?php echo $share; ?>"><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a></div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e"></script>
<!-- AddThis Button END -->


Thanks,

Newbie

Posts

Joined
Sun Oct 20, 2013 1:13 pm

Post by paulfeakins » Fri Nov 13, 2020 6:18 pm

Kinga17006 wrote:
Fri Nov 13, 2020 6:01 pm
How do I remove rel="no follow" from social media icons on product pages?
Why do you want to?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Fri Nov 13, 2020 6:22 pm

To start with: There is no OpenCart version 3.1. The current stable version is 3.0.3.6, the next one will be in the 4.0.x range.

With regards to your code:

Code: Select all

<p class="info"><b>Product Code:</b> Alketa Red</p>
<li>SKU: 99-24565</li>

<p class="info share"><b>Share:</b>
<a class="single_share fb_share external" rel="nofollow"><i class="fa fa-facebook"></i></a>
<a class="single_share twitter_share external" rel="nofollow"><i class="fa fa-twitter"></i></a>
<a class="single_share google_share external" rel="nofollow"><i class="icon-google-plus"></i></a>
<a class="single_share pinterest_share external" rel="nofollow"><i class="fa fa-pinterest"></i></a>
<a class="single_share vk_share external" rel="nofollow"><i class="fa fa-vk"></i></a>
</p>

</div> <!-- .info-holder ends -->
None of the OpenCart standard versions have it. Hence, you are not telling us the whole story here. Most likely this code comes from an older 3rd party extension (old because there is no Google Plus anymore). So nobody can help you here without further details. Most likely you'll have to get in touch with the author of that 3rd party extension.

Also, OpenCart 3.0.x does not have a 'product.tpl' file, it uses a 'product.twig' file where you can easily comment out the addthis buttons.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Kinga17006 » Sat Nov 14, 2020 7:11 am

Hi -

I was the one for searched for an answer.

I read all over the opencart, and in general that it is not good idea to use "no follow" on any social media buttons.

No follow - is used for pages you do not want to link to, something you do not want to be associated with....since google changed the rules on that - please correct me if I am wrong?

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Those social media buttons are in my template - basel (it is called).

So when I go to /catalog/view/theme/basel/template/product/product.tpl - ...................I got it! changed it to - follow...

Newbie

Posts

Joined
Sun Oct 20, 2013 1:13 pm

Post by Kinga17006 » Sat Nov 14, 2020 8:16 am

Hi - here is the recent info I found about it.......


Takeshi Young

Apr 18, 2013

Do not nofollow your social media profiles.

Adding nofollows to links does not increase your PR, it just eliminates the link juice that would have gone to those pages. Do not nofollow your own links or links to properties you manage. Only nofollow links if they are low quality sites, you have a commercial relationships with them, or they are competitors.

Linking to your social media profiles will also get them ranking higher in the search results for your brandname, which is a good thing if you maintain good social media profiles.

Newbie

Posts

Joined
Sun Oct 20, 2013 1:13 pm

Post by scottyboyyy » Sat Nov 14, 2020 8:49 am

In cPanel, If it is not in public html > catalog > view > default > template > product > product, I imagine it will be somewhere in catalog > view > default > template > extension. Did you download a social extension? Look for that name in there.
Kinga17006 wrote:
Sat Nov 14, 2020 8:16 am
Hi - here is the recent info I found about it.......


Takeshi Young

Apr 18, 2013

Do not nofollow your social media profiles.

Adding nofollows to links does not increase your PR, it just eliminates the link juice that would have gone to those pages. Do not nofollow your own links or links to properties you manage. Only nofollow links if they are low quality sites, you have a commercial relationships with them, or they are competitors.

Linking to your social media profiles will also get them ranking higher in the search results for your brandname, which is a good thing if you maintain good social media profiles.

Active Member

Posts

Joined
Fri Apr 07, 2017 2:36 am

Post by Kinga17006 » Sat Nov 14, 2020 10:45 am

HI - I have a template for those buttons....basel

I taught I got it and change it in a code catalog/view/theme/basel/template/product.tpl and I change it there
then I also changed it in product.twig
then I saw same thing in quickview.tpl
then I saw same thing in quickview.twig - they all changed to follow

<p class="info share"><b>Share:</b>
<a class="single_share fb_share external" rel="follow"><i class="fa fa-facebook"></i></a>
<a class="single_share twitter_share external" rel="follow"><i class="fa fa-twitter"></i></a>
<a class="single_share google_share external" rel="follow"><i class="icon-google-plus"></i></a>
<a class="single_share pinterest_share external" rel="follow"><i class="fa fa-pinterest"></i></a>
<a class="single_share vk_share external" rel="follow"><i class="fa fa-vk"></i></a>


However, when I look the product page - same thing shows - no follow.....

<p class="info"><b>Product Code:</b> Adrio Pink </p>
<li>SKU: 134578952</li>


<p class="info share"><b>Share:</b>
<a class="single_share fb_share external" rel="nofollow"><i class="fa fa-facebook"></i></a>
<a class="single_share twitter_share external" rel="nofollow"><i class="fa fa-twitter"></i></a>
<a class="single_share google_share external" rel="nofollow"><i class="icon-google-plus"></i></a>
<a class="single_share pinterest_share external" rel="nofollow"><i class="fa fa-pinterest"></i></a>
<a class="single_share vk_share external" rel="nofollow"><i class="fa fa-vk"></i></a>
</p>


I cleaned the site, cashe and all. Where on earth will I be able to change it?? I do not want to remove them since they are on product pages and useful....but I read all over to make them - follow - on all the buttons for social media.

Newbie

Posts

Joined
Sun Oct 20, 2013 1:13 pm

Post by Kinga17006 » Sat Nov 14, 2020 10:53 am

Version 3.0.2.0 - that is my version of opencart and template that I have on is called basel

Newbie

Posts

Joined
Sun Oct 20, 2013 1:13 pm

Post by JNeuhoff » Sat Nov 14, 2020 6:37 pm

Kinga17006 wrote:
Sat Nov 14, 2020 10:53 am
Version 3.0.2.0 - that is my version of opencart and template that I have on is called basel
In OC version 3..0.2.0 template files end with *.twig, not *.tpl. The Basel theme, like so many 3rd party themes, does things differently with regards to folder structures and overwritten template files. Hence, it you can't change it in a view/theme/basel/template/product/product.twig file, then you will have to get in touch with the Basel theme support on this!

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: Semrush [Bot] and 36 guests