Website Income
Shares

Category Archives for Tools

How to Migrate Your Domain Without Losing Google Ranking?

There may be certain times when you need to migrate your online business in terms of hosting and domain name. There may be a couple of reasons such as:

  1. At some point, you may realize that the current domain is not the right domain for your website.
  2. You could be facing some issues with your branding.
  3. Or you could just want to give yourself a fresh start.

In such situations, most people find it difficult to migrate their website to a new host or using the same host while assigning a new domain name to it. Of course, it is a little bit complex task. Moreover, migrating your domain name could wipe out all the hard work you have done for your site’s SEO.

Most of the independent webmasters or businesses use WordPress nowadays. It’s efficient, easy and powerful as well. So in this article, I will go through step by step tutorial “how you can migrate your domain name easily”.

In the meantime, we have another crucial point to remember that we do not want to lose our search engine rankings + traffic while performing a migration.

So, before proceeding to the tutorial part let me tell you a few things that you should expect and follow during this migration process.

  • Do not change your URL structure “permalink” so frequently. Changing your site URL structure will have a bad impact on your SEO since once you change the address people will no longer find the page from a search engine or any backlink.
https://lh3.googleusercontent.com/_EaPURSG0aLxcR3Pcr4WdB3uODUUxBZNW1x0HGQl5lWGdD911OSs10CgZPfiFBVCMs-DxhSnA1R6s2alQ6ak8frw-8F1L6_1jsclcOralqoa9Tf7fhz7coLJQ8C6MgtSQ6js24GF
  • You should expect a drop in your current traffic for the first few days or maybe a week. The reason is that all your new posts and pages will be crawled under a separate name which will initially have a low domain authority of course.
  • Make sure you do not delete the previous domain and keep the website live on that domain too. 

These are some points that you should take care of while migrating your domain name.

Now I am assuming that you have already bought a new domain name and assigned it with hosting nameserver.

From here you will start the process of migration so keep tracking your progress step by step.

#1. Backup Your Website’s Content

Backing up your site contents is very necessary. It will be beneficial for you because while migrating the domain name of your site if anything goes wrong you can immediately fix it by replacing with the backup files.

There are several ways to backup. You can use the hosting default quick site backup option or you can use a WordPress plugin like “all in one migration” or “updraft”.

I prefer to back up the “public_html” folder directly from the host and the database of the website as well. You can apply any method whichever option looks sweet to you. All it matters to have a backup of the site to prevent any data loss during the domain migration process.

https://lh5.googleusercontent.com/Dp66Wl2Pn0ZJbeuEw7Nl7Z8fKjfwMi4wq491CNlVd0tSH09pDP8aj05uP4oNriymuTEz71TSgDAM_qOz6qZbfH0UDeVO-OqpBfSiETEG_nlMZVkKnU-L6kHeSSoDMuCb4W4jrGwC

* * Depending on the hosting these options may appear different but the work is the same.

#2. Upload the backup contents into your new hosting

Once you have completed the downloading of the backup file, now install WordPress in the new hosting. After installing WordPress open the file manager of new hosting. You can use the default file manager or any FTP client.

Now find the “wp-content” folder from the backup file > extract it and make a separate ZIP file.

Go ahead and upload that zip file into your new site. During the uploading process you will get a notification for replacing the existing contents. Click “replace” and your site content will be uploaded into the new site in a couple of minutes.

In the next step, you will need to upload your previous database into the new one simply by following the “import” technique. Read this guide to know how to do it.

Once your database is updated you can access your WordPress dashboard on the new address once you perform the later part of this tutorial.

#3. Update your site’s new address

Now it’s time to update your website address. First, go to Settings >> General.

Place your new domain URL in both the “WordPress address” and “Site Address”.

https://lh4.googleusercontent.com/7aGw-66hBJdrGhMjJ-rrED-OVgxcDyThCbvv3ucUkKQ3l5ifxcxsyRiRHVECvt8tb9md2iFaKn4wcgg-qzPVQb28uvBRmslT05Kgl6BA3yhCTJy0s98u1S-VvC8ZXh0WL5b3xEND

** To connect your host with the domain name you should make sure that you have updated the name servers.

