Verdant TCS

How to Create Nginx Redirects (with Examples)

Intro  Sometimes you might need to do different kinds of redirects that aren’t quite covered by our normal redirects. In this article, we’ll look at several redirect examples, and add to them over time. TABLE OF CONTENTS Getting Started Let’s Encrypt and Redirects 1. Regular Nginx Redirects 2. Old Domain to New Domain 3. Redirecting […]

Redirects with non-existent PHP files

There may be times when you need to move a website that was previously built with URLs that ended in “.php“. For example: www.website.com/about.php. To ensure that you don’t lose any of the SEO benefits for these pages, you’ll need to set up 301 redirects for them to point to their new URL. If you’d like […]

Country-Specific Redirects with GeoIP

IMPORTANT This article is specific to Nginx. We will release an article for OpenLiteSpeed in the future. Introduction In this article, we’ll look at how to create redirects for specific countries. Whether it be for a specific URL, multiple URLs, or to redirect to a country-specific site. Create a Maxmind Account Prepare Your Country Code/s […]

How to Create Server Level Redirects on OpenLiteSpeed (OLS)

Introduction Sometimes you might need to do different kinds of redirects that aren’t quite covered by our full domain 301 redirects. In this article, we’ll look at how to add server-level redirects to your OpenLiteSpeed (OLS) servers. ADDING YOUR REWRITES When adding your rewrites, we recommend that you use the rewrites.conf instead of your .htaccess file. You’ll find the rewrites.conf inside […]