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

Akhil
Akhil

In tutorial to octoberCMS its given like this

              /music/current/:page? i.e.      /music/current/1 

i dont wan this .i have to display like this is there any way to create page url like this

                /music/current?page=1 

How to do this in backend

            i.e /music/current?page=:page

maybe

Akhil
Akhil

Some what nearer solution

           /music/current/:any?page/:page? 

it will give output like this

          music/current/page/19
Daniel81
Daniel81

Why do you have to display like /music/current?page=1? Why will /music/current/1 not work? It's the same thing isn't it?

Akhil
Akhil

@Daniel81 /music/current/1 route structure is conflicting with /music/current/:slug url i.e with a detail page that's why i was avoiding this /music/current/1.

Last updated

alxy
alxy

Please make sure you understand the difference between route parameters (like :name, :page? ) and GET parameters (like ?page=3). You should not specify GET params in the pages URL section.

GET parameters are typically setted by a paginator itself. You can retrieve these by writing Input::get('page').

1-5 of 5

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