Once you have changed the URL in general settings click on “save”, you may be required to wait ⅔ hours so for domain name connection. After ⅔ hours your domain nameserver change will propagate worldwide.

#4. Update the links in the website \

Once you have updated the new domain name in your WordPress, the next step is to update all kinds of internal links that are pointing to the older domain name. 

You need to replace all the links in CSS, Javascript, or maybe the links of your content. It can be a difficult task to do manually so you can take the help of a reliable WordPress plugin or WordPress command line.

One such plugin is Better Search and Replace. To use this plugin first install it from the WordPress repository.

  1. Install Better Search and Replace plugin.
  2. Go to tools > better search and replace settings
  3. Type your old site URL address in “search for the box”.
  4. Type your new site URL in the “Replace with” box.

    https://lh5.googleusercontent.com/gsbISNsBZHNEQdanEUmHQgMRRij4p7A7k8yl7zxexAJxzx2-f_3IoI-gI1R760vqp-4V4WZ62u2N1NbKfx5MxQckre6HsVu8rLBS5Ou4AACg6VEnAfH1n0yrPVNWx8Y00ViJO92q
  5. Select all kinds of tables.
  6. Check Replace GUIDs
  7. Check Run as a dry run.
  8. Run search/replace.

#5. Applying 301 redirects to the links

After updating the internal links of your site, the next step is the most important step in migrating your WordPress website’s domain name. Adding the 301 redirect means directing the traffic from your previous domain name to your new domain name.

** And this is the reason why you should not delete the old website while setting up the new website.

If you skip this step, you will ultimately lose all the backlinks linked with your website. This will obviously put a negative impact on the SEO of your website. Furthermore, if the visitors will click on the previous links on that website, it will drive them to nothing hence eventually generating broken links, generating 404 pages.

You should know that Google takes 404 Errors very seriously. If they encounter too many 404 errors – Google will penalize your rankings.

There are multiple ways to redirect your site links, you can use plugins or do it manually but doing so will be very painful. You can add 301 redirect links by adding them at the server level via htaccess too.

Another great and easy way to add 301 redirect links is with the help of Cloudflare. Follow the step in the image. 

https://lh4.googleusercontent.com/0NvTjgKVb68wZlROaCbj0L0jM1OImCeGM1RvYUpUJoIcPF7uX-VW0ZueaHBtbyILtD4nV-7VFWOir_wxLEanx0nqlZMXkI_csWUaYA6EWQ2V6awh3q_0nRXCPHGPEBI2LYIh9F2g

Inside Cloudflare, create a “Page Rule” where each URL that matches “yourolddomain.com” is 301-redirected to “yournewdomain.com”.

#6. Update Your Website in Google Webmasters Tools

Once you are done with the redirection it’s time to inform Google that you are migrating to a new website. You can do this using the webmaster tool or currently known as the search console. You will need to send a request to Google regarding the change in the address of your previous domain. This way, Google will recognize that you have migrated to a new domain and will give you some SEO benefits.

** I am assuming your previous site as a verified property of the search console. If you have not verified yet make sure you do it.

First of all, you will need to verify your new website as a property. Once your site is verified go to change of address tool and select your previous website.

Once you have selected, in the next step you will need to pick your new site from the drop-down menu and then scan whether all the 301 redirections are working properly or not.

After that, the tool will confirm both the sites as verified and allow you to submit your new domain as a replacement to the old domain.

https://lh4.googleusercontent.com/tTV5sq4j-HD3oMxaQeNGqK5HXJWk1aj-VN85y4A16QzYWEvTTpgObs0JKZ6_3Xg7bot59D_on1e9DxQoMPMSHfcRqkJF4o4XKWt_FElVJ9iHytSMdbx5HC7BGivIMzgXcdZ4C6PL

While doing so, if you use Google Analytics for tracking your site traffic then you should also create a new property in the analytics tool and connect the new domain with analytics.

#7. Do not forget to submit the sitemap

After submitting your domain change request, you will need to submit your new domain’s sitemap. Once the domain is verified in the webmaster tool you can easily submit your sitemap.

