continue….
I wanted to have all files in the folder to be redirected to my destination.
what’s the expression?
I think this is what you’re asking for.
target : /foldername/(.*)
Destination: /foldername/$1
I tried, but cannot.
maybe I give the exact link:
target: http://www.sanguineconsulting.com/WorkshopsNew/whatever123.html
Destination: http://www.sanguineconsulting.com/workshops/
could it be the file name whatever123.html. which have both characters and digit? can I still use (.*)
could it be the file name whatever123.html is still active when click, so it won’t get redirected?
Should I move this file to a different location first, is it will have ‘page not found’, then do the redirection?
.* will include any character.
Redirection doesn’t care about the existence of files. It will very happily redirect from an existing file to a non-existent one so make sure you take appropriate caution.
Make sure you checked the regex option or it will be looking for an exact match.
You might try recreating your rules, https://wordpress.org/support/topic/working-redirections-just-stop-working?replies=7
If you are trying to redirect subfolders, see this link, https://wordpress.org/support/topic/plugin-redirection-wildcard-expression?replies=7</a. Sometimes this plugin does not follow strict regex rules.
You can play around with regex here, regexpal.com.
You can also see find documentation here, http://urbangiraffe.com/plugins/redirection/