# Enter Zip Code - Redirect to Page

**URL:** <https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212>\
**Category:** RapidWeaver Classic\
**Created:** [September 11, 2018, 11:15pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212 "2018-09-11T23:15:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dropgates](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dropgates/32/34206_2.png) [@dropgates](https://forums.realmacsoftware.com/u/dropgates)\
**Post date:** [September 11, 2018, 11:15pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/1 "2018-09-11T23:15:17Z")

</div>

I’m not too sure where to even begin here. I would like to have an input form where the visitor can enter their Zip Code. When they hit Submit, that would direct them to the appropriate page. Something that would work similar to [this](https://webuyhouses.com).

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [September 11, 2018, 11:25pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/2 "2018-09-11T23:25:42Z")

</div>

If you took the zip code and passed it to a page via a URL, you could use the Agent stack on that page to display different content based on the zip code passed via the URL.

Another thought for zip codes would be to use Total CMS blog. You could have a blog post for each possible zip code. The zip code would be the permalink. Therefore, the contents of that blog post could be unique for each and every zip code. The nice thing with this approach is that you can add as many zip codes as you want later on without ever opening RapidWeaver.

---

<div class="post-metadata">

**Author:** ![dropgates](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dropgates/32/34206_2.png) [@dropgates](https://forums.realmacsoftware.com/u/dropgates)\
**Post date:** [September 11, 2018, 11:32pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/3 "2018-09-11T23:32:18Z")

</div>

Thanks Joe; Agent may work, but I’d like something that isn’t that intuitive in case someone wants to submit a zip code outside of the area where they’re located. We plan on having a directory of every city in California, but thought a Submit button to get someone there quickly would be pretty cool.

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [September 11, 2018, 11:35pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/4 "2018-09-11T23:35:20Z")

</div>

Total CMS seems like a much better solution to me. But Agent will do the trick.

---

<div class="post-metadata">

**Author:** ![dropgates](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dropgates/32/34206_2.png) [@dropgates](https://forums.realmacsoftware.com/u/dropgates)\
**Post date:** [September 11, 2018, 11:58pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/5 "2018-09-11T23:58:10Z")

</div>

@joeworkman What about Sitelok? I haven’t used it yet, but have been wanting to (forgive my ignorance). If we added for instance, 95240 and 95242 as a “member” and set up the user group as Lodi, CA, redirecting the login to the Lodi page. I’m not sure how the login is with Sitelok and if we can login w/o a password. Sounds like a lot of work, but we have plenty of time to get this completed.

I’m thinking Formloom with the right PHP could handle this too.

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [September 12, 2018, 5:24am UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/6 "2018-09-12T05:24:46Z")

</div>

Unless I am not understanding what you are trying to accomplish, I don’t see how Sitelok would be a good fit.

---

<div class="post-metadata">

**Author:** ![dropgates](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dropgates/32/34206_2.png) [@dropgates](https://forums.realmacsoftware.com/u/dropgates)\
**Post date:** [September 12, 2018, 5:49am UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/7 "2018-09-12T05:49:53Z")

</div>

I haven’t used SL yet but I’ll buy it this week and try it out to get a better understanding.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [October 12, 2018, 3:50pm UTC](https://forums.realmacsoftware.com/t/enter-zip-code-redirect-to-page/22212/8 "2018-10-12T15:50:01Z")

</div>

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