quali74 - 11:22 am on Feb 25, 2013 (gmt 0)
Thanks ergophobe. That helped a lot.
Unfortuanltely RewriteRule ^THISPAGE1$ folder1/page1 [L] did not work.
Let me give more info.
I have 4 domains pointing to the same site.
The main domain: a.com
and 3 other domains ( b.com, c.com, d.com)taking to landing pages.
If users try to go to b.com/folderx/pagey or any other path within b.com, they should be redirected to the b.com related landing page (same for c and d). Note that the landing page might be quite deep in a folder structure such as folder1/folder2/folder3/folder4/folder5/page . so , to avoid the display of suche horrible URL, I want to present something prettier such as a.com/landing_page_related_to_b .
What I did not say earlier is that the system works off a content management system so the folders and pages do not actually physically exist as physical files on the server. It is all stored in a database.
Using what you gave me, it work fine up to the redirect. but the internal rewrite shows me "page not found"