question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow host configuration, so we can perform non-www to www redirects

See original GitHub issue

I was looking at this module initially to see if this can be used to redirect non-www traffic to www traffic. Since the redirects are based on URL’s I had to look for alternatives, but if there was a way to do this using this module, that would be great.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ricardogobbosouzacommented, Feb 19, 2019
1reaction
manniLcommented, Nov 22, 2018

I’ve marked it as feature request but I think a dedicated package/module/middleware would be better suited 🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Redirect Non-www to www URLs - Hostinger
The easiest way of redirecting a non-www URL to www is to place a rule in the .htaccess file. You can do so...
Read more >
How To Redirect www to Non-www with Apache on Ubuntu ...
This tutorial will show you how to redirect a www URL to non-www, e.g. www.example.com to example.com , with Apache on Ubuntu 14.04....
Read more >
apache redirect from non www to www - Stack Overflow
Using the rewrite engine is a pretty heavyweight way to solve this problem. Here is a simpler solution: <VirtualHost *:80> ServerName example.com Redirect ......
Read more >
How to redirect non-www URLs to www? - SiteGround KB
To redirect your website from non-www to www, add the following lines in your website's .htaccess file: Replace yourdomain.com with your actual domain...
Read more >
How to Redirect www to non-www in Apache htaccess - Ubiq BI
Here are the steps to redirect www to non-www in Apache htaccess file. Please ensure that you have enabled mod_rewrite in your Apache...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found