Deleting posts from self-hosted Wordpress
Hello,
I have re-coded the Wordpress engine to post to my self hosted blogs but I'm having trouble getting GSA to delete posts.
It seems all the engine needs to do is this
[DELETE_STEP1]
modify url=/wp-admin/post.php?post=%article_id%&action=trash&_wpnonce=%wpnonce%
just download=1
Results in this:
19:18:13: [-] 1/1 link still present - http://www.DOMAIN.org/test-details.php
Then if I try to switch to "just download=0", I get this.
19:20:29: [-] 1/1 no form at all - http://www.DOMAIN.org/wp-admin/post.php?_wpnonce=e4dc6e7408&post=203&action=trash
First thing I notice is that GSA is putting "wpnonce" at front of the URL instead of the end - which causes an error when I try to manually visit it.
How can I make GSA simply visit the proper URL and delete the post? I've been reading and Scripting Manual for a while and haven't found anything.
Thanks!
I have re-coded the Wordpress engine to post to my self hosted blogs but I'm having trouble getting GSA to delete posts.
It seems all the engine needs to do is this
[DELETE_STEP1]
modify url=/wp-admin/post.php?post=%article_id%&action=trash&_wpnonce=%wpnonce%
just download=1
Results in this:
19:18:13: [-] 1/1 link still present - http://www.DOMAIN.org/test-details.php
Then if I try to switch to "just download=0", I get this.
19:20:29: [-] 1/1 no form at all - http://www.DOMAIN.org/wp-admin/post.php?_wpnonce=e4dc6e7408&post=203&action=trash
First thing I notice is that GSA is putting "wpnonce" at front of the URL instead of the end - which causes an error when I try to manually visit it.
How can I make GSA simply visit the proper URL and delete the post? I've been reading and Scripting Manual for a while and haven't found anything.
Thanks!
Comments
Instead of visiting the URL above, I made the engine visit the Edit post URL of the post, and then find the Move to Trash link and press it.
I am having trouble importing account login/pass for the blogs. What format did you use to import account data?
I am getting "No account data found" when importing.
I also managed to allow it to delete posts. Took like 4 hours worth of research into GSA engine coding but seems it works so far. Still doing more testing.
I am importing account data for blogs in this format: http://blog123.com:username:password
But I get "No account data found".
Could you share your script to post on self hosted wordpress blogs ?
It could be very helpful for many people
Thank you