links have an address ?id=6
I need to address ?D=6
with friendly url i get this addres, but it d'not work
need to do instead of getting id-D
-
☆ A M B ☆
- 1,780 Posts
It's hard to understand what you're expecting as a friendly url, but with the default FURL's you won't get any ID in the url. It should use the alias for the resource and add .html
i.e.
http://yoursite.com/contact.html
Your example of id-D isn't very clear, sorry. If you want id's in the url, don't enable FURL's.
You'll need to enable .htaccess, the file is in your installation root named ht.access. Copy that to another file, name it .htaccess. If your site errors, rename .htaccess and it'll work again. That means something is wrong with the .htaccess file. One incorrect character in .htaccess can make the site throw errors in both the manager and front end.
See
http://rtfm.modx.com/display/revolution20/Using+Friendly+URLs
at the site were such an address- site.com/?D=6
I moved it on ModX and I need to keep the old url.
in Prefix for friendly URL - ?D=
in alias pointing old id.
so I get old url new document (site.com/?D=6)
-
☆ A M B ☆
- 24,524 Posts
You can do this with a plugin "onPageNotFound" to map the D=6 to resource #6. This means you would have to be very careful to make sure your resource IDs matched your old site pages.
how this plugin can help me?
-
☆ A M B ☆
- 1,780 Posts
I have version ModX Evolution. I understand Redirector allows to redirect pages, I could also make a htaccess.But that does not make the required form URL