Advice and answers from the Foodomaa Team

Step 1

  • Login to your Cloudflare account and select your domain
  • Click on DNS settings from the left navigation menu.
  • Click on Add record
Type: A
Name: www
IPv4: 43.205.169.219
Proxy status: Check ✔
TTL: Auto
  • Save the record.

 

Step 2

  • Click on Rules > Page Rules from the left navigation menu.
  • Click on Create Page Rule
URL: https://www.mydomain.com/*
Pick a Setting: Forwarding URL
Select status code: 301 - Permanent Redirect
Enter destination URL: https://mydomain.com
  • Click on Save Page Rule

NOTE: the asterisk mark * on the end of the URL is very important in the URL section of Step 2


Using the www version of the domain is not recommended on Foodomaa.
The above procedure will ensure all the URLs from the www version of the domain will be redirected to the homepage of the non-www version of the domain.

Always use the non-www version of the URL if you are sharing the URL anywhere.

Example:

https://www.mydomain.com ❌
https://www.mydomain.com/stores/some-store ❌
https://mydomain.com/stores/some-store ✅
https://mydomain.com/stores/some-store ✅

Did this answer your question?
Sad Neutral Happy

Sorry you didn't find the answer you needed 😢

If you'd like, you can ask the team for help.

Talk to support