# Is it possible to rewrite links on a webpage into an other format?

**URL:** <https://www.ruby-forum.com/t/is-it-possible-to-rewrite-links-on-a-webpage-into-an-other-format/238535>\
**Category:** NGINX\
**Created:** [January 16, 2014, 5:28am UTC](https://www.ruby-forum.com/t/is-it-possible-to-rewrite-links-on-a-webpage-into-an-other-format/238535 "2014-01-16T05:28:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [January 16, 2014, 5:28am UTC](https://www.ruby-forum.com/t/is-it-possible-to-rewrite-links-on-a-webpage-into-an-other-format/238535/1 "2014-01-16T05:28:25Z")

</div>

Hello Everyone! Is it possible to rewrite links on a webpage with the  
format  
“domain/file” into the format “file.domain”? Please can anyone help?

Posted at Nginx Forum:

> **[Is it possible to rewrite links on a webpage into an other format?](https://forum.nginx.org/read.php?2,246497,246497#msg-246497)**
>
> Hello Everyone! Is it possible to rewrite links on a webpage with the format "domain/file" into the format "file.domain"? Please can anyone help?

---

<div class="post-metadata">

**Author:** ![e.schreiber](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@e.schreiber](https://www.ruby-forum.com/u/e.schreiber)\
**Post date:** [January 16, 2014, 5:58am UTC](https://www.ruby-forum.com/t/is-it-possible-to-rewrite-links-on-a-webpage-into-an-other-format/238535/2 "2014-01-16T05:58:41Z")

</div>

Sorry, no answer necessary, I not will use such something. Many  
Greetings

Posted at Nginx Forum:

> **[Re: Is it possible to rewrite links on a webpage into an other format?](https://forum.nginx.org/read.php?2,246497,246498#msg-246498)**
>
> Hello Everyone! Is it possible to rewrite links on a webpage with the format "domain/file" into the format "file.domain"? Please can anyone help?
