Reproduce the error.
1. Create New Document -> Input all required data -> In my case, I set Resource Alias = "how-are-you" -> On setting page, check Container
2. Craete New Document -> Input all required data -> In my case, I set Resource Alias = "iam-fine".
3. In use URL Friendly
4. I did remove the extension .html from Content Types
What happen?!
1. Access localhost/modx/ => I have the generated URLs as below
- http://localhost/modx/how-are-you/
http://localhost/modx/im-fine
2. I click to (2) everything is ok => I have the generated URLs as below
- http://localhost/modx/how-are-you/
http://localhost/modx/im-fine
3. If i click (1) => I have the generated URLs as below
- http://localhost/modx/how-are-you/how-are-you/
http://localhost/modx/how-are-you/im-fine
4. If i click (1) of 3 above => I have the generated URLs as below
- http://localhost/modx/how-are-you/how-are-you/how-are-you/
http://localhost/modx/how-are-you/how-are-you/im-fine
SO, I don't know why.
Ah, my .htaccess is simple as below
RewriteEngine On
RewriteBase /modx/
Anyone can help?! Thank you so much!
P.S: I'm new to MODX. I've just installed MODX ^___^ Revolution 2.2.6 pl (Traditional)