Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
After reading up on 301 vs 302, I rather have 301 since the redirect is permanent. Do I amend your answer to RewriteRule ^(wis/9-3/1998/.*) /9400/$1 [R=301,L] ?
I tried out both of above solutions and it didn't work. Within my htaccess I have some default wordpress expressions and I start the file with RewriteEngine On
Something I just realized that some images are inA12 format, and therefore folders will be in the same format. Basically, first three characters could be a mix of letters and digits. How can I adjust it?
Thanks MrWhite. Its similar to other question, but I was afraid it might get flagged as separate question, so I created a new thread. I will test out your solution and report back/
Sorry to bring this up again, but there is something I missed. Based on the proposed solution /docs-0 folder must be under root folder. Can it modified to be /docs/docs-0
Got it! htaaccess expression had html expression, but my files are htm. I corrected and worked like a charm. Thank you very much for the help. In regards to the one liner above to move files into respective directions, which application do I use to execute it. I am on a shared host.