How Do I Change Redirect Status Code and Do Bulk Replacements?
-
I am using your plugin primarily for cloaking purposes. It works great so far except for two problems. The first problem is that the HTTP status code of the short link is 302. Google and other search engines follow 302 redirects which makes this a deal breaking bug for me. Please provide me with instructions to change the status code or at least make sure the link goes to a robots.txt blocked location.
The second problem is that your idea of “bulk” seems to be nothing more than displaying lists of 20-30 links with the option of selecting just those links and “bulk” cloak them. I put the word “bulk” in quotes because there is nothing bulk about paginated results which require multiple manual actions. I need to replace ALL links at once and there are thousands of them.
To replace ALL links at once you need to tell me how to run your replacement function using WP-CLI or add a feature to your plugin which uses AJAX to display the replacement progress to the user and allows the user to stop before resuming.
- The topic ‘How Do I Change Redirect Status Code and Do Bulk Replacements?’ is closed to new replies.