I am completely new to (& am completely lost with) apache commands. I am working on a new J! installation that is intended to be a replacement of the clients existing regular html site.
New site will use:
- Joomla 2.5
- Virtuemart 2.0.18a
- iDevAffiliate (holding back on purchase to make sure this will work)
The client currently has a shopping cart system, and an affiliate system using Post Affiliate pro. There are 1000+ affiliates that have all been given a url based on their username. They are posted on forums, banner ad's, printed material, etc
It is vital to the company that these url's remain the same and work with iDevAffiliate.
SO! We need to re-write these existing url's, (originally generated by Post Affiliate pro) from this:
http://domain-name.com/username1
http://domain-name.com/username2
to this:
http://domain-name.com/folder/idevaffiliate.php?001
http://domain-name.com/folder/idevaffiliate.php?002
iDev will generate new url's based on the new usernames. 001, 002 will be the new userid format and will correspond directly to each of the 1000+ specific users/affiliates.
In my research I'm seeing that 301 redirect mod_rewrite in .htaccess and a translation table is going to be necessary? Am I on the right track?
I would most certainly prefer that an automated process for this could be achieved but if each URL needs to be rewritten so be it.
What are my real options and how do I approach this problem? Any help or suggestions would be greatly appreciated! :p
-Brad DuBois Positive Designs