Switching a few sites from .NET to PHP. Need a few pointers on .htaccess files
Right now I have a few sites that use ASP.NET MVC and while I do enjoy the routing structure I hate a lot of Windows Server works (and also how it sometimes doesn't work for no reason). I've had enough of running two servers, one with Windows and one with Apache and I'm jumping ship to go strictly PHP. I'm abandoning my CMS and going to use Wordpress and let someone else handle the backend.
Right now I have the URL structure as "domain/(controller)/(action)" layout. Your basic MVC structure.
I have it set so that "domain/Page/(pageTitle)" displays the pages and "domain/Article/(articleTitle)" (Page and Article are literals that target the controllers as part of the URL while the items in parentheses are variables). The way wordpress works is simply "domain/(pageOrArticleTitle)" but since I've been ranking #1 on google for my hometown I don't really want to mess that up and have google have 404s. Can I have the pages and articles forward using the .htaccess file and send a 301 for the original URL structures and forward to the new URL so that google doesn't drop me in the results?
Any idea how to handle this? Any advice is very welcome.