Question about forwarding

Hi all,

I’m new to this. Search didn’t give me anything that could help ME solve the problem (not very experienced).

Here’s the problem:

My site is in WordPress and looks like this:

  1. https://apendix.my_domain.com

How can I configure Cloudflare forwarding to move all the requests that come with:

  1. *www.apendix.my_domain.com to
  2. (I can only post two links since I’m new, so this should be replaced with the link under 1)

I’m not clear with the * and $1 $2 and + marsk.

It worked on the host, before switching to Cloudflare’s name server, but can’t find a way to make it work here. On the host, it was simple. Just “told” in cPanel to move all the www requests to the non www version.

Thanks in advance for any help and advice.
Relja

Not sure I explained right. The forwarding I need is,

from:
$1www.apendix.my_domain.com*
(* replacing any later files, folders etc.
$1 replacing http://, https://, or just nothing before the www)

to:
https://apendix.my_domain.com*

Looks like I’ve figured it out. Settings that seem to work (if it helps anyone else):

Created a page rule:

www.apendix.my_domain.com/*

Set as “Forwarding URL” - 301 - permanent

Forward URL is made like this:

https://apendix.my_domain.com/$1

Made an “A” entry in Cloudflare DNS and defined:

www.apendix.my_domain.com points to website IP address.

It works, no need for page rules. Hope it helps others as well. :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.