Hello,
I work with MODX REVO 2.2.6 on MAMP, and i have a problem with URL rewriting but just with the page container.
I use the wayfinder package in order to create my navigation.
When i'm on www.domain.com/page1/ and I click on page2, I have this : www.domain.com/page/page2.html, but page1 and page2 are in the same level. And when i'm on www.domain.com/page1/ , if a click on page1 again, I get this url : www.domain.com/page1/page1/ and i'm redirected on the index page because this url does not exist.
If all of my pages aren't container, I haven't this problem. I have others sites with MODx on MAMP, and no problems with them.
Someone has had this problem ?
Thanks for your help, and sorry for my bad english.
Guillaume
[ed. note: woolfer last edited this post 13 years, 9 months ago.]
-
☆ A M B ☆
- 3,141 Posts
You'll need to add this tag to your header:
<base href="[[!++site_url]]"></base>
Thanks for your response ! It works ! I forgot this part of my site.