harlan-zw / nuxt-seo

The complete SEO solution for Nuxt.

Home Page:https://nuxtseo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default Trailing Slash Behavior

jpengelbrecht opened this issue · comments

Describe the bug

if a link ends in .html, it makes .html/. which breaks it.
image

i dont think you should force external links to use trailing /. for instance https://myaccount.google.com/permissions/ is invalid for there server where https://myaccount.google.com/permissions so not.

Reproduction

No response

System / Nuxt Info

No response

looking at the code is see you just used the new nuxt experimental nuxtlink,
image

however now users cannot opt out of this entirely even though its still very experimental, thus the bugs

The bug is within the NuxtLink itself which isn't experimental. So it's an upstream issue that I already have a pr in progress for nuxt/nuxt#25435

@harlan-zw I meant trailingSlash option in NuxtLink is still experimental. Its still under the experimental object

I've made an issue for the upstream bug here nuxt/nuxt#25532 (comment)

Will revert the original change for RC 6