Be Wary of Backlinks in Disavow Files

Reading Time: 4 minutes

The term ‘black hat’ SEO isn’t bandied around as frequently as it used to, and that’s probably for two reasons. First, developments in the web development industry have made it so that it’s not the buzzword it once needed to be. And then there’s the fact that engaging in less-than-ethical SEO aims via shady link building just doesn’t occur like it used to. There are many reasons for that, but Google’s Disavow File is a big part of why black hat SEO doesn’t get your very far anymore.

Here at 4GoodHosting, like any Canadian web hosting provider we don’t pretend to be web development experts but we are sufficiently knowledgeable regarding the subject. Sharing anything and everything we know with our customers is part of what we do, with the hope that by enabling those managing their website they’ll get more out of their digital and internet marketing efforts. It’s competitive out there, and the value of strong search engine rankings can’t be overstated.

For those of you who may not be familiar with them, a disavow file is a .txt file that contains instructions to Google informing them that you’d prefer if they ignored any number of links to your website. And the reason for doing so? Because they’re having a negative impact on your rankings. Google created it so that webmasters can push back against unsolicited mail and be able to ignore any links that are still pointed to their website after link treatment options have been unsuccessful.

Typically, it’s a last resort option used when certain pesky links aren’t neutralized by standard link removal means. It’s very effective and scads of users have put it to good use over recent years. The best of them contain both root domains and links to individual pages along with comments detailing your removal efforts undertaken for each.

Pay Extra Attention

A recent piece of advice from a Google webmaster trends analyst and industry expert has been warmly received across the industry, and it concerns how some links can actually pair with disavow files to cause your rankings to drop quite pronouncedly. The long and short of it is that you may wish to adjust the links in your disavow file if your rankings drop after submitting it.

There could be any number or reasons behind your employing a disavow file – maybe you engaged in some shady link building practices, or experienced negative SEO, or simply decided to look over backlink profile when auditing and found many low-quality backlinks flagged by link audit tools like CognitiveSEO, SEMrush, or Ahrefs.

These are all good tools for carrying out a link audit, but on occasion there may be some links that you are unsure about, and it’s in these instances when a disavowed file can cause your rankings to drop.

What we can learn here is that we have total control over which backlinks appear in your disavow file and can add or remove them at any time.

The question is typically in trying to understand if the backlinks are bad but have not been flagged by Google yet. A primary consideration in determining this is to see if the backlinks are new. If so, they may not have been categorized or flagged by Google as bad backlinks, but that does not mean they won’t be in the future.

As a result it’s not a good idea to spend a huge amount of time chasing those one or two links that look bad, but that you wish to remove from your disavow file. It’s better to put that time and energy into creating more high-quality content, but that’s somewhat besides the point here. Another common question is how long it takes for links to count after being removed from your disavow file.

Google SEO is constantly evolving, and the ways they counter spammers by incorporating delays in ranking changes after making changes is one of their ways to deter the practice. Spammers can no longer take advantage of instant trial and error testing. When it comes to the use of disavow files, though, the common – and logical – belief is that it will be a little problematic / confusing because there is a time delay from when you remove a link from the disavow before it starts to count again.

That’s not the case, however. Google has clarified that there is NO artificial delay or time-penalty and that rather it involves Google recrawling, re-indexing and reprocessing the pages. It is still unclear whether Google will reinstate links removed immediately, and there is likely a significant time delay.

Just how long this reprocessing element takes is also unclear, but the belief is that it is not something that happens overnight, even if that appears to be the case.

The process does take a small amount of time, so don’t expect an immediate recovery and don’t expect your disavow file to be all-powerful in addressing shady links pointing to your website. Do use them, though, and the consensus is that it’s best to let things settle for 3 months after making any significant changes. You can expect some links to be updated faster than others but overall it seems this is the best bet when trying to analyze the effect of any link network changes you make.

There’s much more on this topic discoverable with a quick Google search of ‘best ways to use google disavow files’, and if this is something that’s relevant for you we encourage you to build on the understanding you’ve gained here. Hope it’s been helpful.

How to Fix 502 Bad Gateway Error in WordPress

Reading Time: 6 minutes

Website owners will always find it frustrating when they’re forced to deal with site errors when they’re not entirely sure why it is happening. The all-too-common 502 Bad Gateway Error can have various potential causes. When you’re unsure what is causing it, you’re obligated to test multiple solutions until you find the right one.

