So, let's say the urls are like this (about 1,000 total):
http://www.somedomai...05/somepage.htm
http://www.somedomai.../2387/apage.htm
In all cases, the http://www.somedomain.com/pages remains the same.
I want to import the content that will create urls like this:
http://www.somedomain.com/somepage/
http://www.somedomain.com/apage/
That's the easy part.
Now, I need to do three things to rewrite these urls so they match the original structure.
1. add /pages/ after http://www.somedomain.com for all the urls in this list (not all new urls going forward, just this initial list of 1000 or so)
2. add the number between pages/ and the pagename, with each number being unique to the pagename, so i'll need to manually type all 1000 or so in.
3. remove the trailing / and add the .htm to the end (again, only to this list of 1000 or so, not all future urls)
Any thoughts on how to write the URL rewrite code to make this happen? I'm brain dead on this matter, and just can't seem to wrap my head around it. All help appreciated.
Hope I was clear. No guarantees on that.
dd






