URL Re-Writing


#1

Hello,

I have one website which has multiple subpages. (each is a different product)

I would like to have a different domains names map to the subpages

With the URLs transformed, e.g. I would like awesometips to map to a subsection of my main website. e.g.:

awesometips.com/index.htm -> mysite.com/products/tips/index.htm

Is this possible? If so what do I need to do?

If it isn’t possible, would be great if you can add that feature!
Thanks.


#2

You would need to add each of these different domains to Cloudflare, after which you can set up a page rule for each domain which will forward to the desired location.


#3

Hi - I’m not after simple redirect forwarding -

I’m after reverse proxy such that when people look at
mysite.com/* , cloudflare serves it from address, but behind the scenes cloudflare is loading the content from originalsite.com/product/product1/* etc

Anyone know if it is possible?


#4

Not with Cloudflare AFAIK, it would need to be done on the server side.


#5

Workers would be the only option to implement this on Cloudflare.


closed #6

This topic was automatically closed after 31 days. New replies are no longer allowed.