Set your store url to have code
System > Config > Web > Add Store Code to URLs
And make sure you add your desired
store code Follow these steps:
System > Manage Store and edit each store then add your code in
Then add all old url to redirect to new url by editing directly from database.
The table that is responsible for rewrite is
In that table you will be focusing on these columns
Store id is the id for your store. So you want to find out what is the id for
core_url_rewrite in csv format and make backup of this file then edit
request path sections and put your all old url in
target path section as desired.
I am sure you can differentiate your request path by looking at their
After complete edit of that file, upload your
csv file into that. You should update
url_rewirte_id as well, since they are set to
auto increment. Your first
url_rewrite_id should be greater than last entry on that table and should be in increment basis.