Redirection All URL of subdomain to main domain

I have a website. I was maintaining a subdomain. Now i turned it to subdirectory.
Main domain:

I want to redirect all subdomain url to subdirectory or main domain home page. Can anyone help me to do it. I delete my subdomain by mistake now it is not working. But i have all 27 articles links url that i want to forward to main domain or subdirectory.

Domain purchased with GoDaddy.
Hosting: hostinger
Using Cloudflare for dns.

Do you want all requests for to be redirected to

There are several ways to do this.

A page rule with the URL set to*, choose “Forwarding URL” as the setting, and the destination URL as$1.

You can also use Redirects to do the same thing.

1 Like