mod_rewrite & migration from Wordpress to Wordpress MU - How to redirect specific URLs?

Hi all,

I'm running a Wordpress blog in the root site of my domain right now but I want to move it to Wordpress MU and setup a new blog containing all the old info that is accessible by going to /technical.  I know how to do this using mod_rewrite so that all requests for / go to /technical but I want to run another site in the root.  For that reason redirecting ALL requests for / to /technical won't work.

How can I use mod_rewrite to redirect only certain addresses if I don't know what those addresses are?

Sorry if that doesn't make sense so please ask any questions necessary.

Thanks!
Chris
LVL 3
Number5ixAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tpraveenrajCommented:
This'll help u
Options +FollowSymLinks
RewriteEngine On

RewriteRule ^/$ /technical

Open in new window

0
Number5ixAuthor Commented:
Won't that redirect ALL requests for /* to /technical/* though?  I don't want to do that ...
0
gwkgCommented:
Maybe you should wait another month since MU has been merged into Wordpress 3.0

In the meantime, 3.0 Beta 1 is available if you want to check it out

Download: http://wordpress.org/wordpress-3.0-beta1.zip

Enable MU: http://wptheming.com/2010/03/wordpress-3-0-enable-network/

Here's some more info from the codex

http://codex.wordpress.org/User:Andrea/Create_A_Network
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Number5ixAuthor Commented:
Sure, I can understand the reasoning behind waiting for WP 3.0 but that doesn't solve the problem - I'd still need to configure mod_rewrite so that my old addresses are redirected to the new ones.

I guess I could just use mod_rewrite to rewrite my category names???  It's not dynamic though, that's my only concern.
0
Number5ixAuthor Commented:
Ok,  how about I reword this slightly ...

http://domain.com/category/design/

SHOULD BECOME

http://domain.com/technical/category/design/

Does that make more sense?  :)
0
tpraveenrajCommented:
Then try this, it'll help u
Options +FollowSymLinks
RewriteEngine On

RewriteRule ^category/design/$ /technical/category/design/

Open in new window

0
Number5ixAuthor Commented:
No, that produces an HTTP 500 error.
0
tpraveenrajCommented:
Suppose the your site www.test.com point out to the files inside “new” folder.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^test\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.test\.com$
RewriteCond %{REQUEST_URI} !^/new/
RewriteRule (.*) /new/$1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Number5ixAuthor Commented:
Thanks tpraveenraj.

Could you please explain what each of those lines does?
0
Jason C. LevineNo oneCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.