Having a sitemap will provide you additional SEO benefits. You want to keep updating the sitemap of your site too. A sitemap will support your website to get crawled quicker.

After the change of your domain name, it’s time to pay attention to minor details. Update the primary information present in all the plugins associated with your site. And, make sure to track the number of pages with 404 errors and fix them as soon as possible.

Final thoughts:

Following the above-mentioned steps, you can effortlessly migrate the domain name of your website without hurting the SEO of your site. Although we would recommend not changing the domain name unless it’s utterly essential.

Cheers…

10 Best Cloud Storage For Photos To Rescue Storage Capacity

If you went on an amazing trip with your friends, probably you have captured all those memorable images on your hard drive. Is there enough space to store all those great images? Or do you have any backup of all those captures just to make sure that you won’t lose them because of hardware problem?

Well, if you have faced these kind problems previously, you should probably change your mind and start using online cloud storage. Do you have any idea what kind of cloud storage would be great for you?

10 best cloud storage for photos In 2019.

This list of top ten best cloud image storage contains the best place to keep your images with high resolution, encrypted security, including more advanced editing options. Also, you can easily access your images from anywhere and anytime you want.

#. Cloudinary: The leading image cloud storage

Cloudinary is one of the best cloud storage for photos with a large community. It works on image management as well as video management. It directly uploads your images from the browser to the cloud with secure API. You can also manually upload the images and resize them, optimize them and lot other options are there.

-best-cloud-storage-for-photos-cloudinary

See how to scale your page images with the help of GTmetrix and Cloudinary.

Cloudinary manages from Organizing to monitoring all the operations and manipulation as well. Image optimization can also be done with URL based API and SDK for easy integration. It delivers all kind of image resolution and pixel density to the user.

It also efficiently maintains synchronization across different networks. There are some plugins available for WordPress. But I would like to suggest you not to use those plugins but do it manually with the help of media link.

Special Features:

  • Automatic Optimization
  • AI-based image moderation
  • Video transcription add-on
  • OCR text detection add-on

#. PCloud – Best Secure Online Cloud Storage

PCloud is another best cloud storage for photos that are available since 2013. PCloud provides high storage in low cost with highest encrypted security. Every online cloud storage provides free trial for their subscribers so that user can get an experience of utilization before buying any subscription.

pCloud--best-cloud-storage-for-photos

PCloud is also one of those best cloud storage who provides a free trial to the user. With PCloud you will get up to 20GB free space and 1GB for every friend if you refer any. After a free trial, you can go for annual and life plans. If you go for a lifetime then it will give you the discounts for using services for a long period of time.

If you don’t like their service they also have a money back guarantee plan for 10 days. The clients are also available from Linux, MacOS, and Windows if you are setting up on a desktop. You can able to access and sync the images from any device you like to use.

For web clients, you will get to enjoy various tools of Pcloud such as image viewer, editing in just one place. If you are a WordPress user then you can use the Pcloud plugin to backup the image files as well as edit them, format them. You can also get backups from Facebook, Instagram, Dropbox, One drive and Google drive. You can also easily generate a link and share it via Email.

Special Features:

  • Accessibility and multi-device usability
  • Collaboration businesses
  • Unbreakable security
  • Backups


#. Sync – Free Image Cloud Storage

Sync is also one of the best cloud storage which provides easy access, store and shares files and images with the end to end encryption securely. You can also send files to anyone who doesn’t have even an account on Sync.

Sync--best-cloud-storage-for-photos

The other features are the same such as file request, password, protection, notification, and permission, etc. It is available for 30 days free trial before moving to the premium plans.

There is an app is available for Windows, Mac, iOS, Androids, and Web as well. To use your images with WordPress you can create an image link there and send/link it to the WordPress media gallery. Use this guide to know the procedure.

However, on Sync you don’t have to pay for Zero knowledge encryption like Pcloud. For those who always look for high security on images, they will go for Sync.com. But there is a disadvantage of Sync that you cannot preview the images through browsers.

Sync Features:

  • End to end encryption
  • Data protection and versioning
  • Sync Vault cloud and Backups

#. Google Photos – Google’s Online Image Cloud Storage

