META-INF.friendly-url-routes.routes.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!DOCTYPE routes PUBLIC "-//Liferay//DTD Friendly URL Routes 7.4.0//EN" "http://www.liferay.com/dtd/liferay-friendly-url-routes_7_4_0.dtd"> <routes> <route> <pattern></pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view</implicit-parameter> </route> <route> <pattern>/tag/{tag}</pattern> <ignored-parameter name="nodeId" /> <ignored-parameter name="nodeName" /> <implicit-parameter name="mvcRenderCommandName">/wiki/view_tagged_pages</implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/all_pages</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_pages</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/draft_pages</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_draft_pages</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/orphan_pages</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_orphan_pages</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/recent_changes</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_recent_changes</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/all_pages</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_pages</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/draft_pages</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_draft_pages</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/orphan_pages</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_orphan_pages</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/recent_changes</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_recent_changes</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/tag/{tag}/{p_p_state}</pattern> <ignored-parameter name="nodeId" /> <ignored-parameter name="nodeName" /> <implicit-parameter name="mvcRenderCommandName">/wiki/view_tagged_pages</implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/all_pages/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_pages</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/draft_pages/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_draft_pages</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/orphan_pages/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_orphan_pages</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/recent_changes/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_recent_changes</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/all_pages/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_pages</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/draft_pages/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_draft_pages</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/orphan_pages/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_orphan_pages</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/recent_changes/{p_p_state}</pattern> <implicit-parameter name="mvcRenderCommandName">/wiki/view_recent_changes</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/{title:[^/]+}</pattern> <implicit-parameter name="categoryId"></implicit-parameter> <implicit-parameter name="mvcRenderCommandName">/wiki/view</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/{title:[^/]+}</pattern> <implicit-parameter name="categoryId"></implicit-parameter> <implicit-parameter name="mvcRenderCommandName">/wiki/view</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="p_p_state">normal</implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeId:\d+}/{title:[^/]+}/{p_p_state}</pattern> <implicit-parameter name="categoryId"></implicit-parameter> <implicit-parameter name="mvcRenderCommandName">/wiki/view</implicit-parameter> <implicit-parameter name="nodeName"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> <route> <pattern>/{nodeName}/{title:[^/]+}/{p_p_state}</pattern> <implicit-parameter name="categoryId"></implicit-parameter> <implicit-parameter name="mvcRenderCommandName">/wiki/view</implicit-parameter> <implicit-parameter name="nodeId"></implicit-parameter> <implicit-parameter name="tag"></implicit-parameter> </route> </routes>