Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   xmlrpc.php file problems with Hostgator (https://www.warriorforum.com/programming/582694-xmlrpc-php-file-problems-hostgator.html)

ccurtin1 18th April 2012 06:09 AM

xmlrpc.php file problems with Hostgator
 
I have turned on xml-rpc in the write section of wordpress.

In the cpanel of hostgator xmlrpc.php exists, but when I type in www.mydomain.com/xmlrpc.php it won't show up.

Any thoughts? Thank you....

Earnie Boyd 18th April 2012 07:42 AM

Re: xmlrpc.php file problems with Hostgator
 
What did you expect it to do? XML-RPC allows others to phish your content. See XML-RPC Support « WordPress Codex for more.

ccurtin1 18th April 2012 08:33 AM

Re: xmlrpc.php file problems with Hostgator
 
i was going to setup automatic sharing of my blogs through xmlrpc. That's what its there for right? I read the Wordpress codex, set it up correctly but not functioning.

KirkMcD 18th April 2012 12:45 PM

Re: xmlrpc.php file problems with Hostgator
 
Are you getting a blank screen or a message like "XML-RPC server accepts POST requests only."?

Earnie Boyd 18th April 2012 02:37 PM

Re: xmlrpc.php file problems with Hostgator
 
I think you are looking for example.com/?feed=rss2 to share your blogs.

ccurtin1 19th April 2012 04:19 AM

Re: xmlrpc.php file problems with Hostgator
 
file not found even though it exists in the cpanel:

http://businessappraisalflorida.com/xmlrpc.php

Why this method? A blog sharing service uses xml-rpc that is why I am going this route.

Is there some php setting on hostgator blocking this from coming up?

Thanks for your help...

anestbaik 19th April 2012 05:58 AM

Re: xmlrpc.php file problems with Hostgator
 
i use hostgator,
and no setup need to use xmlrpc ..

if you open www.your-site.com/xmlrpc.php
in my site it show =>

XML-RPC server accepts POST requests only.

try to re-set permalink in WP setting and check that file xmlrpc.php are in root directory

Earnie Boyd 19th April 2012 07:21 AM

Re: xmlrpc.php file problems with Hostgator
 
Quote:

Originally Posted by ccurtin1 (Post 6076738)
file not found even though it exists in the cpanel:

http://businessappraisalflorida.com/xmlrpc.php

Why this method? A blog sharing service uses xml-rpc that is why I am going this route.

Is there some php setting on hostgator blocking this from coming up?

Thanks for your help...

XMLRPC is Remote Procedure Call using XML as the data transfer over HTTP. A feed is what is used to share blogs, stories, posts with other sites. I can access your feed by businessappraisalflorida.com/feed and get the RSS XML for the feed. I am not saying xmlrpc.php cannot be used to share data but usually sharing posts happens via RSS or ATOM feeds. See WordPress Feeds « WordPress Codex for more on that. If you want to aggregate into your site you something like WordPress › FeedWordPress « WordPress Plugins for it.

As for xmlrpc.php not being on your host, is it in your document root or is it perhaps redirected by your .htaccess file to a 404 error? Have you asked HostGator about it?

SteveJohnson 19th April 2012 08:56 AM

Re: xmlrpc.php file problems with Hostgator
 
^^^^ Odds are that Earnie has identified your problem - an .htaccess file that is disallowing access.

Are you running any 'security' plugins?

ccurtin1 19th April 2012 09:11 AM

Re: xmlrpc.php file problems with Hostgator
 
Yep, it was a security plug. Thank you...

and I do have an email into Hostgator about the redirect...

SteveJohnson 19th April 2012 09:16 AM

Re: xmlrpc.php file problems with Hostgator
 
Quote:

Originally Posted by ccurtin1 (Post 6069843)
i was going to setup automatic sharing of my blogs through xmlrpc. That's what its there for right? I read the Wordpress codex, set it up correctly but not functioning.

No, that's not what it's there for.

XML-RPC is a remote publishing API that allows you to publish posts on your site using tools like Windows Live Writer. Turning it on can be dangerous, that's why most security plugins and many hosting companies block access to it.

What exactly do you mean 'automatic sharing of my blogs'? Sounds like you're wanting RSS functionality like has already been suggested.

ccurtin1 19th April 2012 07:10 PM

Re: xmlrpc.php file problems with Hostgator
 
this site uses xmlrpc to feed articles

The Content Facilitator – Guest Blogging / Guest Posting – Quality Content For Your Blog


All times are GMT -6. The time now is 12:02 PM.