1

We are moving a site that was built directly in html to a new wordpress cms. Since the site depends largely on google searches it's fundamental not to lose the previous links. But here's the kicker:

1) All old URLs were built in a random manner, he simply uploaded a new file to the server everytime he wanted to create a new page ("somedirectory/page_about_something-4.html") and they will be recreated in wordpress using completelly new urls ("thenewcategory/page-title/"). So it will be impossible to have simply one regex line in htacess, I'll probably need to have a case per case redirect

2) there are more than 6 thousand pages that need redirection. I can't imagine what sort of impact on performance having a .htaccess file would have.

So what are my options here? I'm imagining I could simply keep the old files on the server and make each one of them as a individual http redirect, but I'm afraid this might impact on our google page rank.

2 Answers2

0

Whatever you do make sure you give them 301 telling the SEO it's moved permanent

Also take a look at this:
.htaccess redirect performance

Community
  • 1
  • 1
janw
  • 6,672
  • 6
  • 26
  • 45
  • But is there a way to have a 301 code without using htaccess? Because if I need to create one redirect line for each of the 6 thousand pages in my site I will quickly approach the "mosntrosity" of a 1mb htaccess file! – Alexandre Van de Sande Apr 12 '12 at 18:32
0

Rather than adding 6k Rewrite rules in .htaccess it is much better to use RewriteMap for this case. Check this answer as an example on using RewriteMap.

Community
  • 1
  • 1
anubhava
  • 761,203
  • 64
  • 569
  • 643