merylvingien Posted November 20, 2009 Share Posted November 20, 2009 Blimey i dont know where to begin LOL Is there a max size limit for the .htaccess file? I have just started google off crawling my site, and then changed my mind about a folder, i want to rename it, so this would mean near on 3000 (301 redirects) Thats way to big for .htaccess isnt it? Quote Link to comment https://forums.phpfreaks.com/topic/182319-solved-htaccess-size/ Share on other sites More sharing options...
roopurt18 Posted November 20, 2009 Share Posted November 20, 2009 I don't understand why renaming one folder would require 3000 redirects. RewriteEngine on RewriteRule /oldpath(.*) /newpath$1 [QSA,R=301,L] #Not sure if that syntax is proper for R=301 Quote Link to comment https://forums.phpfreaks.com/topic/182319-solved-htaccess-size/#findComment-962110 Share on other sites More sharing options...
merylvingien Posted November 20, 2009 Author Share Posted November 20, 2009 Well google has just run through and indexed probably half of my site, you never can tell until about month later, but the spider has been busy. So if those pages are already indexed, if i remove them, then google gets all annoyed, i dont want manually remove 3000 urls from google. So its a 301 redirect, no? Quote Link to comment https://forums.phpfreaks.com/topic/182319-solved-htaccess-size/#findComment-962123 Share on other sites More sharing options...
roopurt18 Posted November 20, 2009 Share Posted November 20, 2009 Yes, it's a 301 redirect. What I meant was I'm not sure of this part of my syntax, as in I wasn't sure I was providing the redirect code properly: [QSA,R=301,L] It should be Ok like that though. Quote Link to comment https://forums.phpfreaks.com/topic/182319-solved-htaccess-size/#findComment-962129 Share on other sites More sharing options...
merylvingien Posted November 20, 2009 Author Share Posted November 20, 2009 I see. I will do some googling and see what i can find Quote Link to comment https://forums.phpfreaks.com/topic/182319-solved-htaccess-size/#findComment-962133 Share on other sites More sharing options...
merylvingien Posted November 20, 2009 Author Share Posted November 20, 2009 sorted Quote Link to comment https://forums.phpfreaks.com/topic/182319-solved-htaccess-size/#findComment-962140 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.