Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Pulling hair out for weeks still failed link cloaking with LEB script, please help!
New on LowEndTalk? Please Register and read our Community Rules.

Pulling hair out for weeks still failed link cloaking with LEB script, please help!

gooddaygoodday Member
edited September 2012 in General

Hi,

I trying out wp robot with link cloaking but failed with nginx configuration. Anyone have any ideas? Greatly appreciate it.

here it my example nginx conf file:

location / {
root /var/www/YOURDOMAIN.com;
index index.php;

if (-f $request_filename) {
        break;
}

if (-d $request_filename) {
        break;
}

if (!-e $request_filename) {
        rewrite ^/go/([^/]*)/([0-9]+)/([0-9]+)/?$ http://YOURDOMAIN.com/wp-content/plugins/WPRobot3/cloak.php?post_id=$2&link_num=$3&cloaked_url=$uri last;
        rewrite ^go/([^/]+)[/]?$ http://YOURDOMAIN.com/wp-content/plugins/WPRobot3/cloak.php?name=$1&cloaked_url=$uri last;
        rewrite ^(.+)$ /index.php?q=$1 last;
}

}

I altered almost all and wp still failed. Many thanks

Comments

Sign In or Register to comment.