33: How to Remove the Page File Extension From the URL | Learn HTML & CSS | HTML Tutorial | mmtuts

preview_player
Показать описание
How to Remove the Page File Extension From the URL | Learn HTML & CSS | HTML Tutorial | mmtuts. In this HTML tutorial you will learn how to remove the page file extension from the URL of your website. To do this we will need to make changes to our .htaccess file, which I will show in debt how to create and do.

Lesson starts at: 2:44

Bellow is the code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Рекомендации по теме
Комментарии
Автор

" You don't just show them how to do it, but you also explain why- "

Exactly the reason why I love your channel!!

kings_grave
Автор

Youre a legend. Spent about an hour reading forums last night. and gave up. Today i tried youtube instead and found yours. Which was exactly what i wanted. Someone who actually explains what and why we're doing it.

Devt
Автор

Finally a simple solution that works. Too many "tutorials" out there with people who don't know what they're talking about.

mattwesolowski
Автор

Great video as usual man, I am learning more from your videos than I learned in school. I wanted to mention I followed everything exactly and still had an issue. When I was deleting the .html extension I was getting a 404 error that the page was not on the server. I found out this was because when I was saving my .htaccess file (which I created in notepadd++) It was being saved with a file extension of .txt . I had to delete that extension at the end in order for mine to work. I know you did not tell us to save with a file extension, but of course my editor made that decision for me so I figured I would comment about it just in case someone has the same issue.

karlkarlson
Автор

wasted my whole day on searching on google how to do this but when i searched on youtube you came up and your video is awesome you explained every single thing in this video, Thanks!!

Piyuush.
Автор

I think this is the first tutorial on the Internet which actually explains .htaccess. :) Back in the day I try to find tutorial which actually explains .htaccess, but I couldn't really find it.

stefan
Автор

This has been the missing piece of making multipage websites Ive been searching for for 2 years now. Thank you SO MUCH.

djdiablo
Автор

*Ultimately Mystery Revealed*
Lots of ❤ from *_INDIA_* 🇮🇳

ck
Автор

Thanks for explaining everything so thoroughly. Subscribed.

soniromanov
Автор

Here I was going to try putting another index.html in a separate folder, thanks!

Tubeytime
Автор

It works... thanks alot... YouTube can teach you everything...

codingkipathshala
Автор

Thanks! I also found that you can make a folder and put an index.html in it too. Example:

Files:

index.html
folder
|_ index.html

index.html:

<a href="folder"> Folder </a>

folder/index.html:

<label> This is in the folder file </label>

aregprograms
Автор

You are awesome man. You remotely helped me out and teach me so many things. Thank you.

rezadizaji
Автор

watched so many tutorials for this thing. but yours the best. fully understandable and detailed. love it 💖

sandarutharuneth
Автор

Basic things, easy stuff but extremely helpful! Thanks a ton!

kristiyanivanov
Автор

i 'm a D2Analyst & your code worked thank you!

ДокторУлыбка-эю
Автор

I know this is late but this is still on 2022 the only tutorial that works for people with little experience on web desing, i really aprecciate it

JuacoMmM
Автор

Explaining until the detail! very clear! i hope all channel programming like u. its make watcher more understand instead just copy and paste. GG!

iqronegoro
Автор

Thank you so much. You're the only one who has this tutorial online and you explained it well.

krabf_
Автор

Beautiful, well I used to just copy and paste code and I had no idea what was going on. I'm happy you took time to educate youtube

brianangeht
welcome to shbcf.ru