We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51474
    • 27 Posts
    Hi guys,

    Usually on my resources or links I will set the URL to
    [[ ~[[+id]] ? &scheme=`full` ]]


    May I know getPage ( https://rtfm.modx.com/extras/revo/getpage )'s [[!+page.nav]] does it have scheme=`full` ?

    Because current the pagination 'first,1,2,3,last' when I press the generated links, the Url is not correct.

    For example I'm at http://localhost/modx/project I wanted to press the 2nd page

    What I wanted to redirect is :
    localhost/modx/project?page=2

    but the links ended redirect to :
    localhost/modx/project/project?page=2

    May I know am I using the plugin correctly?
    Or my Modx need to set any URL in general settings?

    Thank you so much, appreciate the help..

    This question has been answered by pohkit. See the first response.

    • discuss.answer
      • 51474
      • 27 Posts
      Sorry, my bad, I forgot add this line on my template's header
      <base href="[[!++site_url]]" />


      After added, all modx Url & getPage's paginate Url all works fine : ) !