Help Redirect Non-www to www Not Working on transfer site

Hi every one, i have a web site from few years, my domain before was registered to google and my web address was registered on sitegroud.

Today i decide to transfer every think to Cloudflare.
I recently created a selfhosted wordpress and i transfer all my site on it.

I point the domain " simonemastellone.com" trough tunnel to an ip on my server .
I able to access to the site perfectly.

When i use google to search my web address there are still the old record that redirect to www.simonemastellone.com , and is not workin

I tryed to create a page rule

but if i activate is not working i lose the site.

what i am doing wrong.
I am working on developper mode so there is no chace and i try to access in incognito
Nothing is working

If your site is active on simonemastellone.com, then you are redirecting the wrong way. The page rule is redirecting simonemastellone.com to www.simonemastellone.com, when what you want to do is redirect requests for www.simonemastellone.com to simonemastellone.com

Make sure you also have a proxied DNS record for www as A 192.0.2.1 or AAAA 100:: so www.simonemastellone.com resolves to then be redirected.

2 Likes

I create an AAAA for www to 100::, than fix the page rule as you suggest:
" www.simonemastellone…com/* " redirect to simonemastellone.com

The site is still not accessible

Now i am just thinking , i transfer the domain today, can be that is still redirecting to google domain even if the transfer has been completed

The redirect is working and your site is coming up…
https://cf.sjr.org.uk/tools/check?88a765731d3142bea98116ed342eb7a8#connection-server

It may be your browser has cached the previous redirect. Clear the cache or try incognito/private mode.

i always use private mode is not caming up to me

Home page is working ok, others like https://www.simonemastellone.com/blog/ aren’t.

Adjust the page rule so you are redirecting from:

*www.simonemastellone.com/*

and set the destination to:

https://simonemastellone.com/$2

Yes now is working. Thank you
now i need to see how to show when open the site www.simonemastellone…com other wise i need to change all in google console and site map and ecc.

1 Like

Hi every one, i have a web site from few years, my domain before was registered to google and my web address was registered on sitegroud.

Yesterday i decide to transfer every think to Cloudflare.
I recently created a selfhosted wordpress and i transfer all my site on it.

I point the domain " simonemastellone…com" trough tunnel to an ip on my server .
I able to access to the site perfectly.

Then i redirect all traffic from all www to my domain with help of the forum and is working .

Using AAAA to 500::
and page rule

Since my prevoius site was already configured in google console and all tag with www in front of the domain, previously was simple just change in wordpress form https:///simonemastellone.com to
https:///www.simonemastellone.com but now when i doing it the site is not accessible so i need to revert back .

What i am doing wrong
I cannot use the non www version is to much work to do

Ok i solve it
all non www and www redirect to my domain now

i create a tunnel
*.simonemastellone.com to my ip
simonemastellone.com to my ip

and a page rule

avoiding to recreate all tag and pixel every were

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