Let's say I have these two domains:
example.com.uy
example.uy
My goal is to set a proper domain's forward according to SEO best practices using a 301 Redirect, in order to enforce my users to be always browsing my site at www.example.com.uy
, even when they come from example.uy
and keeping the rest of the URL just like /cat/item/1?qwe=rty
.
I'm using CloudFlare with their free package, their Page Rules seems to be what I need but I can't figure out how to properly set the forwarding. Perhaps I need to configure something at my domain registrar panel as well.
An example of the kind of redirection I want to achieve is:
http://example.uy/cat/item/1?qwe=rty
>http://www.example.com.uy/cat/item/1?qwe=rty
Sub domain example:
http://shop.example.uy/cat/item/1?qwe=rty
>http://shop.example.com.uy/cat/item/1?qwe=rty
I have tried:
example.uy/*
- Forwarding to:
http://www.example.com.uy/$1
- Forwarding type:
302 Temporary
Sadly this is without success, because my .uy
domain has no settings yet, simply because I don't know if I should use the same data I've used previously for .com.uy
.