Jump to content

furls without {?} don't work with seo pagination


Go to solution Solved by bfarber,

Recommended Posts

Posted (edited)

My furl.json entry is

		"status_view": {
			"friendly": "status/{#id}",
			"real": "app=statusupdates&module=status&controller=view",
			"verify": "\\IPS\\statusupdates\\Status",
			"seoPagination": true
		}

but this causes a redirect loop when trying to access /status/1/page/2/ because it doesn't remove the page url correctly when normalising it to check that it matches the canonical version - normally the page part is matched in the {?} seo title variable when finding the furl to normalise with, but there isn't one available here.

There must already be logic somewhere which copes with page path params because it does identify the furl template correctly in most places, just not when finding the template to normalise for equality.

I have worked around it by adding

			"alias": "status/{#id}/{!}",

to catch the paginated version, but this isn't ideal.

Edited by Colonel_mortis
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...