@KennethJ – if you’re getting a 404, this is likely being blocked by your server setup. Try checking any .htaccess files you have in your WordPress directory / wp-admin directory, and you want to be looking for this to remove:
<Files *.php>
deny from all
</Files>
@cbshear – can you try replacing /swift-framework/sf-shortcodes/config.php with:
<?php
if (!function_exists('sf_wp_path')) {
function sf_wp_path() {
if (strstr($_SERVER["SCRIPT_FILENAME"], "/wp-content/")) {
return preg_replace("/\/wp-content\/.*/", "", $_SERVER["SCRIPT_FILENAME"]);
} else {
return preg_replace("/\/[^\/]+?\/themes\/.*/", "", $_SERVER["SCRIPT_FILENAME"]);
}
}
}
$wp_path = sf_wp_path();
if (strpos($wp_path, '/') !== false) {
require_once( $wp_path . '/wp-load.php' );
} else {
require_once( $wp_path . '\wp-load.php' );
}
?>
Let me know.
– Ed