Well, almost all of you have used Google photos for storing your images. It gives unlimited image cloud storage for free and you can access them from any devices. If your mobile device is correctly configured with Google photos then all the images will be stored there as well as the videos automatically.

However, if we talk about privacy then Google photos will keep your images private until you share with others. You can even see images offline when network services are not available with you.

One amazing feature of Google photos is that it can recognize the objects in your image. Whenever you type any keyword that matches your files or images, it will show those images on the top.

It automatically organizes your images according to date so that later you can search for any date you want. Well, there are no other features such as zero-knowledge encryption and client-side encryption like PCloud and Sync.com have.

Like other web-based image servers, you can serve images from Google Drive to your website. If you have a WordPress site you can use the Google Photos Gallery with Shortcodes plugin to fetch and show your images on the website.

Special Features:

  • Power of search enhancement such as Google Al, ML-based, Quick Access
  • Third-party apps such as CloudLock
  • Migration tools and services

#. Egnyte Connect: Best Cloud Storage

It may be possible that individual users do not prefer this online cloud storage because they don’t give the personal plans. The main advantage is that Egnyte Connect gives higher serving speed because it uses Block-level file copying method in which only the changed/modified part of files are synced.

Their plans require a minimum of 5 users if you want to buy a Business plan or Team plans. As it has effective features for working on photos, you can easily preview and sort the photos from your gallery. It also uses Smartvid.io machine algorithms for recognition features similar to Google photos.

From Egnyte connect you can open the photos in Photoshop, Adobe Illustrator and also in Adobe In-design. So far if you have a business website related to the image or your business faster serving of images then Egnyte Connect is one of the best options for you. Visit their website and ask for a free trial before getting into the premium plans.

Special Features:

  • Easy access and share with any business productivity app.
  • GDPR Compliances
  • Hybrid deployments
  • Partnership program (Reseller)

#. DropBox: Best Cloud Storage For Photos

We all want proper Synchronization and affordable plans with excellent features which allow us maximum operations with higher encryption security. Dropbox service is one we would like to choose which is established after the mailbox and drop Carousel.

dropbox--best-cloud-storage-for-photos

The features are combined and implemented in service. Along with another file format you can store your images and share them anywhere you want. like Egnyte connects when users make any changes in files, it will only sync the piece of the file which is changed and update it automatically.

Deleted files can be recovered in between 30 days but if you are a Dropbox plus users, recovery time is extended. It has LAN sync features and increased Synchronization speed. The service is expensive but it provides pretty good features than other image cloud storage.

The drawback is, it only gives 2 GB free storage space for free trials which is little low if you don’t have plans to buy a premium plan. Plus plans offer 1 TB of storage for $10 per month. There are plenty of plugins to share Dropbox files with your WordPress but Dropbox Folder Share is one specific plugin that allows users to show images and thumbnails for preview images.

Special Features:

  • LAN sync features
  • Remote wipe
  • Third party integration
  • Advanced Encryption Standard
  • Increase Your Free Plan Space Up to 15 GB Using affiliate Program

#. Amazon Photos: Amazon Online Cloud Storage

Amazon Photos is free online photo storage to Amazon Prime members, who can save and share unlimited photos on the desktop, mobile, and Fire devices. The Prime members get unlimited photo storage + 5 GB of storage for videos, document, and other files.

Amazon-cloud-storage-for-photos

The prime member can also invite up to five friends or family members to receive unlimited photo storage and collect photos together in the Family Vault. Amazon Photos is accessible through the following devices:

  1. Desktop web browser
  2. Windows or Mac desktop
  3. Fire devices
  4. iOS and Android mobile devices

You can create a shared album with groups, organize them by people, place, and things. Even you can share your images with bigger screen devices like Amazon Fire TV and so on. If someone wants to print any images on a gift card or personalized gifts then it can be easily done with Amazon Photos.

For WordPress users, there is another option to serve your images from Amazon S3. You can also move all the images from your WordPress account to the cloud with Amazon S3.


#. OneDrive: Microsoft file hosting service

OneDrive is published by Microsoft. The application is already built in with Windows 10 and Windows 8.1. The user can store and recover deleted files or images until they are purged from OneDrive. It uses Geo locations data for photo services.

