We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Navigation & Tagging/Taxonomy
Search
Friendly url works but I still see the id of the page
53 Posts
joyobject
Reply #1,
11 years, 3 months ago
Hi all,
I have set the site to friendly url which it works fine. I can navigate to the page using:
http://mydomain.com/news
or
http://mydomain.com/about.html
However when I click to the individual news. I expect to navigate by going to
http://mydomain.com/news/first-new.html
The url I have seen is
http://mydomain.com/6/first-new.html
Which '6' is the id of the news from my resource.
Should I set anything more from the system setting?
Thank you
☆ A M B ☆
24,524 Posts
sottwell
Reply #2,
11 years, 3 months ago
If a resource is not given an alias MODx will use the page ID. So your resource #6 should have the alias of "news" if you want that to be in the URL.
Studying MODX in the desert -
http://sottwell.com
Tips and Tricks from the MODX Forums and Slack Channels -
http://modxcookbook.com
Join the Slack Community -
http://modx.org
53 Posts
joyobject
Reply #3,
11 years, 3 months ago
Thank you. It works now.