Results 1 to 4 of 4

Thread: Need help adding rel="nofollow"

  1. #1
    Sami4u's Avatar
    Sami4u is offline Butterflies Forever
    Join Date
    Sep 2009
    Location
    USA
    Posts
    1,421
    Thanks
    697
    Thanked 293 Times in 221 Posts

    Need help adding rel="nofollow"

    Hi,

    This is for a site that I have an amazon wp plugin working on

    The plugin is

    WordPress › Amazon Product In a Post Plugin WordPress Plugins

    I really like this plugin.

    Can someone please tell me where to add the rel="nofollow" at in the plugin.

    I don't want all the amazon links to be do follow.

    Thanks in advance.

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

  2. #2
    proweb's Avatar
    proweb is offline Joomla Developer
    Join Date
    Jan 2010
    Posts
    217
    Thanks
    4
    Thanked 24 Times in 23 Posts
    I have never used this plugin and the source code contain about 10 link codes, you may try adding the nofollow tag to each link.
    Find Best Web Hosting Service. It's good or bad host? - JustHost Review
    Download free joomla themes for version 1.5 and 1.6

  3. #3
    JHalstead is offline Unknown Net Builder
    Join Date
    Nov 2010
    Posts
    3
    Thanks
    0
    Thanked 4 Times in 1 Post
    I've looked into this for you and i think I have your solution. In your main "amazon-product-in-a-post-plugin" folder you have the file "amazon-product-in-a-post.php".

    Open this file and do a search for
    HTML Code:
    href="' . $result["URL"]
    and replace that with your no follow,
    HTML Code:
    rel="nofollow" href="' . $result["URL"]
    .

    I found 4 of these matches, one of which was commented out.

    I've tested this on a local copy of wordpress and it's working for me, I tried both editing an existing post and from creating a new one. I've not looked at every option configuration but this should be the answer.

    Let me know if this was your solution.

    - Justin

  4. Thanked by:

    bogart (28 November, 2010), robjones (21 November, 2010), Sami4u (18 November, 2010), Shenron (18 November, 2010)

  5. #4
    Sami4u's Avatar
    Sami4u is offline Butterflies Forever
    Join Date
    Sep 2009
    Location
    USA
    Posts
    1,421
    Thanks
    697
    Thanked 293 Times in 221 Posts
    Hi,

    I tried the code it worked Just what I wanted.

    Thanks for your help.

    Sami
    Current Celebrity Gossip Movies & More TV Site
    Find out how I'm able to get up to 420 backlinks for month, by spending 30 seconds per day...all for FREE! - Click Here

Similar Threads

  1. What's "new" about "Content Curators"?
    By memenode in forum Content and Writing
    Replies: 2
    Last Post: 12 July, 2012, 18:28 PM
  2. Replies: 4
    Last Post: 17 April, 2010, 09:16 AM
  3. Replies: 0
    Last Post: 6 November, 2009, 05:47 AM
  4. "Dofollow" & "Nofollow" Blogs ?
    By Padalda in forum Blogging
    Replies: 10
    Last Post: 4 October, 2009, 08:19 AM
  5. Replies: 2
    Last Post: 4 August, 2009, 03:09 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •