I've deployed my 2.4 project to my production server, everything is working just as it was locally, except my navigation menu's href links are blank...
The resources are all there, and I can visit them directly, but when I look at the markup containing <a href="[[~20]]">, <a href="[[~21]]">, <a href="[[~22]]"> etc. URLs are not being output.
Any ideas?
Could you post some more code?
Did you enable Friendly URL in system settings and RewriteBase / in the .htaccess file? Were those links generated on your local machine? Last note -- are you getting any errors in the log file?
[ed. note: treigh last edited this post 9 years, 8 months ago.]
A MODx Fanatic
Make sure you have this in the head section of all templates:
<base href="[[++site_url]]" />
If you have multiple front-end contexts, make it:
<base href="[[!++site_url]]" />
Did you rename ht.access to .htaccess?