You dont need to change the config to make a paging the way you want. To be more precise you can actually have different paginator on different sections of your website with either ~/somepage/?page=1 or even ~/someotherpage/?somepage=1.
Anyways for this you will need to create eithere razor file where you will make a loop through the section you want to make the paging.
No, it doesn't. I knowe how to do the paging. I was asking how to make the Urls 'nicer' using UrlRewriting
NB. I don't need to do this any more, but would still beinterested if anyone has ideas.
I can work it with a seperate config entry for each page, if the articles are not child nodes. But, would like to use one generic entry that copes with the articles as children
UrlRewriting 'nice' pagination
I have a number of pages that will be using pagination. I want to ne able to use something like
to give me
I've tried this
Which is not working at all
Oh, AND, by child pages will have the url
Hi Tony,
You dont need to change the config to make a paging the way you want. To be more precise you can actually have different paginator on different sections of your website with either ~/somepage/?page=1 or even ~/someotherpage/?somepage=1.
Anyways for this you will need to create eithere razor file where you will make a loop through the section you want to make the paging.
This url might help you .
http://www.diplo.co.uk/blog/2011/6/21/creating-a-paged-list-in-umbraco-using-razor.aspx
Hope this helps.
//Fuji
No, it doesn't. I knowe how to do the paging. I was asking how to make the Urls 'nicer' using UrlRewriting
NB. I don't need to do this any more, but would still beinterested if anyone has ideas.
I can work it with a seperate config entry for each page, if the articles are not child nodes. But, would like to use one generic entry that copes with the articles as children
what url is being displayed in your address bar atm ?
Did you change st the umbracoUseDirectoryUrls to true in the web.config ? Or am i misunderstading what you are looking to achive here.
Completely. Using UrlRewriting the adress can read
And return
So basically you only need to add another forward slash before the query string in the url right ?
Weird if you have set the <umbracoUseDirectoryUrls> to "true" it should add a trailing slash to the url
No, you are completely missing what I'm asking. Slashes are irrelevant.
Setting the rewrite to work means I cannot access the child pages properly.
Also, I am looking for a generic way to write it so it don't have to write a new one for each 'somepage' value
http://www.urlrewriting.net/160/en/documentation/documentation/documentation.html
is working on a reply...