1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How many 301 redirects can be added to .htaccess?

Discussion in 'Server Configuration and Hosting' started by TheBigK, Feb 26, 2014.

  1. TheBigK

    TheBigK Well-Known Member

    Several months ago, @Jake Bunce had helped us import all our WordPress content to XenForo. Since there was no way to add auto-redirects to the new location of the content; we decided to let go of hundreds of back-links.

    After reviewing our Google Webmasters account, it looks like we 'should' at least have a few (~ 150-200) high-quality backlinks. The only way to do this, it seems is to hard-code them in the .htaccess file.

    My question is: How many of 301 redirects can we safely add to .htaccess file? What's the correct format of adding these links?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There isn't a hard limit to my knowledge.

    If you provide some example URLs and I can provide .htaccess code.
     
    RoldanLT likes this.
  3. TheBigK

    TheBigK Well-Known Member

    Thanks, Jake.

    Here's a sample link:-

    Code:
    http://www.crazyengineers.com/ear-powered-medical-devices-are-getting-ready-5512/
    Should Redirect To -

    Code:
    http://www.crazyengineers.com/threads/ear-powered-medical-devices-are-getting-ready.66735/
    Do you think adding 150-200 links won't affect anything (performance, speed, et.al)?
     
  4. Renegade

    Renegade Well-Known Member

    You should do this using a rewrite map. I have set it up for over 8k redirects so far and plan to add another 20K in a month. So 200 links is nothing compared to that.

    Unfortunately I am not very good with redirects so it took me a lot of trial and error to get it setup right. I can only point in the right direction.
     
  5. TheBigK

    TheBigK Well-Known Member

    Could you tell me how to setup a rewrite map? How are you adding redirects? Manually or automatically?
     
  6. Renegade

    Renegade Well-Known Member

    TheBigK likes this.
  7. TheBigK

    TheBigK Well-Known Member

    Thanks. Did it work? Any effect of the map on the site's performance?
     

Share This Page