# Link to us

**URL:** <https://www.ruby-forum.com/t/link-to-us/118743>\
**Category:** Ruby\
**Created:** [October 30, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/link-to-us/118743 "2007-10-30T16:00:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajatgarg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Post date:** [October 30, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/link-to-us/118743/1 "2007-10-30T16:00:30Z")

</div>

Hi Guys,

I am trying to have a module on each of the pages of my website, where  
user can click and take a link to the page.

They can then embed that link on their website to link to our site’s  
page.

How do I code to determine “this” page URL

Regards,  
Rajat

---

<div class="post-metadata">

**Author:** ![rajatgarg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Post date:** [October 30, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/link-to-us/118743/2 "2007-10-30T18:45:20Z")

</div>

On Wed, Oct 31, 2007 at 12:00:38AM +0900 Rajat G. mentioned:

> Regards,  
> Rajat

This depends on how you implemented your site architecture. Ruby knows  
nothing about the web.
