0

OK I will try to explane my problem better.

What I need to do is to create a kind o service for my WordPress.

From some external web sites I like to send some data to my main WordPress web site through the URL.

Lets say I have the web site http://www.mysite.ext/

On mysite.ext I will install my plugin. Some external web sites can send my ocasionaly some data by a URL (ie: http://www.mysite.ext/getdata/data_are_here/) In that case my plugin must recognize a query variable from the URL and analize the data

Note: It is not important to return any information to the external web sites. Just I have to collect the inrormation and process it.

3
  • 2
    You want to create that URL ... where exactly? Is that a URL you want to print to the page, or a URL you want to be automatically rewritten by WordPress to interact with your plugin? Is the domain the same as the site you're installing the plugin on?
    – EAMann
    Oct 11 '11 at 15:37
  • 1
    Please describe little more and explain what you exactly want
    – Mohit Bumb
    Oct 11 '11 at 15:52
  • You maybe want to take a look here
    – kaiser
    Oct 11 '11 at 16:37
0

It's more of my personal approach than any kind of best practice, but I find WP's Ajax handler to be easy and logical endpoint for such technical URLs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.