Timeline for Unable to modify(update) posts - Page not found
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2017 at 9:20 | comment | added | Johansson |
You are welcome, sometimes silly ideas work xD Unless you don't have any hardcoded data, such as links saved as localhost/blabla/ you won't have any problem. As long as i know, WP saves images relatively, such as /2017/2/myImage.jpg . As a matter of fact, your website is just a computer like yours, accessing database, so there isn't much difference between reaching the database via your own pc or the host itself.
|
|
Feb 19, 2017 at 22:40 | comment | added | Fayaz | Of course, with this method you cannot do media upload. Not only that the upload will not happen to your server, but also upload will put wrong URL in database. You'll have to take many extra steps to avoid database errors such as this. Not to mention the possible security issue you may face because of accessing database like this. If you have problem with the current host, it's better to change the host than doing these sort of work arounds. Your only safe option is to actually debug the mod_security problem and solve it. Otherwise change hosting company. | |
Feb 19, 2017 at 20:52 | history | bounty ended | fugitive | ||
Feb 19, 2017 at 20:52 | vote | accept | fugitive | ||
Feb 19, 2017 at 20:52 | comment | added | fugitive |
Man, this did a trick, I knew it would since I liked the idea. It is much slower to update remote DB - but as I am evading modsec this way - I am happy. :) Can you advise, can I break my production somehow? By now I am only updating my posts on remote DB, I don't think anything can go wrong, right? Bounty is yours - congrats and thank you again! :)
|
|
Feb 18, 2017 at 22:00 | comment | added | Johansson | Sure, btw i didn't mean you about the downvote, but there are many visitors who downvote just because they don't like it at the first spot. You might also be able to use rewrite if you are still redirected to original domain. My knowledge about rewriting is limited, but there are plenty of users here that can help. | |
Feb 18, 2017 at 19:03 | comment | added | fugitive | I like the idea. Allow me some time to try, because my network configurations, firewalls, etc. And surely won't downvote, I'm not a j* ;-) Thanks! | |
Feb 18, 2017 at 18:52 | history | edited | Johansson | CC BY-SA 3.0 |
updated the answer
|
Feb 18, 2017 at 18:42 | history | answered | Johansson | CC BY-SA 3.0 |