I can't make redirects happen. I have read, I have tried and it did not work

Hello everyone !

So…I have been trying to do de redirects as the Netlify page and community says but I am stuck not making it happen…
My intention is to remove the .HTML extension from the URL

I normally drop the folder on the deploys page…if you need to know.

This is my file.

for root

/*              /index.html     200
/404/*      /404.html   200
/material-ui-color-picker/*      /material-ui-color-picker.html   200
/color-code-converter/*         /color-code-converter.html   200
/color-contrast/*      /color-contrast.html   200
/resources-for-designers/*      /resources-for-designers.html   200
/resources-for-developers/*      /resources-for-developers.html   200
/css-gradient-patterns/*      /css-gradient-patterns.html   200
/css-gradients/*      /css-gradients.html   200
/index/*      /index.html   200
/font-pairings/*      /font-pairings.html   200
/legal/*      /legal.html   200
/markdown/*      /markdown.html   200
/html-reference/*      /html-reference.html   200
/newsletter/*      /newsletter.html   200
/color-palettes/*        /color-palettes.html     200
/css-reference/*      /css-reference.html   200
/sponsors/*      /sponsors.html   200
/tailwind-color-picker/*      /tailwind-color-picker.html   200
/variable-fonts/*      /variable-font.html   200
/glyphs/*      /glyphs.html   200

Any idea how to take care of this?

If you need to look at the site is this.

Thank you so much in advance really appreciate

hi there, are the redirects being processed?

and i realize you mentioned you have already been doing some reading, but i’m not sure if you saw this big guide on redirects?

if not, please post again, and we’ll try and troubleshoot.

@michael-andreuzza Maybe I don’t understand what you’re trying to do, but it seems to me that you have things exactly backwards.

If you want /about.html to display as /about, then you don’t want redirects (which don’t do this), you want Pretty URLs in the Asset Optimization section of the Build & Deploy section in your Netlify dashboard.

It sounds as though what you should do is have – for example – /sponsors/index.html instead of /sponsors.html. When visitors hit this page, it would display in the URL field as /sponsors.

1 Like

Hey,
I have not seen this. all I had to do was click on prettify the urls…

Thank you so much.

Hey,
I have not seen this. all I had to do was click on prettify URLs. Actually I did not thank you so much

Thank you so much.