I have followed the steps for affiliate cloaking via WPRobot, but when I clicked on a link to test it, I got the following messages:
"Warning: require_once(../../../wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/wp-content/plugins/WPRobot/cloak.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '../../../wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/wp-content/plugins/WPRobot/cloak.php on line 2"
I have checked and double checked that I have done the following:
- Have affiliate cloaking checked within the WPRobot options
- All Amazon affiliate information has been added, and there are no extra spaces or characters
- Updated my permalinks
- Moved the cloaking code to the top of .htaccess.
- Verified that all files to the plugin are uploaded to my site
What am I missing and how do I fix this?
Also, will all previously posted affiliate links work after I fix this, or are will they remain broken?