No follow on class - is it correct?
-
Quetstion,
Due to some recent SEO issues on our website on an audit, we found that a potential risk could be all the semi-sitewide links derived from a buy now pay later provider's code in our source code.
Our developer implemented Rel= no follow in the following context... <p class="afterpay-paragraph" style="display:block; margin-top:0.3rem;" rel="nofollow"></p class="afterpay-paragraph" style="display:block;>
Is what the developer has done, adding it as a class correct? and will it work correctly for SEO? or should i tell the developer to go back and include the no follow code instead as href="https://www.afterpay.com/terms" rel="nofollow"> and add the same to each external .png link too?
| |
| | |
| | or make 4 interest-free payments of |
| | |
| | fortnightly with |
| | [https://www.afterpay.com/terms](<a class=)"> |
| | |
| | src="https://static.afterpay.com/integration/product-page/logo-afterpay-colour.png" |
| | srcset="https://static.afterpay.com/integration/product-page/logo-afterpay-colour.png 1x, https://static.afterpay.com/integration/product-page/[email protected] 2x, https://static.afterpay.com/integration/product-page/[email protected] 3x" |
| | width="100" height="21" alt="Afterpay"> |
| | More info |
| | |
| | |
| | | -
Thanks that is what i suspected. Very helpful, many thanks.
-
Hi,
Your developer hasn't added it as a class, he has added the attribute to the paragraph tag, however, it still isn't right.
The "rel" attribute can only be used with a or link tags. It does not cascade down, i.e. you can't put it higher up to cover all child tags, which is what I think the developer is trying to do.
As you've suggested, he needs to go back and change it.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Meta title not showing up correctly on SERP
We have an issue with some clients on a Wordpress CMS where title tags implemented on a Yoast SEO plugin for the Homepage are not coming up as we'd implemented them. However, the source code shows we'd implemented them correctly according to what we'd wanted.**For example, this is the title tag we implemented in the CMS:Towing Services Alberta | Jack's TowingSource code shows:Towing Services Alberta | Jack's TowingHowever, SERP results shows:**Jack's Towing | Towing Services Alberta This is not an issue with the rest of the other pages and there isn't a global template for our client's sites. It's perplexing that it's only happening on the Homepage and this is across for 3 of our clients' sites.Even more perplexing, recently we've noticed that SERP is only showing the client's business name as the title tag and this is across for 2 out of the 3 clients we'd mentioned above. Nothing has changed in the back-end.Would appreciate some insight on this issue!
On-Page Optimization | | Gavo4 -
What is the correct code to write the rel=canonical in the HTML HEAD of the page?
is it like: html> <head> <link rel="canonical" href="http://example.com/" /> head> <body> ...<ref>sdfdfref> or like:
On-Page Optimization | | dubraverd0 -
Lost SEO contract, new SEO wants us to do the following - can you explain why?
1. Make prokem.co.uk the master domain rather than prokem-corrosion-protection.com 2. Ensure each http URL is 301 redirected to its https counterpart via htaccess rather than in plesk 3. 301 redirect each www.prokem-corrosion-protection.com URL to its co.uk counterpart via htaccess. I can provide a list of pages to redirect as there are a number of duplicate pages that will need removing. It probably makes sense to implement these other changes at the same time: Remove all of the canonical tags currently on the site. Leverage browser caching by following Google’s page speed recommendations - https://developers.google.com/speed/docs/insights/LeverageBrowserCaching Losslessly compress all of the website’s images. Combine and minify the website’s JavaScript
On-Page Optimization | | Simon_VO0 -
Google Website title not showing correctly
Hi Im not sure what triggered this - Page title is showing up as 'Isagenix Australia' while it should be <title>Buy Isagenix with 30 Day money back guarantee & Free Shipping in June</title> Previous title was 'Isagenix Australia - Read Isagenix reviews & buy isagenix products' but now it seems to have a mind of its own. Any suggestions would be helpful
On-Page Optimization | | IsaCleanse0 -
Correct .htaccess settings for canonical url?
I want to forward all urls to http:www.mysite.com but am a little confuse because I am getting duplicate content error: Pages with Duplicate Page Content as of Jan 15http://titanappliancerepair.com/ 1 duplicatehttp://titanappliancerepair.com 1 duplicatehttp://titanappliancerepair.com/index.html 1 duplicate*****************************************************************What should I put ion htaccess file so I can forwardhttp://titanappliancerepair.com/index.htmlhttp://titanappliancerepair.comhttp://titanappliancerepair.com/to http://www.titanappliancerepair.comor what is the correct way to do it?I'm confused because when I enter http://titanappliancerepair.com/ in browser it showshttp://titanappliancerepair.com so how can it be considered duplicate content?.Can someone help?I have godaddy and they have gave me this code to put RewriteEngine on
On-Page Optimization | | webbutler13
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?0 -
Should I make All My "Non-Money" Pages No-Follow?
I'm branching out here from my novice seo status . . . In an effort to channel page rank to the pages I wish to rank for should I make all my non-money pages no-follow. Pages like "contact us", "about us", "application", etc. It seems to make sense to make these no follow so the page rank flows to the pages I wish to rank for. Am I on the right track?
On-Page Optimization | | leaseman0 -
Page Analysis on our asp.net site is showing the following for HTML Text - //
paintball-online.com This is consistent on every page, despite these pages having text. I assume the SEOMoz tool is working just fine and we have a coding issue that may be hindering our SEO efforts. Any ideas/suggestions? Thanks
On-Page Optimization | | Istoresinc0 -
Will a "no follow" "no index" meta tag resolve duplicate content issue?
I have a duplicate content issue. If the page has already been indexed will a no follow no index tag resolve the issue or do I also need a rel canonical statement?
On-Page Optimization | | McKeeMarketing0