-
MODX Staff
- 12,272 Posts
Are your other pages published?
What are your friendly URL settings? Did you rename the ht.access file to ".htaccess"?
Does it work without Friendly URLs being on?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
What are your friendly URL settings?
Prefix for friendly URLs: index.php?page=
Suffix for friendly URLs: .html
Use friendly aliases: Yes
Use friendly alias path: No
Allow duplicate aliases: No
Automatically generate alias: No
Did you rename the ht.access file to ".htaccess"?
Yes
Does it work without Friendly URLs being on?
Yes
-Gobbob
-
☆ A M B ☆
- 24,524 Posts
"index.php?page=" as your prefix? Friendly URLs replace the "index.php?id=xxx" with whatever you put for the alias. For example, all of my pages have no alias prefix, and html as the suffix. So I get "mysite.com/home.html", "mysite.com/contact.html", etc.
I suspect that you thought you were changing the ?id= or the ?q= part.
-
MODX Staff
- 12,272 Posts
Try nuking the prefix bit and see if you’re more happy with the outcome indeed. I suspect the "index.php?page=" is confusing the heck out of it!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Prefix for friendly URLs: page
Suffix for friendly URLs: (None)
Use friendly aliases: Yes
Use friendly alias path: Yes
Allow duplicate aliases: Yes
Automatically generate alias: No
Still not working...
-Gobbob
Hi,
I just tried something:
The menu links to
http://www.gobbob.com/templates/pagemodxcss_wide which doesn’t work at the moment.
If you add index.php?q= like this:
http://www.gobbob.com/index.php?q=templates/pagemodxcss_wide you get the desired page.
The addition of index.php?q= should be done by .htaccess. I’m not sure where it goes wrong, but if you post your .htaccess file maybe somebody can help.
MODx snippet-glossary 101:
Ditto = Content Lister -- Wayfinder == Menu Builder -- Jot = Comment Control