Results 1 to 11 of 11
  1. #1
    rucanunes is offline Public Member
    Join Date
    January 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question 301 redirects and nofollow

    Hi,

    I have several links like this: hxxp://www.mydomain.com/visit/....

    Is there a way to make them all 301 redirects and nofollow?

    Tks!!

  2. #2
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Sinking Faster, just when I thought it couldn't get worse it did!
    Posts
    26,677
    Thanks
    1,779
    Thanked 7,626 Times in 4,813 Posts

    Default

    You should be adding the nofollow in the html when you place the links on the pages and posts.
    Code:
    <a href=http://domain.com/visit/link.html rel="nofollow">hyperlink</a>
    Then put the "visit" folder in the robots.txt file to disallow it.

    Then add the noindex tags to the visit page in html.
    Code:
    <metaname="robots"content="noindex">
    Rick
    Universal4

  3. #3
    rucanunes is offline Public Member
    Join Date
    January 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I don't mean that. I want to be able to do this to all the links that I have already, all together, not one by one.

  4. #4
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    Use an htaccess file if you are on Apache
    GaryTheScubaGuy

  5. #5
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Sinking Faster, just when I thought it couldn't get worse it did!
    Posts
    26,677
    Thanks
    1,779
    Thanked 7,626 Times in 4,813 Posts

    Default

    Htaccess are not limited to only apache servers.

    On a Windows server the server admin only needs to add the isapi rewrite engine from Helicon.

    Rick
    Universal4

  6. The Following User Says Thank You to universal4 For This Useful Post:

    GaryTheScubaGuy (22 December 2013)

  7. #6
    mickyfu is offline Public Member
    Join Date
    February 2013
    Posts
    426
    Thanks
    74
    Thanked 295 Times in 181 Posts

    Default

    Not quite sure what you want to do, but if you are using WordPress there are 301 plugins and nofollow plugins which may help you.

  8. #7
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

    Default

    Quote Originally Posted by universal4 View Post
    Htaccess are not limited to only apache servers.

    On a Windows server the server admin only needs to add the isapi rewrite engine from Helicon.

    Rick
    Universal4
    Good to know Rick. My programming skills are a bit out of date =
    GaryTheScubaGuy

  9. #8
    rucanunes is offline Public Member
    Join Date
    January 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What do I have to write in .htaccess to ad nofollow to all the hxxp://www.mydomain.com/visit/.... links?

  10. #9
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Sinking Faster, just when I thought it couldn't get worse it did!
    Posts
    26,677
    Thanks
    1,779
    Thanked 7,626 Times in 4,813 Posts

    Default

    Here is a small handfull of examples for the syntax
    https://forums.digitalpoint.com/thre...better.591056/
    https://forums.cpanel.net/f5/how-set...le-292941.html
    http://www.htaccessredirect.co.uk/

    By using the htaccess file to redirect affiliate links you will need an entry for every single link.

    Rick
    Universal4

  11. #10
    GaryTheScubaGuy's Avatar
    GaryTheScubaGuy is offline In Memorium, 1966-2018
    Join Date
    December 2008
    Location
    Malta
    Posts
    745
    Blog Entries
    22
    Thanks
    223
    Thanked 430 Times in 205 Posts

  12. #11
    LotusAffiliates is offline New Member
    Join Date
    October 2013
    Posts
    88
    Thanks
    8
    Thanked 21 Times in 16 Posts

    Default

    If you are using wordpress then I would suggest you to use redirection plugin (http://wordpress.org/plugins/redirection/). Then after setup all URLs & referrals to new URL. Attached a screenshot as well.


Tags for this Thread

Posting Permissions

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