Redirecting multiple pages to one c5 page - can it be done?

Permalink
Hi

Im new to concrete5 but not to php or linux. We are updating our current site to use c5. Our current site has htaccess rewrite urls which allow multiple pages to go to the same source code file and that file then picks data up from the url, such as

RewriteRule ^module-path/feature-(.*) /script.php [L]

so that whether you go to domain.com/module-path/feature-abcd or domain.com/module-path/feature-efgh you end up at /script.php and then script.php looks at the REQUEST_URI to determine which data to get from the database. This allows us to build up pretty urls for our database heavy detail pages but just have one set of code to work from. Note that its not doing a 301 redirect to the new page - its staying on the url they entered and then running the centralised code

Ive tried this on c5 (8.5.1). Ive created a single page file, which is all functioning correctly - i can go to the single page url (/summaryserver) and it shows my test message.When I try to go to /module-path/feature-abcd I get a 404. I then thought that maybe rewriting to the pretty url wasnt a good idea so i rewrote to index.php?cID=360 and that also produces a 404

Im guessing c5 is looking at the REQUEST_URI and not finding it in the database rather than saying "Ive got an id, ive got the index.php script, I can process it.

Does anyone know if what Im trying to do is possible using c5 ? The only solution I can see is a 301 redirect and passing a parameter to the single page file to tell it what the url used to be. That would work but would detrimentally affect our SEO and effectively convert the url into a not very nice looking url

Thanks in advance

Tony