Tag: domain

How to Switch a Blocked Domain in Google within 8 hours (Case Study)

How to Switch a Blocked Domain in Google within 8 hours (Case Study)

Our Scenario

We are a Services Provider in Turkey and Rank for our Brand #1, when suddenly the Turkish Authorities decide to block our Domain, we find that in Google Analytics the Traffic decreases and we need to find a solution: A new Domain must be used, the old one cannot be accessed from that country anymore, so the first part of the analysis is done, we have found out that we:

  • Need a new domain
  • The old domain cannot be accessed anymore from Turkey
  • We want to switch the current domain with the new one for Turkish Search Results (google.com.tr), if your current website was ranking in turkey
    (our case example did not have a Turkish domain in search, but we will create Turkish content and rank it, just to give you the example live)

In our scenario, we will be going to show you the domain switch with this website here: healthelite.co
It is currently ranking #1 for the following English query:

Here is a screen of the Google page (english query), recorded on Day 1:

2016-01-16 13_18_22-health elite beauty tips - Google'da Ara
Language is set to Turkish, with English keywords, the domain is not actually blocked, but for presentation purposes we are going to use this one

So here is a screen of the Google page (turkish query), recorded on Day 1:

2016-01-16 13_23_44-health elite Güzellik ipuçları - Google'da Ara
We will be creating Turkish content to make the search results more accurate during our presentation, the language is set to Turkish, with Turkish keywords

Finding out if you are really Blocked

If you are not sure if you are really blocked, you can:

  1. Do a quick search on the Turkish Government Website, you have to use a Turkish VPN/Proxy to Access their Website
    I recommend HideMyAss for this task.(30 Day Money back Guarantee)
  2. You can try to ask a friend from Turkey to open the website and tell you if they can access it
  3. Reach out to IRC Members from Turkey
  4. Also use HideMyAss or some other VPN/Proxy to access the website directly
    (Be aware, in some cases this might not be good enough, because HideMyAss might not comply with the Government Restrictions and still allow Access to the site)
  5. Use some online service to check the website
  6. Try a Turkish Proxy yourself with Windows or Mac
  7. Try theHOLA Extension, but read this before you use it.

Preparations before the Switch

Is the New Domain Ready?

All DNS Records should be in place, you can go and check if you have everything set correctly

  • Did you verify all Domains and the New Domain?
    HINT: You need to add all versions, such as http://example.com, http://www.example.com,  https://www.example.com (if you have SSL) and all others such as if you have a language version (http://example.com/tr/) if you are targeting a country such as Turkey for example FOR ALL YOUR DOMAINS (example.com, exampleY.com, exampleX.com, exampleZ.com,…) and then also set your preferred domain 

  • Are Canonical Tags Implemented?
    • Language Versions other than Turkish
    • Language Version Turkish
  • New Domain shows same Content as old Domain

Switching the Domain

First comes the 301 Redirect

The redirect must be done by developers, if you have enough knowledge of code and programming, you can also do it yourself.

  1. Check if Redirect works
    1. Google Chrome Console
      1. HTTP Spy Chrome Extension

Second comes the Switch in Google

