# Redirect to a page in subdirectory

**URL:** <https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554>\
**Category:** RapidWeaver Classic\
**Created:** [June 27, 2019, 1:43pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554 "2019-06-27T13:43:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobMustard](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RobMustard](https://forums.realmacsoftware.com/u/RobMustard)\
**Post date:** [June 27, 2019, 1:43pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/1 "2019-06-27T13:43:46Z")

</div>

Hi, Rapidweavers! I’ve created a new Stacks page under a previously-existing Stacks page. This new page resides in the directory “Water”, which is located under the previous directory “styled-4”. (Yes, I know I need to rename all of those default names for SEO benefits – I’ll get to that soon!)  
I’d like my users to be able to go to the new stuff simply by typing in the URL “[highlands55.org/water](http://highlands55.org/water)”. Unfortunately, with the new page under the old directory, they’d have to type in “[highlands55.org/styled-4/water](http://highlands55.org/styled-4/water)”.

How can I “skip” that gibberish directory name? What kind of little HTML page do I need to create under a new “water” sub-directory under the root? Can this simply be coded into htaccess somehow?

For what it’s worth, I’m hosting the site under GoDaddy. Thanks in advance, folks!

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [June 27, 2019, 2:02pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/2 "2019-06-27T14:02:13Z")

</div>

If you want the new page “water” to be off the root of the website, why not move that page to the main level of pages? I don’t follow why it’s under “styled-4”, if it’s not a sub-section of it.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [June 27, 2019, 2:14pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/3 "2019-06-27T14:14:33Z")

</div>

Not at my Mac right now but you should be able to use an absolute path fo the folder name. Just start the name with a `/`.  
So try changing the folder name to

```auto
/water

```

---

<div class="post-metadata">

**Author:** ![RobMustard](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RobMustard](https://forums.realmacsoftware.com/u/RobMustard)\
**Post date:** [June 27, 2019, 2:32pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/4 "2019-06-27T14:32:30Z")

</div>

Hello, Don. Thanks – and that definitely works, but the water “topic” fits better under that existing sub-menu. I’m reluctant to add yet another top-level page, because things are getting cluttered in the navigation area! That’s why I’d rather have the “water” directory placed within the existing directory path, but accessible independently.

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [June 27, 2019, 3:09pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/5 "2019-06-27T15:09:26Z")

</div>

Doug (@teefers) solution will work.

That said, search engines use the path (folders) to aid them in understanding the site structure and the relationship between content. Having “water” be a sub-folder of the other page may work better for SEO.

---

<div class="post-metadata">

**Author:** ![RobMustard](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RobMustard](https://forums.realmacsoftware.com/u/RobMustard)\
**Post date:** [June 27, 2019, 3:10pm UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/6 "2019-06-27T15:10:16Z")

</div>

Hi, Doug. Holy smokes, that did it!!! I’d set the directory to “water” in the General Settings for that new page, but that only placed the new directory under the existing directory for the old navigation path. Adding the “/” forced the water directory to the root, AND IT WORKED!!  
This is brilliant! Those little HTML things that those of us without formal training (or much experience) never learned…  
Thank you, Doug.

---

<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:** [July 28, 2019, 1:10am UTC](https://forums.realmacsoftware.com/t/redirect-to-a-page-in-subdirectory/27554/7 "2019-07-28T01:10:19Z")

</div>

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