xmlrpc.php file problems with Hostgator

11 replies
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....
#file #hostgator #problems #xmlrpcphp
  • Profile picture of the author Earnie Boyd
    What did you expect it to do? XML-RPC allows others to phish your content. See XML-RPC Support « WordPress Codex for more.
    Signature
    {{ DiscussionBoard.errors[6069518].message }}
    • Profile picture of the author ccurtin1
      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.
      {{ DiscussionBoard.errors[6069843].message }}
      • Profile picture of the author SteveJohnson
        Originally Posted by ccurtin1 View Post

        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.
        Signature

        The 2nd Amendment, 1789 - The Original Homeland Security.

        Gun control means never having to say, "I missed you."

        {{ DiscussionBoard.errors[6078682].message }}
  • Profile picture of the author KirkMcD
    Are you getting a blank screen or a message like "XML-RPC server accepts POST requests only."?
    {{ DiscussionBoard.errors[6071689].message }}
  • Profile picture of the author Earnie Boyd
    I think you are looking for example.com/?feed=rss2 to share your blogs.
    Signature
    {{ DiscussionBoard.errors[6072355].message }}
    • Profile picture of the author ccurtin1
      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...
      {{ DiscussionBoard.errors[6076738].message }}
      • Profile picture of the author Earnie Boyd
        Originally Posted by ccurtin1 View Post

        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?
        Signature
        {{ DiscussionBoard.errors[6077813].message }}
  • Profile picture of the author anestbaik
    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
    {{ DiscussionBoard.errors[6077322].message }}
  • Profile picture of the author SteveJohnson
    ^^^^ Odds are that Earnie has identified your problem - an .htaccess file that is disallowing access.

    Are you running any 'security' plugins?
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[6078494].message }}
    • Profile picture of the author ccurtin1
      Yep, it was a security plug. Thank you...

      and I do have an email into Hostgator about the redirect...
      {{ DiscussionBoard.errors[6078620].message }}

Trending Topics