Apologies if this is already answered, darned if I can find anything in the docs or forums.
I'm converting an existing static site (few hundred pages), so naturally existing users will have bookmarked pages eg www.site.org/community/education.html. What's a sensible way to redirect such URLS to the Matrix form ie no .html on the end?
I tried doing a general RewriteRule to strip off the ".html" but just get SYS0218. Presumably Matrix is getting in before the rewrite can function.
Related question: the existing site has section index pages eg www.site.org/community/index.html. So if someone tries the URL www.site.org/community it does something sensible (basically a list of page assets in that section plus some preamble text). In Matrix I've got each section as a Standard Page and pages within the section as child assets, which is fine. How would I redirect the old site's www.site.org/community/index.html to a plain www.site.org/community?
Manually adding remaps on the Web Paths for each page asset seems like a painful route
Especially if I want to move a working site from test server to producton, as the remaps seem to need absolute source URLs.
thanks, martin
You can use RewriteRules if your old URLs with .html map to the same URL in Matrix. Then apply the index.html ones manually. Also remember you can upload a CSV file of Remaps on the Remap Manager screen to mass create remaps as well.
Thanks, will give it a try.