OneDrive-cloud-image-storage

You can tag location from the map and people as well when the photo is uploaded.

However, it also uses PhotoDNA scanning tool which keeps the users in control and identifies similar images, videos etc. It has concordance with other web services such as Outlook.com, Windows live groups. From which you can easily store directly to OneDrive and share with your friends.

The drawback is that the folder should be located on NTFS. The service offers 5 GB of free cloud storage for new users. You can access OneDrive on Windows, Mac, Xbox, iOS, and Androids.

WP Media folders plugin allows you to access your OneDrive files directly from WordPress, and add, edit or remove media.

Special Features:

  • Advanced Sync Technology
  • API access
  • Enterprise-grade security
  • Edit & annotate files

#. 500px: Photography Community + Online Image Cloud Storage

If you are a photo enthusiast or want to make your photography best then 500px is the best option for you. As the service uses algorithm so that views, like, comments are allowed and if you get more plus then your page will get one of the popular pages.

500px-cloud-image-storage

This makes the application more engaging. 500px is one of the best cloud storage that gives direct communication between photographers and clients by putting marketplace feature.

You can also add watermark and license to your photos. You can also preview your photos in various categories such as portrait, landscape etc. The encryption password can be used for security propose also.

To use 500px with WordPress you can use these three plugins. All of them are great, so choose one of them considering your requirements. Here are the WordPress plugins Media Manager Plus500px WidgetWP 500px, jsGallery.

Special Features:

  • Marketplace
  • Various category options
  • Encryptions Password Protection for security

#. Flickr: Image Hosting Service

Flickr is another popular cloud image storage size of 1 TB which offers free plans to the user. It also offers monthly plans of $5.99 and annual will be of $49.99 with amazing features added to it.

flicker-best-cloud-storage-for-photos

You can easily upload the photo by clicking on upload icon and then you can also make a tag on the photo. As like 500px, Flickr is also not accepting RAW files. You can also use Flickr in Android and iOS.

You can easily share your entire photo stream folder. You can also generate a link and share them via Email. There are lots of plugins available to use flicker photos with WordPress. Install any one you like the most.


Conclusion: As we have mentioned the 10 best cloud storage for WordPress, you can easily choose which cloud storage will be best for you. We have also included the variously available plugins for each in the list of best cloud storage.

You can add any of your choices. It is difficult to find all the functionality into one such as ease of use, speed, security and best value but here I have optimized the options for you from which you can choose, what you want for storing your precious moment captured.

Do share if you have more information about any other good image cloud storage for WordPress. Also, I will definitely look for more updates and if I manage to find one I will update here on this list.

Best way to setup a cookieless domain for WordPress site (2020 update)

Previously we have published an article about the process of setting up an cookie free domain or cookieless domain, where we have mentioned about creating a static version of your website.

If you have read the article already you must known about what is cookies and how it is useful for storing user informations into the browsers.

However, in the other hand cookies can hinder your webpage performance by not delivering static content to the visitors web browsers.

One example of cookieless domain decreasing page performance: detected by gtmetrix

Fix cookieless domain warning

When a browser makes request for static files on your page such as an image, CSS file etc there is no need for it to add cookies with it, which results in sending additional traffic to the server. And additional traffic means more waiting time for the response by the server.

You can try these steps if you think your server response time is not good.

So the advantage of setup a cookieless domain is that you can separate the content that doesn’t require cookies from the content that requires it.

Using cookieless domain will deduct unnecessary network traffic and eventually increase the server response time + the page performance.

How to setup a cookieless domain for WordPress site

There are couple of ways to set up a cookieless domain. You can read all the procedures in this page. However, in this article, I will mention how to set it up manually for WordPress website.

Before starting the process one thing you need to remember that if you set cookies on the top level domain ( yourdomain.com) all the subdomains will also include the cookies in them. Because, as it sets on the primary domain its childs are going to have the DNA for sure.

So in this case, you are recommended to use a separate domain to deliver static content. It’s a better idea if you register a new domain and configure the web server to serve static resources from the new address. You will completely prevent any cookies to be set in the new domain.

