espinosajuanma / juanma.ar

Juanma's personal website
0 stars 0 forks source link

Double redirections #1

Closed espinosajuanma closed 9 months ago

espinosajuanma commented 1 year ago

I noticed in the Network tab of the Developer Tools that sometimes navigating the website and the custom locales redirect makes two redirect at the same time.

Investigate if the reason could be a configuration issue and hyperlinks not using a trailing slash /.

espinosajuanma commented 1 year ago

With the latest update I noticed that navigation now it doesn't make extra redirections.

But it seems like the _redirects file configuration and going to the root still triggering two redirections instead of one.

Check if using quotes on that file works. Or consider using the netlify configuration file for redirects which I think it is a yaml file.

espinosajuanma commented 9 months ago

Fixed on hugo-migration branch