Additional routes for pages

Viewed 28

In typo3-9 I have page URLs like:

Now I need these pages to be available also under links like:

Generally, www.mypage.com/{1},page,{2}.html should show page www.mypage.com/page/ and {1} could be any letters, and {2} any numbers. I need {1} and {2} to be visible in the page URL (without 301 redirect), for JavaScript purposes.

Is this possible to configure with some routeEnhancers?

1 Answers

The cleanest solution would be redirects, as you already provide the pages with a new canonical URL.

Similar to redirects would be rewrites, which are handled on server side without noticing the client (browser) (no 301).


BTW: be careful if you only work on the page name as it might not be unique. In the end only the page ID found in {2} identified the page.

Related