Routing Question for Home Page

I followed this tutorial and it is pretty straight forward.

How do I set a route for the home page though? The tutorial only shows secondary pages. I’m sure it’s something obvious I just can’t get my head around and it’s too early in the day to start drinking beer so I thought I’d ask here. :wink:

I use /home for the route and index.php for the page. I have a second route with just / and index.php as well.

2 Likes

It’s already beer time here :slight_smile:
You can just add / as a path for your homepage and link to index.html(.pjp)

2 Likes

Hmmm, I think I tried that. I will try again. Beer time can’t come soon enough. lol

Thanks

1 Like

Good lordy. That was too obvious. I see what I was doing wrong. I feel kinda dumb now. lol

1 Like

@brad, not at all !

Would you like to see my spelling mistakes I have posted here that caused me errors? lol :smile:

2 Likes

Great to hear everything is fine now Brad, cheers with a nice west coast IPA :slight_smile:

1 Like