Removinf .html from url

hey guys
I need help. It will be hard to explain. When you go to the subpage ( mobile or another page) in URL there is no . HTML ( I have /mobile ) so this part is working just fine, but there is another issue. When I hover the mouse over a link in the bottom left of the page I’m getting a URL of the page with a .html extension. Does anyone know how to remove it? I have checked google I cannot find the solution.!

Just edit the page links and remove the .html

well I have found different way to do so, but now I’m having duplicate pages and ridirection. Its working but its not perfect.

I cant accurately comment on what I can’t see. You would do well to post your code on a Repo and provide the link to it here.

it’s doesn’t matter right now. It’s kind of working, but thanks anyway

Great job on sharing what you did (sigh)

I guess nobody can help fix it then.

I hope you tried to use an .htaccess file for this… (seems a pretty common solution)

Sponsor our Newsletter | Privacy Policy | Terms of Service