Semantic URL htaccess Tutorial SEO Friendly Clean Links Rewrite

preview_player
Показать описание
In this video exercise we demonstrate rewriting Semantic URLs with htaccess for improved SEO and improved user experience. They are sometimes called Clean URLs, SEO friendly links, or Pretty URLs. My hope is to pass along enough insight into how it works so that everyone can customize all of their own clean URLs by themselves, no matter how many variables the system needs to take in from the URL.
Рекомендации по теме
Комментарии
Автор

If you lose the linkage to your images, css, js or any external files... read this below:
That happens when we use relative paths to resources in our page.
Change:
images/1.jpg
to
/images/1.jpg
Add / before the relative path to the external resources that seem to have disappeared. What that does is makes the path absolute instead of relative, meaning the file can access the resources like normal. It behaves that way because those rewrite directories do not actually exist on the server so the file has trouble finding the relatively linked to resource. Or use the full absolute URL path to the external resource the page is linking to.

AdamKhoury
Автор

Sounds crazy, but this is the first time I found a tutorial that actually made sense for rewriterule

PaulIshak
Автор

Adam, You might not remember me I used to be your top responder on your old forums, Just like to mention this is the only tutorial on the internet that could teach me this. It's easier than I thought but everyone else couldn't explain it very well.

BrodeySheppard
Автор

You've literally made a solution video for every single problem that I face while I'm coding. Thanks Adam

MrSachinRawat
Автор

I found you once years ago and then I lost you. Now I found you again. Thank God! You're the best ever Adam. This world needs someone who flat out tells you how to do something and you do it in a way that anyone can understand. I hope you never ever stop making videos man. You are a blessing.

ventures
Автор

This is the best Apache tutorial on Earth. 24 hours and 100+ sites prior, amounted to confusion and frustration. Great job Adam! You're bookmarked in my php favourites but I didn't realise you did Apache until I stumbled across this most excellent tutorial.

andrewbowers_
Автор

Adam - I have been following you for roughly 5 years now. Your content is always amazing. After a few months of daily programming grinding at work, I haven't really had the need to do much code research. Just today, I was looking into delving into this subject and just did a google search. After going through 3 tutorials that all did not work, I found yours (should have went to DevPHP first) and got it to work right away. You are truly amazing. Thank you for all that you do for the community!

randycarroll
Автор

Incredible & detailed tutorial! Thank you for really taking the effort in explaining everything from start to finish as I've seen other tutorials that weren't as informative and that ended up resulting in errors! Kudos

antoniolima
Автор

I was researching this a couple of days ago... now I don't have to anymore.
Thank you for making this awesome video :)

AyoubHD
Автор

This is the best explanation of this that I have ever found! Every little detail that I had questions about was answered. Thank you so much!

minisgallery
Автор

Nice one! Just a quick tip:
When saving with notepad, choose UTF-8 encoding and not the default ANSI encoding.. ;)

Peshyy
Автор

Hi from South Africa. Adam, I can't thank you enough for this video! I've been struggling with this for over 2 years and finally someone (you) explained so I can understand! Again thank you so much!

consolefixology
Автор

شكرا يا ادم شرح بسيط و ممتاز انت الرجل المناسب في المكان المناسب و مزاياك علينا كثيرة !!!!

hanachimohamed
Автор

i was trying things out for hours until i came up here, thanks! you explained everything really calm and easy thnx man!

ilovestacks
Автор

4 hours of searching u made it super simple....

hinaqaisar
Автор

Are you reading my mind? When I think I got to learn something you post a video about it. Thank you very much for that. =D

RodrigoLimaBatista
Автор

Still an amazing tutorial after so many years! Thanks mate

BlackRecluse
Автор

The perfect tutorial. Short but complete and very clear. On point 👍

GoranKraljevicKoehlerAribeca
Автор

Really great video, you make me understand, at least at the most part, how htaccess works!

johntsimgr
Автор

YOU'RE THE BEST ADAM.. YOU SAVED ME $300 OF CUSTOMIZATION MONEY.. GOD BLESS YOU

Raphealokonkwo