You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a page with a route have two URLs, Tapestry convention and route assigned URLs.
@Route("/{0}/event/{1}")
public class Event {
}
For this example Event page has two URLs:
Convention: /event/seo-friendly-slug/42
Route: /seo-friendly-slug/event/42
This may be not the desired in a website for not have duplicated content. Also if some time later a page is assigned a route the convention URL may be desired to be updated with a redirect or a not found status code.
This issue is for allow to configure de behavior of the Tapestry convention URL when a page has a route. Possible values can be:
Default: same page with two URLs, current behavior.
Redirect: when convention URL is requested a redirect is returned to route URL.
Not Found: when convention URL is requested a HTTP 404 error is returned.
The text was updated successfully, but these errors were encountered:
Currently a page with a route have two URLs, Tapestry convention and route assigned URLs.
For this example Event page has two URLs:
This may be not the desired in a website for not have duplicated content. Also if some time later a page is assigned a route the convention URL may be desired to be updated with a redirect or a not found status code.
This issue is for allow to configure de behavior of the Tapestry convention URL when a page has a route. Possible values can be:
The text was updated successfully, but these errors were encountered: