This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

m22760
m22760

I'm attempting to migrate a Laravel site to October. It's basically done apart from the sitemap.

I've created a simple plugin component that allows a CMS page to use a route parameter to find a row in a database and include the returned data in the page.

Basically, the database contains towns/cities and the county/state it's in. This allows me to create a single page that looks like it's targeted to a specific location... a user visits site.com/page/town and the text on the page displays the town and county in several places.

I now need to add all the possible town-specific URLs to the sitemap and this is where I'm stuck.

I've added the Sitemap plugin and it's picked up the CMS page that uses the route parameter, but I have no idea how to add all the possible URLs.

Any suggestions? Thanks

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.