HINT: If the domain is not verified by that point, then Google Analytics traffic will verify it, if you are already receiving hits on your new Domain. Just press “Verify with “Google Analytics” (change “exampleY.com” in the URL with your Domain and after that you are good to go through the next steps.

  1. Turn off the old redirect from www.exampleX.com to www.exampleY.com in “Change of address” (if necessary), meaning, there was a change of address already done previously, to do that, change the Domain “exampleX.com” in the address bar with your own.
    • On the bottom, click “withdraw”
    • And then confirm.
  2. Turn on the new redirect from www.exampleY.com to www.exampleZ.com in “Change of address” (if it was done previously too), for this step, just go back to the same page, (but this time replace “exampleX.com” in the Address bar with “exampleY.com”) meaning, since we released the old redirect, we can now let Google know of the new redirect in “Change of address”.
    • Choose to redirect to www.exampleZ.com
    • “Check” if the Redirects work, if all is Green, proceed and activate it.

Third comes the Fetch Site as Google and Submit

  1. You should see the new domain appear in search within the hour
    1. Are you out of Credit for Fetching? No Problem, we got your back!
      Get another Google Account and add yourself as Manager

Fourth: The Internal Link on Footer

Now wait

Don’t do anything stupid now

You might get tempted to submit links or ping or index pages faster, but there is not much you can do right now, this process of switching a domain can take from 8 to 72 hours, those were the time frames I experienced, it all depends on how much traffic you are already getting through Google and how many Links pointing to your old site have been already switched (such as media buys and affiliate links)

The Cleanup

Removing old URLs

This only applies if you had previously a Domain indexed in Google Turkey (google.com.tr) and need to get the old one removed because no one can access it from Turkey.

3 Steps: How to Setup and Move WordPress to New Domain or Host

3 Steps: How to Setup and Move WordPress to New Domain or Host

In today’s edition I will explain you how to move a WordPress site from one place to another, installing WordPress step by step is included in this sensational guide, made just so you can move your WordPress site to another server – with ease! This is REAL Wordpress installation Help. I will be explaining how transferring WordPress sites can easily be done with just 3 Simple steps.

What this is…

  1. This technique works if you are planning on moving WordPress from Subdirectory to root or vice versa.
  2. No WP Migration Plugin needed
  3. It is the simplest way of moving the website to new host
  4. No complicated WordPress install path
  5. No complicated WordPress install urls, nothing of the sort
  6. Forget Wordpress search and replace tools, this guide does not need you to do anything complex.
  7. One of the leading Wordpress domain transfer guides, without the need of a Duplicator plugin or the sort
  8. Your personal WordPress install package
  9. Moving WordPress installation from A to B

What this is not…

  1. A one click installer for WordPress (When you want to know how to install WordPress through cpanel) for this you can just use Softaculous if your hosting plan has it, but like I said, this tutorial is not about that.
  2. How to upload WordPress via ftp
  3. How you can transfer and migrate from WordPress.com to WordPress.org (switching)
  4. How to move and migrate blogger to WordPress
  5. A plugin such as “WordPress Mover”, “Duplicator” or “WP Migration”
  6. A guide how to install a Wordpress script
  7. WordPress Multisite migration
  8. A tutorial on Wordpress database search
  9. Explanation on How to Setup WordPress locally

If you wish, we can call this the wordpress five minute install, so let’s do this!


  • An existing domain.com (your website, which you want to move)
  • A newdomain.com (where you want to move your site)
  • A wish to relocate wordpress or move from local to live (developer environment to productive) by just copying

Step 1: The Backup

The File Backup

  1. Login to your current site (I assume you have cPanel) for example http://yourhosting.com/cpanel or it could also be something like http://server.login.com:2083 , every host is different.
  2. Click on the “File Manager” (the icons might look different)
    2016-01-12 01_40_29-cPanel X - Main
  3. Go to your “/public_html” folder or the one where your blog files are, it can also be “/public_html/blog/”
    2016-01-12 01_42_15-cPanel File Manager v3
  4. Now mark all files and compress them into a “zip” file, name it “backup.zip”
    2016-01-12 01_49_14-cPanel File Manager v3
  5. Now double click the backup.zip file, it should start a download, that’s what we want (mine was 99MB)
    2016-01-12 01_53_05-cPanel File Manager v3
  6. Save it somewhere where you can easily find it later.

The Database Backup

  1. Find the Databases section, and click on “phpMyAdmin”
    2016-01-12 01_54_11-cPanel X - Main
  2. It will take you to the databases overview page, find your blog and export it (depending on the size, it can take quite a while, mine was 35 MB)
    2016-01-12 01_55_54-server.justhost.space _ localhost _ health_sd3r8t438 _ phpMyAdmin
  3. Save it somewhere where you will find it.

You should now have both files saved

Call the folder your “domain.com” name, it should look like this on your PC (if you are using Window):
2016-01-12 02_01_12-healthelite.co

Step 2: Uploading

I assume at this point you have already bought and set a domain, hosting and database and are ready to go with a clean, fresh environment!

The File Upload

  1. You should be Logged into your cPanel for the newdomain.com
  2. Click the “File Manager” and navigate to /public_html or where you want the site to be! (that folder should be empty, or at least have no other files such as index.html or similar)
  3. Press the “Upload” Button and get the “Backup.zip” file which we created earlier (Be aware that there might be limits as to how large the file size can be)
    2016-01-12 02_10_49-cPanel File Manager v3
  4. Now it’s waiting time, this can take a while depending on your i-net connection (If this does not work for you, try uploading via FTP)
    2016-01-12 02_12_25-cPanel File Manager v3
  5. Extract the “backup.zip”
    2016-01-12 02_14_20-cPanel File Manager v3
    2016-01-12 02_14_49-cPanel File Manager v3
  6. This is how it should look:
    2016-01-12 02_15_48-cPanel File Manager v3
  7. So far so good

The Database Upload

  1. I assume you are also Logged into the phpMyAdmin Panel for newdomain.com and have created a user, database and password already… (don’t forget to write those details down on the, we will need them in the coming steps)
    2016-01-12 01_54_11-cPanel X - Main
  2. Navigate to “Import” while you have the right database selected & pick the .sql file which you previously downloaded from your domain.com
    ATTENTION: The Upload limit here is set manually by me to 50 MB, in most cases you might have only 2MB or 8MB, use this tool below to make little parts from your big sql file: http://www.rusiczki.net/2007/01/24/sql-dump-file-splitter/
    2016-01-12 02_19_07-server.justhost.space _ localhost _ l41n_wp _ phpMyAdmin
  3. Here is how it should look after the Import
    2016-01-12 02_23_10-server.justhost.space _ localhost _ l41n_wp _ phpMyAdmin
  4. SQL Upload is done

Step 3: Changing Settings

What you want to do now is change all Settings from the Old Domain to the New Domain, and we want to make sure we don’t miss anything that is importat! The following 2 steps are the most important ones. Everything else is many times changed manually on sites or by plugins, so I suggest you get some expert help or message me if you are stuck.

HINT: We are still at the newdomain.com settings, we don’t need to touch anything over at the old domain.

wp-config.php Settings

  1. Go back to your “File Manager” and find the extracted files
  2. Find the “wp-config.php” file, right click -> “Edit”
    2016-01-12 02_34_40-cPanel File Manager v3
  3. A new window will open, replace the highlighted text with your settings:
    /** The name of the database for WordPress */
    define('DB_NAME', 'YOUR NEW DATABASE');

    /** MySQL database username */
    define('DB_USER', 'YOUR NEW USER');

    /** MySQL database password */

    2016-01-12 02_36_08-cPanel X
  4. Press “Save” on top
    HINT: If you are using additional Plugins, they might show additional URLs or Information, path, etc. inside the wp-login.php

phpMyAdmin URLs

  1. Let’s hope you still have that window open with phpMyAdmin, because we are going to need it now, click on the database again and find the “wp_options” table (it might be named different, depending on your settings)
    2016-01-12 02_41_31-server.justhost.space _ localhost _ l41n_wp _ wp36dg4_options _ phpMyAdmin 4.0.1
    Press “Edit” on the line where it says:
  2. You have to change those 2 values to the newdomain.com and then press “Go”
    2016-01-12 02_48_50-server.justhost.space _ localhost _ l41n_wp _ wp36dg4_options _ phpMyAdmin 4.0.1
  3. Done.

Enjoy the results, you can now check your newdomain.com
It will work fabulous, just like mine which i transferred during this post!
This is probably one of the easiest ways to learn setting up WordPress without coding skills and without automated software, just with a plain simple how to install wordpress in cpanel edition.

If you need help with moving your site with wordpress, let me know!
I am here to help!