Support » Plugin: Custom URL » [Plugin: Custom URL] Semi-pretty permalinks?

  • I recently moved servers, and I finally got the time to get everything back on the new one, running lighttpd. If at all possible, I was wondering if Custom URL could be updated to work with semi-pretty permalinks, because at the moment, it won’t post.

    Say my post link is That obviously will not work, as when going to it I get a “page does not exist” error.
    However, when going to it actually give me the error message that the correct link will do if one tries to go to it via a web browser. When I try to post though, I get “message successfully posted” on, but doesn’t show in my pings on my site. Any ideas? I may end up looking at the code and trying to figure it out myself, if worse comes to worse.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Jacob


    The only problem is with the URL detection for non-Apache servers. Since I use Apache and test against Apache, I can only promise that the plugin will work 100% with Apache. However, if you modify the URL yourself, it should still work. There’s nothing preventing it from working once you get into the code by hitting a correct URL.

    So, then we’d have to look at and find out why pings aren’t coming through. If you want, you can write a little test script that just does a simple POST against your posting URL with the same parameters that would send. I have one that I use for testing, but it’s a little more elaborate than necessary.


    Thread Starter roamer145


    Sure. I’d rather be using than posting my latest tweets on the site. It gets annoying to do that after a while.

    Plugin Author Matt Jacob


    You can use this test script to ensure that everything is working properly on the WordPress side. Fill in the placeholders with your own correct values (obviously).

    define('PING_URL', 'http://<<domain>>/pingfm/post/<<key>>');
    $test_values = array(
        'method'      => 'status',
        'title'       => '',
        'message'     => 'I just wanted to let you know what I ate for breakfast this morning...',
        'media'       => '',
        'raw_message' => '',
        'trigger'     => '',
        'location'    => '',
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, PING_URL);
    curl_setopt($ch, CURLOPT_VERBOSE, true);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($test_values));
    if (curl_errno($ch)) {
        echo 'Error: ' . curl_error($ch);
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Custom URL] Semi-pretty permalinks?’ is closed to new replies.