Hack WordPress.com With 10 Line Proxy Script

Introduction

You started blogging and you have Domain and have limited storage or hosting space, limited Bandwidth and as well limited MySQL. In previous post, I shared how to use single MySQL Database to creating Multiple blog sites. When the matter is limited storage and bandwidth — still there is a trick and you can run some codes and save our limited storage and bandwidth as much as possible.

How It Works

The scripts mainly taking information from your created, example.wordpress.com blogs and when you will write on your wordpress.com blog, the similar things you will find to your own Domain. That means, you will use WordPress.com’s to Storage your photos, contents and so on things and automatically the same things will be visible to your Domain. You saving your Storage and Bandwidth and as well you need to use only one MySQL Database for such actions

Code is Poem

Firstly, find the index.php files and paste those code

<?php
$dataurl =$primaryurl = "http://googlememe.wordpress.com";//old domain
$secondaryurl = "http://googlememe.com"; //new domain
$path =array_keys($_GET);
if(!empty($path[0])) $dataurl = "{$primaryurl}/{$path[0]}";
$data = file_get_contents($dataurl);
$pattern = "~{$primaryurl}/([dS/]+)~";
$data = preg_replace($pattern,"{$secondaryurl}/$1",$data);
$data = str_replace(array("<a href="{$primaryurl}","<form action="{$secondaryurl}"),array("<a href="{$secondaryurl}","<form action="{$primaryurl}"),$data);
echo $data;
?>

Secondly, find the .htaccess and paste those code

RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} (.+)
RewriteRule ^(.*)$ index.php?$1&%{QUERY_STRING}

RewriteCond $1 !^(index.php|images|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1

Note:

Before to paste, change the url and take backup of your files.

SEO Matters, Double Contents (Google penalty)

Yes, I’m also think about it. No worries, disable Google Crawling function from your wordpress.com and then Google will find only your domain not example.wordpress.com

Anything Else

Let’s comments and share your experiences.

Script Credit: Hasin Hayder

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s