WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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
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
up vote 0 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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