Here at 4GoodHosting, we were once greenhorns when it came to troubleshooting web development issues, but in the many years since what’s helped make us a top Canadian web hosting provider is the way we’ve gone through the process to be ever more capable with solving our customers technical support requests. Enabling them to be able to undertake these ‘repairs’ on their own is beneficial all round, so today we’re going to discuss the 502 error in WordPress and the best methods for remedying the situation. Let’s dig into it

What’s the 502 Bad Gateway Error?

Browsing a website involves the browser sending many requests to the server hosting the site. In normal situations when there is nothing amiss the server will send back the information you asked for, and then the site will load it. However, if the server does not return those requests and instead comes back with ‘invalid’ for the request, then the connection has timed out or there is another problem.

All of this stems from the fact that the connection between the websites and your browser is not a straightforward one. For instance, your request via your browser could be routed though the proxy server before it makes the way to the server hosting the site. When this is the scenario, it can be difficult to pinpoint exactly where the problematic issue is occurring.

Even worse, many websites will use more than one server, and it can make things more complicated when you have to locate which server’s error is leading to the 502 error.

Here are the 2 most common causes for the 502 Bad Gateway Error:

  1. Something is wrong in your DB

In these cases the server hosting the website has timed out and is currently unavailable, or is not working as it should. Your server proxy server goes wrong as a result.

  1. One of your themes or plugins includes faulty PHP scripts

When you can identify the fact that the issue is located within the server it is generally better news because it means the issue is on your end, and that means you’ve got the means of fixing it. You need to contact your provider and explain the situation. Most websites cannot afford any long-term downtime, so you really stand to benefit from being able to take action on your end and troubleshoot the problem on your own without delay

How to Fix the 502 Bad Gateway Error in WordPress

Before you move into troubleshooting mode, you can run a quick test to determine if the server is working as normal. Try running a traceroute to check if the server is available. If you pass this test, then the issue is probably exclusively on your end. If the traceroute test shows your server is not reachable, you will have to contact your WordPress hosting provider.

Resetting your routers and checking your DNS settings is also worthwhile. Sometimes little fixes like this can make the 502 error disappear, and they’re simple enough steps to try on your own. Failing that, here are the best fixes for re-establishing accessibility for your website.

  1. Clear Your Browser Cache

When your browser relies on its cache rather than loading the latest website version from remote server it is possible to have the 502 Bad Gateway. Fortunately, the fix is easy in these instances. Reloading the website server times should do the trick. However, if you still have the 502 error message on your screen and you are on Windows, the CTRL +F5 prompt will make your browser reload the site with the latest version and empty your browser cache. This method works well for nearly all browsers, and including Firefox and Chrome.

For OS X things are a little bit different. The prompt is CMD+CTRL+F5 in Safari.

Should this fix fail then you have to manually empty the browser cache. Those using Chrome can do this by going to ‘Settings’ >> ‘Advanced’ and find the option ‘Clear Browsing Data’.

Next, locate the option ‘Cached Images and Files’ under the ‘Basic’ tab, and then press ‘Clear Data’ once you have selected it. Do keep in mind though that if you do not disable the setting before you press the ‘Clear Data’ button, this order will proceed to delete all your browsing history. If that would be a problem for you then this approach my not be best for you.

For Firefox, Internet Explorer, Safari and almost all other browsers you can perform this process to deal with the situation above. Try reloading the website again after clearing the browser cache. Usually the 502 error will have been fixed but if the problem is still there then you need to move on to more heavy-handed fixes.

  1. Temporarily Disable Your CDN

As mentioned, sometimes browser requests may be routed through the reverse proxy server. This means that you are utilizing the proxy server to place an intermediary between your server and the audience’s browsers.

Services like CDN route incoming traffic relying on the reverse proxy to move that traffic with more efficiency. The additional layer sometimes causes trouble as you attempt to connect to the website’s original server. The 502 Bad Gateway Error will stem from this issue as well.

You can determine if your CDN is the cause of the issue by temporarily disabling your CDN. After that, you can test if your site is loading right without the service. The disabling process can be different depending on the CDN services you are applying to your site, but generally it’s not particularly difficult.

After disabling your CDN service, your site will then load directly from your original server and able to skip the standard request / permission process to access it. If your site loads then you can understand the issue must be related to your CDN service. You will unfortunately have to wait quite some time to re-enable the CDN service. After that happens you will of course want to check that the 502 Error has been eliminated.

