producing 404's
-
Hello,
wenn I started to test the plugin, it was creating a 404 error everytime I wanted to down load a post as PDF.
I discovered that changing three lines of code in the kalins-pdf-creation-station.php file make it work.
line 372 from
$strHtml = $adminOptions->beforeLink .'<a href="' . get_bloginfo('wpurl') . '/wp-content/plugins/kalins-pdf-creation-station/kalins_pdf_create.php?singlepost=' .$postID .'" target="_blank" >' .$adminOptions->linkText .'</a>' .$adminOptions->afterLink;to
$strHtml = $adminOptions->beforeLink .'<a href="' . WP_PLUGIN_URL . '/kalins-pdf-creation-station/kalins_pdf_create.php?singlepost=' .$postID .'" target="_blank" >' .$adminOptions->linkText .'</a>' .$adminOptions->afterLink;and line 1174 from
echo $adminOptions->beforeLink .'<a href="' . get_bloginfo('wpurl') . '/wp-content/plugins/kalins-pdf-creation-station/kalins_pdf_create.php?singlepost=' .$postID .'" target="_blank" >' .$adminOptions->linkText .'</a>' .$adminOptions->afterLink;to
echo $adminOptions->beforeLink .'<a href="' . WP_PLUGIN_URL . '/kalins-pdf-creation-station/kalins_pdf_create.php?singlepost=' .$postID .'" target="_blank" >' .$adminOptions->linkText .'</a>' .$adminOptions->afterLink;It would be nice if you could consider that in a future update.
Best,
Stefan
The topic ‘producing 404's’ is closed to new replies.