# Jekyll category and tag links add a "#" to the start of the folder name

**URL:** <https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143>\
**Category:** Help\
**Created:** [June 12, 2021, 12:25pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143 "2021-06-12T12:25:15Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottcodes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/scottcodes/32/3650_2.png) [@scottcodes](https://talk.jekyllrb.com/u/scottcodes)\
**Post date:** [June 12, 2021, 12:25pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/1 "2021-06-12T12:25:15Z")

</div>

Hi all, I’m a complete novice trying to build my first blog in Jekyll. I’m on Windows 10.

I have managed to follow some tutorials and have created a decent site by using a theme ([GitHub - zivhub/monophase: A one-column minimal responsive Jekyll blog theme](https://github.com/zivhub/monophase))

However, when creating pages for Categories and Tags, the links are broken. It seems that a # is being added to the beginning of the folder name.

For example the link for my misc category is shown as localhost:4000/#misc instead of localhost:4000/misc

I hope this all makes sense. And thank you in advance for your help! 🙂

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [June 12, 2021, 4:01pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/2 "2021-06-12T16:01:15Z")

</div>

can you post a link to your repo and or live site? or at least the code that you have?

---

<div class="post-metadata">

**Author:** ![scottcodes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/scottcodes/32/3650_2.png) [@scottcodes](https://talk.jekyllrb.com/u/scottcodes)\
**Post date:** [June 12, 2021, 5:04pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/3 "2021-06-12T17:04:00Z")

</div>

Thanks for your response rdyar. Here’s a link to my repository - [GitHub - scottcodes/blog](https://github.com/scottcodes/blog)

I’m guessing I must have done something wrong along the way as well, as it’s not appearing at all on Github Pages ([https://scottcodes.github.io/blog/](https://scottcodes.github.io/blog/)). But does seem to work somewhat on my localhost.

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [June 12, 2021, 9:14pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/4 "2021-06-12T21:14:03Z")

</div>

the link to your site is a blank page - did you change it?

---

<div class="post-metadata">

**Author:** ![scottcodes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/scottcodes/32/3650_2.png) [@scottcodes](https://talk.jekyllrb.com/u/scottcodes)\
**Post date:** [June 13, 2021, 1:16am UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/5 "2021-06-13T01:16:43Z")

</div>

Nope I didn’t change it. I’m reading that it may be because I used Ruby 3.0, and that’s not supported by Github Pages. ☹

I may have to start from the beginning again.

Is there a way to downgrade Ruby? I am on Windows 10.

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [June 13, 2021, 1:47am UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/6 "2021-06-13T01:47:16Z")

</div>

not sure, maybe uninstall and re-install.

But I’m not sure why that would effect GH pages.

Your whole site is a blank white screen for me. GH pages doesn’t support certain plugins, but the actual version of GH pages should not really matter I don’t think.

You don’t get an error when you do a commit?

I think I would try deleting the gemfile.lock.

---

<div class="post-metadata">

**Author:** ![scottcodes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/scottcodes/32/3650_2.png) [@scottcodes](https://talk.jekyllrb.com/u/scottcodes)\
**Post date:** [June 13, 2021, 9:24am UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/7 "2021-06-13T09:24:03Z")

</div>

I did not get an error during commit, and I tried to delete the gemfile.lock as suggested.

I then uninstalled ruby 3.0 and installed ruby 2.7.

All in all, I’ve decided to start from scratch again. I’m a total noob so I still have much more to learn I guess.

Gonna do more research and watch more tutorials. Thank you for your help @rdyar! 🙂

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [June 13, 2021, 9:29pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/8 "2021-06-13T21:29:43Z")

</div>

Ruby 3 is not the issue here.

GitHub Pages cares about locking Jekyll version and plugins and themes as mentioned above.

The single difference I had locally when upgrading to Ruby 3 was adding webrick to my Gemlock file.

Webrick is already in the GH pages environment (it actually ignores your lockfile, but it does enable plugins specified in `plugins` in the config)

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [June 13, 2021, 9:33pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/9 "2021-06-13T21:33:18Z")

</div>

Site looks fine to me after whatever you redid

> **[About](https://scottcodes.github.io/blog/about/)**
>
> Write an awesome description for your new site here. You can edit this line in \_config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.

Now that you have working base

If you use remote theme plugin, you can switch from minima to that theme you mentioned before.

> **[zivhub/monophase](https://github.com/zivhub/monophase#installation)**
>
> A one-column minimal responsive Jekyll blog theme. Contribute to zivhub/monophase development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![scottcodes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/scottcodes/32/3650_2.png) [@scottcodes](https://talk.jekyllrb.com/u/scottcodes)\
**Post date:** [June 14, 2021, 5:08am UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/10 "2021-06-14T05:08:24Z")

</div>

Hi @MichaelCurrin. Thanks for your response.

So, it looked fine and now it’s broken. lol. I’m not sure what happened. It still builds fine locally on [http://127.0.0.1:4000/blog/](http://127.0.0.1:4000/blog/)

I did not make any changes to the theme, it’s still the default one.

I have managed to make it forward on to the site I purchased, so **[https://scottcodes.github.io/blog/](https://scottcodes.github.io/blog/)** redirects to **[scottcodes.net](http://scottcodes.net)** just fine but the site itself is broken.

My repo is still - [GitHub - scottcodes/blog](https://github.com/scottcodes/blog)

Thank you in advance for your help. And sorry for the super newbie questions.

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [June 14, 2021, 5:48pm UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/11 "2021-06-14T17:48:10Z")

</div>

now you have a css problem because you no longer need the baseurl as you are using your own domain. So change the baseurl to be empty - like

`baseurl: ''`

and the css should work.

---

<div class="post-metadata">

**Author:** ![scottcodes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/scottcodes/32/3650_2.png) [@scottcodes](https://talk.jekyllrb.com/u/scottcodes)\
**Post date:** [June 15, 2021, 12:59am UTC](https://talk.jekyllrb.com/t/jekyll-category-and-tag-links-add-a-to-the-start-of-the-folder-name/6143/12 "2021-06-15T00:59:29Z")

</div>

Thank you so much @rdyar! That fixed it! 🙂