If this doesn’t work either, try recommendation number three.

  1. Test Your WordPress Plugins and Themes

Sometimes the issue is directly in the structure and makeup of your WordPress website.

There may by even a tiny error within your WordPress themes or plugins where one of them is trying to execute a script that the original server cannot load correctly. This can lead to an invalid response with the browser sending requests that lead to the 502 error.

You are only able to activate one WordPress theme on the site, so it is simple to deactivate the one you are currently using and then switch to the default theme temporarily. Then try to access your site again to determine if the problem is solved. Oppositely, you can activate multiple plugins on your site but this will mean you need to test all of the plugins you are using on your site to find out which one is the culprit.

In instances where you are blocked out of the WordPress dashboard because of the error, you must disable these plugins and themes manually. You don’t actually delete them though, and reactivating them shouldn’t take much time.

Make sure you take a backup of your site before trying this.

FileZilla is probably the best choice for doing this. Open the FTP client you selected and log into your site via FTP client and proceed to find ‘public html’ >> ‘wp-content’ >> ‘plugin folder’. Each plugin you installed on site should be locatable, no matter whether it is active or not.

Right click on a plugin folder to view the different options that can be applied to the plugin, One of them is ‘Rename’. Choose that option and then change the folder name to another one like ‘disabled.thepluginname’ or something similar. Make it easy identifiable as your temporary one only used for this purpose.

When you then access your site again you will not find these plugins disabled on the site. It will still load without these plugins. If these plugins are behind the 502 error, you’ll be able to browse normally now. Also, be sure to apply the command CTRL+F5 prompt to make you’re deleting the browser cache before reloading.

It is recommended to disable your plugins one by one to test which one is the problem. You also need to remember to restore the plugins that you have determined are NOT the problem. For WordPress theme, the same process is effective for testing it.

Once you find the right plugin or theme that’s causing the 502 error, go ahead and delete it all and find another replacement. Or if the plugins or themes are outdated, you can try to update it and see whether that’s an additional fix that improves page loading speed or general performance.

Conclusion

WordPress makes website creation much easier, and troubleshooting it is often not as challenging as you might think – if you know what you’re doing. Some errors have multiple potential causes, but if you can go through a process-of-elimination method and go through these steps here then you’ll find you can do the troubleshooting on your own. Again – always remember to take copies or backups of your website before you make any major changes.

Struts vs Spring as Java Framework

Reading Time: 4 minutes

Spring and Struts are a pair of the most popular frameworks for Java web. More than a few of you among the developers out there will either already be familiar with them. If you’ve found the one that works best for you then this week’s blog may be one to pass over, but it may be a good read for those who’d like some insight into which one is best for you. Java has no internal organization, so both Spring and Struts offer a web development framework that allows the user to focus on building solid web applications.

There are a handful of different iterations of both. Here at 4GoodHosting, as a leading Canadian web hosting provider we’re very familiar with the value of being in the know regarding frameworks. And considering Java web is nearly ubiquitous for web app developers we’ll weigh some of the most common differences between Struts and Spring today.

Spring

Spring is a Java web framework. Java relies on objects collaborating and interacting with each other to produce applications. From these interactions come dependencies that Java doesn’t have the means to organize. Spring’s framework gives these components organization, handling your application’s framework to get you up and running quickly.

Spring’s components help you with different elements of your build. MVC handles web applications and replaces the older Struts model for increased functionality with more significant developments. MVC makes web app building less challenging because it your components are separated into three parts. The results is that it becomes easier to build and reuse code without too much modification.

Benefits of Spring:

  • Flexible
  • Easily integrated with other programs
  • Code can be tested easily

Spring’s Drawbacks:

  • Complex to learn
  • Less stable than Struts

Struts

Struts is also an open source Java web framework that helps with organization of the Java components in your app. It’s a front controller pattern that comes with fewer options than Spring, but not significantly less of them. A lot of the difference will depend on your preference.

Struts is an older, legacy application and many heritage sites are still constructed using it. It has integrations with Spring, especially with Struts2. It remains an accessible framework to learn, but it’s not entirely compatible with modern app development depending on the scope of the project.

Struts 2 was an outgrowth of the legacy system, and it helps to simplify Struts to make it more compatible with modern web development. It keeps the same architecture as the old system, with refinements and updates to its components. It must be said that it does have a history of security bugs.

Struts Benefits:

  • Simple design
  • Good tag features
  • Multiple view options

Struts Drawbacks:

  • Poor documentation
  • Has frequent compatibility issues

Struts2 vs Spring

A comparison between Struts2 vs Spring primarily becomes a question of updated legacy or documentation and thriving community. Struts 2 is more of an enterprise solution and it really benefits from having such elegant workarounds. It streamlines the development cycle very nicely.

The action is like a controller. As every time a request is made, the action is then initiated. This is unlike the ones in MVC architectures.

Spring, however, is really going to be a lot more efficient here. When we compare Struts2 vs Spring, Struts 2 gets high marks for its elegance, but Spring gets right down to the nitty gritty to give you a cleaner result that’s more consistent.

Strut 2 Features:

  • Ajax Support
  • Extensive support for both themes and templates
  • Configurable MVC components
  • Simple and reliable Java Object-based actions

Spring Features

  • Roles through MVC separated neatly
  • Flexibility with scale and highly adaptable
  • Flexible mode provides easy integration process
  • Spring tag library is robust but simple

Spring 2.0 Vs Struts

Spring’s modal view controller was introduced in response to common issues with Struts. It successfully delineates different aspects of your triad, making it easier to prototype and test. It’s not necessary to keep writing or modifying the code to get the result you’re after. This comparison of Spring 2.0 vs Struts starts with what’s easier.

Struts continues to generate actions in response to requests. For example, MVC neatly packages that action into the controller where it repeats itself without generating any type of a mess. It’s a neat little package, and popular for that reason.

If stability is your primary aim then you can integrate some aspects of Struts into the Spring framework. However, the Spring architecture does offer more flexibility within your design execution for Spring 2.0 vs Struts.

Struts Features:

  • Stability
  • Explicit control of your design

Spring MVC Features:

  • Clear web development
  • Handles aspects missing from Spring MVC

Choosing Struts Vs Spring

Struts is a legacy system to the extent that it’s always good to become familiar with how it works. Older systems likely won’t be able to integrate with Spring, and that makes it so that nearly every developer will encounter something made with Struts in their working life.

Struts still has a pretty dedicated following too, though documentation for it isn’t as vast as it is for Spring. Among its collection of satisfied users are those working within a problematic Java application and enjoying its stricter, more opinionated framework. If you appreciate direction, Struts will make the grade for you. We recommend it if you’re working with legacy programs or with clients unwilling to migrate to something else. Also, for simple applications that won’t have many requests, the structure does feel safer.

Boundaries aren’t always beneficial, however, and so working with Spring provides a much more open framework. It’s less opinionated, so you have the freedom to break from convention more frequently as needed. There’s no shortage of documentation now that the addition of MVC and the veneer of Spring Boot have provided fixes for Spring’s glaring issues. Java can be clunky, but with Spring you really benefit from the organizing framework.

Struts vs Spring: Conclusion

Finding one to be clearly superior to the other is difficult and most people will feel similarly. We recommend Struts with its legacy applications and neat, button-ed up design that will work well for the bulk of developers. Spring will work well with more creative, flexible designs where space is needed to move past convention now and again.

Consider the types of projects you’re going to be working on within Java and choose the one that gives you options to enhance the efficiency and reach of your work. As is always the case, experimentation and being in no real rush to come to conclusion is the best way to find out which web app development framework is going to be best for you.

 

 

Cloudflare is changing the game

Reading Time: 2 minutes

In a world where Google, Amazon and Facebook dominate the tech space, Cloudflare has stolen away the headlines for the betterment of the internet with its recent announcement. The company announced on its 8th birthday that they would be launching a domain registry, and it is unlike any we have seen before.

Cloudflare, to the shock of many in the industry, has decided not to charge anything above the federally mandated cost to register a domain with the government. That is right; this multi-billion dollar company has chosen to not make a single penny off of your domain registration. In a world where the average Canadian spends between $10-$15 per domain, this is remarkable.

Cloudflare is not a small company and is about the same scale as Google at the moment. It has a core set of business that sees itself as a content distribution platform and secure infrastructure vendor for millions of client across the globe. It also has recently announced it is on a path to an IPO and has raised hundreds of millions of dollars in preparation for this. So why do this?

Cloudflare is a unique company in the tech and capital market as they are doing two different things than any other major brand. First, the company does not see the internet as a property that you can corner, and instead looks to promote a free, equal and open internet, much like the values from Internet 1.0. Secondly, the company is doing things for the good of the internet, and although this might ultimately fail once the company scales, it is still a refreshing view from a larger company in the tech space.

This does leave one important question for consumers, what does this mean for the cost and registration of their domain? Well, it is a little up in the air. The Cloudflare system is still being tested and should be live within the month, but it looks to be set up similar to every other registry system. If you are up for renewal, it might be time to take a look around and see if you can benefit from using this new system. As well, for those who are operating hosting or other third party services, your overall cost to your company to get a website should start to drop for your packages if you choose Cloudflare as your registry option.

However, this does still leave some questions. Will the other registry companies like GoDaddy also drop their prices, or will they continue the same old costing options going forward? As well, if you are looking for other nations or domain names, will Cloudflare offer those? Finally, will Cloudflare provide an easy to use swapping option? These are all tough questions, and we will need to wait and see how Cloudflare’s announcement has changed the industry in only a few short weeks.

What are your thoughts? Is this just a bump in the road for the major registry options on the web, or the start of more competitive space for those looking to register domains?

Coming Soon: Quantum Computing

Reading Time: 3 minutes

Many people are amazed at just how powerful computers and IT technology have become, and equally blown away by the extent to which they’ve become dominant forces changing nearly every aspect of our lives these days. There’s the old expression ‘you ain’t seen nothing yet’ and it seems that even though the digital revolution has been just that – revolutionary – this expression seems to be appropriate as we’re soon going to have see countries, economies, and every aspect of the global community reshaped by Quantum Computing.

As a leading Canadian web hosting provider, we’re just like everybody else in the IT-related business world that realized just how seismic a shift quantum computing is going to deliver to the world, and experts says that the technology could be realized within 10 years from now. When you think about how 2008 didn’t seem that long, that should put it in perspective. Let’s have a look at what exactly is quantum computing and detail how countries are doing the best they can to be the first to develop it and successfully implement it.

Quantum computers are a real handful, even for experts on computing. These machines process information at the elementary particle scale with electrons and photons and the like, and where different laws of physics apply. Conventional computers, on the other hand, process information as a stream of bits, each of which can be either a one or zero in current computing’s binary language.

Quantum bits, known as qubits, can register zero and one simultaneously. What this will allow, in theory, is the special properties of qubits making it so that the quantum computer can perform calculations at far higher speeds than current supercomputers. The main value of this would be in the realms of chemistry, material science or particle physics. These super powerful and intelligent machines could really make a big difference, and some examples could be aiding in discovering new drugs, optimizing financial portfolios and finding better transportation routes or supply chains. It almost certainly will also advance A.I. – another fast-growing field. Quantum computing could accelerate a computer’s ability to find patterns in large troves of images and other data.

Long story short, quantum computers could operate millions of times faster than today’s most advanced supercomputers, analyzing problems in minutes where a conventional computer could take any number of decades or even more than a century to solve. The technology is still in its infancy but it’s very likely that it will have a major impact on A.I., healthcare, transportation, communications, financial services, weather forecasting and much more.

Naturally, this type of power comes with risk. Some have talked of the possibility of a coming ‘cryptocalypse’ in national security where state secrets, your emails, bank accounts and credit cards are at risk because quantum computers would render traditional internet security programs useless. Both countries want to be leading this emerging science.

Race is On

Currently, both the USA and China are spending massive amounts of money trying to be the first to realize working quantum computing. There are many reasons for that, but a principle one certainly is that a quantum computer could in several decades be powerful enough to break the codes of today’s best cryptography. The implications for national security interests are obvious.

This isn’t anything of an ‘arms race’ as yet, and experts working in the field say there’s a healthy respect between each side given the nature of exploratory research so far. The hope in the US is that strong government backing will help attract a broader group of engineers and entrepreneurs to this field, and that is should and likely will be less like the cloister of Manhattan Project physicists developing the first first nuclear weapons last century. Rather, the hope is that it will be more of a collection of tinkerers and programmers who built thriving industries around the personal computer, the internet and smartphone apps.

The implications for healthcare and transportation in particular are potentially huge also, and particularly for the way it could massively reduce inefficiencies and make quicker and more reliable correlations between diseases and causes / cures and allow for transportation advances like ‘smart’ traffic lights and the like.

It promises to be reshaping of the landscape on the grandest scale, and it’s really all very exciting!