Forums

Share-This 1.4 generates 404 error on mail send (2 posts)

  1. jonag
    Member
    Posted 4 years ago #

    WordPress 2.1.2
    Share-This 1.4
    Theme: stripped-down Default

    Share-This works great EXCEPT that attempting to email a post generates a Not Found error:

    "The requested URL /wordpress/index.php was not found on this server."

    I suspect that this error is related to the fact that my index.php file is located in my home directory, which is one directory up from my /wordpress directory, rather than in the /wordpress directory itself. If this is the case, can someone please point out how/where to fix the path setting? Of course, if I have misunderstood the problem and something else is going on, I would much appreciate learning what might be the issue.

    Thank you,

    Jonathan

  2. dealcolossuscom
    Member
    Posted 4 years ago #

    Look in share-this.php around line 488 or 489 for this line:

    <form action="<?php bloginfo('wpurl'); ?>/index.php" method="post">

    Try changing "bloginfo('wpurl')" to just "bloginfo('url')". Remove the "wp". wpurl goes to your wordpress directory and url points to your index.php directory. So it should look like this:

    <form action="<?php bloginfo('url'); ?>/index.php" method="post">

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags