Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.