.htaccess - Migrating to new cms. Old cms moving to another subdomain. Dealing with links with htaccess (IF/THEN) -


the situation following:

i moving new cms. before complete migration old 1 new decided start beta version of new one. have:

but old 1 renamed http://old.myweb.com , new 1 http://www.myweb.com , so:

difference in links @ moment following:

(*as see, new url has "stock-video" instead of "content". in end of new url addition "-8523" unique, dynamically generated id.)

i want achieve following: don't want shut down old website(because of seo), because new web have 80% of old 1 website's content.

so if user enters(after migrations) i.e. url "http://www.myweb.com/content/crab-goes-home-5" , page missing, user must redirected http://old.myweb.com/content/crab-goes-home-5 (because page not exist on new system, still exist on old one).

any , comments welcome! thanks


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -