Skip to main content

Change WordPress Permalinks without breaking the previous ones (avoiding 404 HTTP errors)

If you know something about SEO, you probably already know what WordPress Permalinks are and the huge impact they have on your website visibility around the web. For this very reason, changing their structure is not a trivial task and shouldn’t be underestimated by any webmaster or blog owner: not doing it properly will most likely result in broken links, 404 Page Not Found errors and other dreadful scenarios that will bring your SEO score down. In this post we will try to overcome these issues: however, before we do that, let’s make sure we’re all on the same track.

(more…)

 

Yet another optimized robots.txt file for WordPress (including all the latest Googlebots)

There are a lot of self-declared “optimized” robots.txt files for WordPress around the web, but most of them don’t allow full access to most Googlebots that scans our website for various reasons, such as: mobile browsers compatibility, PageSpeed insights, tag/structured data analysis, & more. Here’s a list of all of them as of October 2016, including the most recent ones.

If you want to be sure that your robots.txt isn’t blocking any of these, you can test your website URLs with the following tools:

(more…)

 

ASP.NET Core and Angular 2 – The Book

My ASP.NET Core and Angular 2 book is finally out! The publisher did an awesome job, as it’s already available through a number of major online e-book market stores such as Amazon.com, Amazon.it, iTunes, Kobo as well as on the Packt website.

UPDATE: First sales data: #1 in Japan, #3 in UK, Best Seller in Germany and France!

The whole experience was a blast, since I got the chance to work side by side with a number of IT professionals who helped me reviewing and finalizing this 470-page monster, debugging more than 5.000 lines of source code samples (everything is also available on GitHub) and publishing the sample SPA on the www.opengamelist.com website.

In the following day I will release here some significative highlights/content snippets of the book contents, to give the readers the chance to evaluate the product before spending their money to get it. For the time being, here’s a quick overview of what the book is about: I hope it will help many ASP.NET developers to make the shift from ASP.NET 4 to ASP.NET Core and also from AngularJS to the brand-new Angular 2 framework. Happy reading!

(more…)

 

Url.Action Extension Method written in C# to handle multi-language Routes in ASP.NET MVC

As anticipated here – and also by popular demand – we’re publishing an Extension Method sample that will enhance the Url.Action helper method in any Razor View allowing the developer to specify a CultureInfo object – or even a null one, to use the CultureInfo.CurrentCulture – that will be used to build a multi-language URL. Needless to say, such URL will only work if we configured a multi-language aware Route within our application such as the one we mentioned in this post.

(more…)

 

Html.ActionLink Extension Method written in C# to handle multi-language Routes in ASP.NET MVC

As anticipated here – and also by popular demand – we’re publishing an Extension Method sample that will enhance the Html.ActionLink helper method in any Razor View allowing the developer to specify a CultureInfo object – or even a null one, to use the CultureInfo.CurrentCulture – that will be used to build a multi-language ActionLink (i.e. an ActionLink with a multi-language URL). Needless to say, such URL will only work if we configured a multi-language aware Route within our application such as the one we mentioned in this post.

(more…)