Instead, you can also set two different domains. One which includes cookies and one which doesn’t set cookies. In such a case, will set cookies on a www subdomain (www.yourdomain.com) and separately host your static files from another subdomain like (static.yourdomain.com). This static domain will no longer send cookies with your static files of a page.

Read the following procedures to setup a cookieless domain in WordPress.

1. Create a subdomain

Go to your cpanel and create a subdomain like static.yourdomain.com. From this subdomain you will serve or host all the static files.

Go to subdomains > make sure you are on the page ” create subdomain” > place “static” on the subdomain box > let domain box stay in default name > click on create.

Setup-a-cookieless-domain
setup the subdomain

2. Point subdomain to wp-content

Now point the newly created subdomain to the “/wp-content” directory of WordPress installation folder.

To do it again go to your subdomains and edit the settings by clicking on the edit icon next to your new static domain.

It will take you to the document root settings where you need to update the root address from “public_html/static” to “public_html/wp-content”.

Update document root

3. Update your wp-config file

Go to the file manager using cpanel or ftp client and edit the wp-config file. Make sure the following code is available or added inside the file.

<?php
define(“WP_CONTENT_URL“,“https://static.yourwebsite.com“);
define(“COOKIE_DOMAIN“,“www.yourwebsite.com“);
?>
  • Remember to correct your domain names accordingly.

4. Direct url to new subdomain

Before taking this step make sure you backup your database in awar to any kind of misconfiguration. Better to practice with demo site before applying in live the version. I do not take any responsibility for further loss of data or website down.

Now you need to run sql query on database table. Go to phpmyadmin > select your wp database > go to SQL tab and paste the following code in the command box.

UPDATE wp_posts SET post_content = REPLACE(post_content,’www.yourwebsite.com/wp-content/’,’static.yourwebsite.com/’)

This will make sure all the post urls are directed to the new subdomain.

  • Again make sure that you have corrected the domain details inside the code.

Once you setup everything your cookie domain and static domain are ready for action. And the static domain will start delivering static resources without sending unnecessary cookies traffic.

I hope this guide will help you to establish your static site without any additional problems. Make sure you comment down below in case you need any more information.

How To Setup Cookie-Free Domains Properly [Updated In 2019]

We all do a website speed test to know our website loading speed and performance score. There are popular tools available like GTmetrix, Pingdom, Page-insight, Bitcatcha, etc. These tools scan our website and point out which things are good and where changes are required.

Here is an example of a report provided by GTmetrix:

gtmetrix-speedtest-report-use-cookie-free-domains

As you can see, besides the image problem and loading time most of the test was passed by that specific page. To fix the image problem you can apply this trick.

Now if we go to the ‘Yslow‘ tab next to ‘page-speed‘, you may see a warning that says to use cookie-free domains. Check this image below.

use-cookie-free-domains-warning

 

If you are getting this problem for the first time then you should know what is a cookie-free domain? Why should you use cookie-free domains? In case you already know about a cookie-free domain then skip to know “How to setup or use cookie-free domains on your WordPress site! “

Additional reading: Best Pay Per Month Web Hosting In 2019 For WordPress Website

What are cookies?

An HTTP cookie is a small piece of data sent from a specific webpage or website. These tiny data are stored on the user’s computer by the user’s web browser when he is browsing.

 

What is a cookie-free domain?

A cookie-free domain is a very simple concept. It’s actually a domain which does not send a command to visitor’s browser to store cookies from the website. Our website has some static contents such as image, javascript and CSS files. These contents don’t change so often.

That’s why they don’t need to accompanied by cookies, as there is no user interaction with these resources. So by configuring a domain that doesn’t set cookies, we can decrease the size of the total request made by visitor’s browser to our server, while trying to download page resources.

The concept behind this strategy is to reduce server latency by reducing the number of requests which can impact a little on your website performance.

You can watch the video to understand it visually.

Additional Resources: How To Make Money Online Through Affiliate Marketing Program In 2019

How to setup or use cookie-free domains

As you have understood why you should use a cookieless domain, it’s time to know how do we set up one. Setting up a cookie-free domain seems like a hard task but believe me it’s not. All you have to understand the process and do it perfectly.

There are a couple of ways to configure a cookie-free domain. Such as using a separate domain name, set up a CDN and reconfiguring WordPress site. So we will discuss these methods one by and so on.

Here, I will mention the tested methods which worked well for my blog.

 

1. Configure a cookie-free domain separately

In this technique, you will create a completely separate domain name for your website. This separate domain is going to host all the static contents without any cookie command to the browsers. So, first of all, you have to register a domain name.

If you already have then skip to the next step but if you don’t have yet buy a new one. You can also create a sub-domain in case don’t want to buy a new one. If you prefer to use sub-domain, use a static prefix so people can understand by looking at the name. For example: “www.static.rankwp.in

*Remember: If you use your root domain without www version, like rankwordpress.in then using the subdomain as the cookieless domain will not work.

Again, if you are using Adsense advertisements then cookieless domain warning will always occur because your sub-domain is a part of your root domain and Adsense set cookies for every sub-domain under one verified domain name.

Read this tutorial: set up a cookie-free domain for both WordPress and non-WordPress website.

Steps:

After creating the cookieless domain, Use your .htaccess file to configure your web server to serve static contents without cookies. Here you have to put that .htacess file into the root folder of your domain. Here’s how to find and edit the .htaccess file Once you find the .htaccess file paste the following code there.

 # Use Mod_deflate to compress static files SetOutputFilter DEFLATE # Speed up caching FileETag MTime Size # Expires ExpiresActive On ExpiresDefault "access plus 366 days" # Future Expires Headers Header set Expires "Sat, 27 Dec 2018 23:59:59 GMT"

Once you’ve set up the cookieless domain now you need to upload all of your static content to the new static sub-domain (or domain). These contents include CSS, ICOs, Javascript, text and image files. This way you can create a cookieless domain from where static content of your original website will be served.

2. Use a CDN provider to ignore cookies

Using a CDN provider is another good way to solve the cookie-free domain problem. Most of the CDN has the ability to ignore cookies and strip cookies which helps to completely prevent the browsers from receiving the Cookie response header. Since it’s hard to guess which CDN to use.

Just because every CDN has different features and functions so not every CDN is suitable for you to solve the warning to use cookie-free domains. If you are currently using Cloudflare CDN then you need to disable it to disappear the warning to use cookie-free domains.

The reason is that you can’t disable cookies served through CloudFlare CDN. Moreover, they also include their security cookie in your website header. But if you use CloudFlare with a caching plugin, you can change it to another CDN provider to solve the problem.

KeyCDN is the nicest alternative I have ever used with my websites. You can deploy keyCDN to your WordPress site by using a plugin. Just follow the steps below.

  • Go to their website KeyCDN and create an account there. They charge about 0.04$/GB traffic data and you will get one month for a free trial for a new account. Test their service and if you feel better then go for a premium account. ( You don’t have to submit your credit details. )
  • Install the CDN enabler plugin from the WordPress repository.
  • Create a new Pull-Zone inside the keyCDN dashboard and save it.
create-pull-zone-for-cookie-free-domains
create-pull-zone-in-keycdn
  • Copy the CDN URL and paste inside your WordPress plugin.
copy-pull-zone-URL-cookie-free-domain
copy-pull-zone-URL
paste-url-inside-CDN-enabler
paste-URL-inside-CDN-enabler
  • Once your setup is done, clear your website cache and wait a little time to take the effect.

On completion of your set up, you should see the improvement in your website test results on gtmetrix.

3. Re-configure your WordPress site

In this method, you will set up your subdomain’s DNS record as a CNAME pointing to your root domain with the wp-config file. To do that point your subdomain (any) to your /wp-content directory simply by editing your wp-config.php file. Add the following codes into your wp-config file.

define("WP_CONTENT_URL", "https://static.domain.com"); define("COOKIE_DOMAIN", "domain.com");

* don’t forget to replace your domain URL and domain name inside the code. Example: https://static.google.com

4. Use Cookie-Free Domains – WordPress Plugin

One more alternate method is to use a WP plugin called WP2static. You can easily install the plugin from the WordPress repository.

wp2static-plugin

 

 

wp2static-plugin

After installing the plugin activate it. Now go to the WP dashboard and select wp2static from the left bar menu. Configure the settings inside the “Deploy static website” tab. See the image below.

use-cookie-free-domains-wp2static-configuration
wp2static-configuration

Once the export process is done, visit the URL that you have set during the configuration. (https://yourdomain.com/static). Now check that URL in GTmetix. The warning to use cookie-free domains won’t be displayed inside the report.

Final Word

Using these cool tricks you can get around of that annoying cookieless domain warning on gtmetrix or Pingdom. In the comment box please share is this article helpful for you or not. Also, do share with your friends if these tricks work well with you.

 

Does The Holy Grail for Content Marketing Exist Yet? – CognitiveSEO Review

What is the “holy grail” for Content Marketing? The answer is:  The ability to predictably say that if you target a keyword with a specific criteria, and produce an article that meets certain specifications, you will be “guaranteed” to rank in the top 10 of Google.  

Today we look at how CognitiveSEO can help in this quest!

The “Holy Grail” of Content Marketing might be a long shot, but we are always using our unique position of publishing A LOT of quality articles on great sites with Content Refined to try and come closer to understanding the variables that will rank your content with certainty on search engines. With the sheer number of articles published, along with access to data science talent, we were able to perform a multivariable regression analysis that we think it is worth pursuing.

In this article, we are going to talk about the results from one specific tool that can provide more metrics about both the keyword and content quality compared to almost any other tool on the market. 

CognitiveSEO provides an amazing array of metrics for data driven content marketers to dig into and analyze against the performance of their content. Where you would need data from several different tools such a SEMRush, MarketMuse and Ahrefs etc., CognitiveSEO consolidates a lot of that functionality into one super awesome tool. A great solution for those who have too many ongoing SAAS subscriptions already (I’ve been so guilty of this). 

So by using just CognitiveSEO, what are the metrics that would “guarantee” a ranking in the top 10? Come on a stats adventure with us.

Indiana Jones And The Last Crusade GIF - Find & Share on GIPHY
GIF – Indiana Jones

Stats Disclaimer – Before we get dig too deeply into these numbers, it’s important that we share what some of the statistical performance was for these. 

The Keyword Monthly Volume, Content Performance, Article Word Count and URL Character length are the most valuable variables to analyze. Analyzing  50+ regression scenarios,12.42% r square is the best regression result available using a majority of only CognitiveSEO’s Variables. The best single regression variable, content performance, achieved an r squared value of 4.4%. In most successful multi regression analysis, a variable ” anchor” is needed to drive line of best fit. This seems to be missing as the most successful single regression variable only has 4.4% correlation to google rankings, making it hard to fit the rest of the data to variable with little fit. Actionable insights are still achieved and are explained below. 

Actionable Insights: 

If you are trying to create content that will predictably rank on google, according to CognitiveSEO, you want to follow these guidelines. 

Metrics: 

Minimum Conditions:

  • Keyword difficulty should be at least 17
  • Content performance score should be at least  51
  • The readability score should be at least 47
  • Minimum article length should be 250 words

Ideal Conditions: 

  • Keyword difficulty should be at least 17
  • Content performance score should be at least 85
  • The readability score should be at least 65
  • Minimum article length should be 1400 words

I checked to see if one of my best ranking pages met this criteria, and check out my findings below! 

My article “How to Build a PBN” is a great example of this. This article does really well–it has 10 keywords ranking in the top 3 spots on Google and it has been picked up for Google’s featured snippet for this article. 

In this case all of the “Ideal” Criteria were met!

  • Keyword difficulty should be at least 17
    • For my Keyword it was 37
  • Content performance score should be at least 85
    • Our content performance score was 97
  • The readability score should be at least 65
    • Ours was 75
  • Minimum article length should be 1400 words
    • We went big with this one and it was 14,743 words long! 

Conclusion: 

So what does this mean? Have we “cracked the code” of content marketing? According to this data analysis (which has pulled on hundreds of articles written by Content Refined) we are able to predict that if the ideal conditions of an article are met, you should be able to rank in the top 10 of Google. We’ve given you the Holy Grail–so give CognitiveSEO a try for yourself and really step up your game in the world of content marketing.