This question has been answered by nuan88. See the first response.
I think this works with Friendly URLs and as you said htaccess re-writing. Did you turn FriendlyURLs on?
You can use a re-write rule to completely eliminate a folder.
Quote from: nuan88 at Aug 28, 2018, 04:44 PM
How can i do redirects from url to new url? using database table?
Maybe this component will help: https://docs.modx.com/extras/revo/redirector
Quote from: nuan88 at Aug 28, 2018, 04:44 PMI think this works with Friendly URLs and as you said htaccess re-writing. Did you turn FriendlyURLs on?
You can use a re-write rule to completely eliminate a folder.
I dont know how to do that, and i think its to risky if it fails(dont have ftp so i cant backup and restore the file if failed) XD
i tried the URL freeze(it works doing this), changing the url here will change the url without phisically changing manually the resource. but then i need redirects since the url freeze is changing my url as expected.
How can i do redirects from url to new url? using database table?
Thanks
I think this works with Friendly URLs and as you said htaccess re-writing. Did you turn FriendlyURLs on?
You can use a re-write rule to completely eliminate a folder.
RewriteCond %{DOCUMENT_ROOT}/Folder/login/$1.php -f RewriteRule ^([\w-]+)/?$ Folder/login/$1.php [L]