RewriteRule for Missing Pages
-
I have worked on this for too many hours and although it seems like it should be simple, I’m crying uncle.
I used to have a bunch of PDF files located under a directory named Papers. When I moved over to WordPress, I put these papers (many of them) in a different password-protected directory. I have no difficulty writing individual Rewrite 301 instructions for each file, but there are too many to do this way.
I need a RewriteRule that sends anyone looking for any file under the old Papers directory (https://www.mywebsite.com/Papers/*.*) to a single landing page in my WordPress site.
Someone’s help would be MOST appreciated! Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘RewriteRule for Missing Pages’ is closed to new replies.