Forum Moderators: phranque
I am introducing new sets of URLs on my site and I need to redirect ALL the current filenames (thousands) to a new format. I used wildcard subdomains and rewrite php files to html.
I have the following:
1/
[mysite.com...]
which should permanently rewrite and redirect to
[mysite.com...]
and the most difficult one:
2/
[widget1-product.mysite.com...]
which should permanently rewrite and redirect to
[mysite.com...]
I have been trying to organize my htaccess file properly, but I guess it just does not work.
Thanks for your assistance.
B.
Can you demonstrate or 'map' the relationships of the various parts of the old and new URLs for us?
WIDGET1 corresponds directly to WIDGET1, but what about WIDGET2 and "us"?
It is necessary to identify the parts of the old URL that need to be copied or "translated" into the new URL, and those that won't be used at all in the new URL.
As long as the relationship is straightforward, then the rewrite is possible (and easy).
Check out our charter [webmasterworld.com] for references to useful documentation.
Jim