Search

I'm developing my first 'multilingual/search/pagination' website.
Url test: interface.toledointeractive.com

So I have this url structure:
/ = portuguese, /en = language english

So, in news section I'd like have one page, but need pagination or other solution.
http://interface.toledointeractive.com/noticias/

Without pagination this page noticia works fine, with a $noticia url parameter, if nothing I set first id and show last news, etc.

It works with a lang too:
http://interface.toledointeractive.com/en/news/a-responsabilidade-do-despachante-aduaneiro/

When use pagination I have a problem, the url parameter will be p/noticia, and have too the /en lang parameter.

So, my question is:
Is possible have one page and datasource to control:

  • News index (/noticia , /en/news)
  • News page (/noticia/title-of-news, /en/news/title-of-news)
  • News pagination (/noticia/2)

Or I need have 2 pages like /news/ and /newspost/title-of-news ?

Thank you.

Having an url structure like that is rather cumbersome, you're better off setting pagination as an url parameter, like this: /news/?page=2.

Thanks @alpacaaa, I used the 2 pages to have a best SEO and Friendly URLs.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details