Forum Moderators: phranque
I need to make some "RedirectMatch 301" from this kind of url:
[domain.com...]
to this other one:
[domain.com...]
where "title-of-the-page" and "1234" are variable and "1234" is always a number.
It a sort of inverse rewrite, I know it's a strange thing but I need to redirect the static urls to the old dinamics.
I hope someone could help me please.
Thank you in advance
Tintin
RedirectMatch 301 /(([^-]-)*vt([0-9]+)\.html) http://www.example.com/viewtopic.php?t=$3
It is common for Webmasters to mix-up external redirects and internal rewrites, and this mix-up can be dangerous to your search ranking, traffic, and revenue.
Jim
In that case, the URLs on the page should be those with the keywords, and when those URLs are requested it is then an internal rewrite that fetches the content from the dynamic-parameter-styled internal filepath.
However, you also need to block all direct access to the dynamic URLs as they will be considered as being Duplicate Content.