# Links missing the "index.html"

**URL:** <https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622>\
**Category:** RapidWeaver Classic\
**Created:** [January 6, 2021, 12:43pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622 "2021-01-06T12:43:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RemekTek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/remektek/32/21448_2.png) [@RemekTek](https://forums.realmacsoftware.com/u/RemekTek)\
**Post date:** [January 6, 2021, 12:43pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/1 "2021-01-06T12:43:23Z")

</div>

Just created my 1st site locally. I publish to a local folder. The site opens ok, however NONE of the links work, as they open Finder on the folder instead of opening in the web browser.

Looking at the code I see that the href tag entries do NOT have the “index.html” part at the end!

This is a Stacks created website. What am I doing wrong?

Thanks in advance,  
Paul

---

<div class="post-metadata">

**Author:** ![Pyrobrit](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pyrobrit/32/14665_2.png) [@Pyrobrit](https://forums.realmacsoftware.com/u/Pyrobrit)\
**Post date:** [January 6, 2021, 12:50pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/2 "2021-01-06T12:50:26Z")

</div>

href tags do not require the index.html or index.php files on the end. The web browser will automatically try for the default file which is index.html and if not found will present index.php.

Actually the server can be told what files to present first so it’s not quite black and white but that’s the simple explanation.

You mention that finder pops up which to me says the href is a folder or drive reference on your workstation and not a line of cade that would start https://the\_name\_of\_your\_website

Can you display the code for us?

---

<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:** [January 6, 2021, 2:04pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/3 "2021-01-06T14:04:57Z")

</div>

> [@RemekTek](#):
>
> I publish to a local folder. The site opens ok, however NONE of the links work, as they open Finder on the folder instead of opening in the web browser.

Modern Web pages like what RapidWeaver creates made to be served by a webserver.

Trying to view the pages locally will create problems like links not working, no PHP support, and more.

Rapidweaver has a built-in web server that allows you to preview your site on pretty much any browser installed on your Mac. Just right-click on page and select the preview with option. That will run a web server and open a fully functional page in the browser.

The cause of the navigation issue is the tidy links option. This can be turned off in advanced settings. That will add the `index.html` Back to the links.

---

<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:** [January 6, 2021, 2:09pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/4 "2021-01-06T14:09:55Z")

</div>

More information on this post

> [@Mac finder window keeps opening up from a link](http://forums.realmacsoftware.com/t/mac-finder-window-keeps-opening-up-from-a-link/36299/3):
>
> Mike (@Proxima), Default settings picked by developers to make producing the best results for most of the users of a product. I see no shame in the default value, having tidy links turned on. This feature works fantastic for 99.9% of users. It reduces the URL size, making external links shorter, and that can help with search engine optimization along with increasing conversion rates. RealMac designed RapidWeaver to produce modern web pages. You need a web server to serve modern web pages…

---

<div class="post-metadata">

**Author:** ![RemekTek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/remektek/32/21448_2.png) [@RemekTek](https://forums.realmacsoftware.com/u/RemekTek)\
**Post date:** [January 6, 2021, 8:11pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/5 "2021-01-06T20:11:07Z")

</div>

Thank you for coming to my rescue. I will put the files up on a server to try that out.

Tried on my local Synology NAS web server and it worked.

What are the benefits of the “Tidy Website Links” setting? Surely the few characters that make up “index.html” do not slow down page requests, so is not having them a more secure option?

---

<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:** [January 6, 2021, 9:05pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/6 "2021-01-06T21:05:51Z")

</div>

Have a look at the post I linked to:

> [@Mac finder window keeps opening up from a link](https://forums.realmacsoftware.com/t/mac-finder-window-keeps-opening-up-from-a-link/36299/3):
>
> It reduces the URL size, making external links shorter, and that can help with search engine optimization along with increasing conversion rates.

---

<div class="post-metadata">

**Author:** ![RemekTek](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/remektek/32/21448_2.png) [@RemekTek](https://forums.realmacsoftware.com/u/RemekTek)\
**Post date:** [January 6, 2021, 11:48pm UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/7 "2021-01-06T23:48:54Z")

</div>

Interesting. Thanks for your help. I must admit I was surprised to read that saving 10 character in a link is significant, but I live and learn (live more than learn, LOL).

---

<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:** [February 6, 2021, 9:48am UTC](https://forums.realmacsoftware.com/t/links-missing-the-index-html/36622/8 "2021-02-06T09:48:56Z")

</div>

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