Make SEO Friendly or Clean Url in PHP using .htaccess

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • In this video we going to learn how to create semantic or pretty url in php using .htaccess file. SEO Friendly Url is most important in SEO, it will help in increase presence on search engine, fast indexing our content and increase ranking on search engine. So, Clean slug urls are very useful for our website. For Source Code - www.webslesson....

Комментарии • 29

  • @AbhishekPandeyPoetry
    @AbhishekPandeyPoetry 4 года назад

    Out of all the other videos I watched for 4 hours...This one worked...But if you have an external stylesheet or JS then you have to add a bad tag in the head section of the page like this...

  • @onomebass3439
    @onomebass3439 8 лет назад

    its working now. i did not save the text file as All files, under files type. thank you sir.

  • @expense-moneytracking6577
    @expense-moneytracking6577 5 лет назад +1

    Thanks for your tutorial video. In this case, if we insert the same post title, it will generate the same seo url. If possible, can you show how to do a unique seo url link for the same post title?

  • @pedramzandiyani6592
    @pedramzandiyani6592 3 года назад

    thanks. but if we have two or more folder forexample post folder, brands folder, ... how we can have multi RewriteRule?

  • @emmanueluzor3183
    @emmanueluzor3183 5 лет назад

    my question is, if i have a page with products displayed in a table with links for delete, edit, viewproduct like(example: viewproduct.php?id=$7), how will i set the url to be seo friendly.
    because i don't want people to see the server side id values on clicking the viewproduct or edit product link

  • @leessiloue7500
    @leessiloue7500 7 лет назад

    Tutorials with voice, even if generated by a text reader, are better than background music. But be careful how you write your voice script to avoid garbling like in 6:34.
    BTW, what software did you use?

  • @entertainmentarea5762
    @entertainmentarea5762 4 года назад

    Thanks. I love this

  • @ICTBangladesh-mp6hr
    @ICTBangladesh-mp6hr 4 года назад

    Thanks a lot, you are great.

  • @hariomnagar5606
    @hariomnagar5606 5 лет назад

    It's working well but my local included style.css is not working it not get right path can you plese help me

  • @AmitSharma-gr6kb
    @AmitSharma-gr6kb 5 лет назад

    Sir please tell me if I go for details page through title and I want title as URL without detail-page.php then what will I do for .....for ex. I am on blog.php page which have dynamic link like blog-detail.php? title= And I want to show title only in URL ...... please sir tell me

    • @AmitSharma-gr6kb
      @AmitSharma-gr6kb 5 лет назад

      If anyone have solution for that please send me on sharmajiamit331@gmail.com thanks in advance 😊

  • @Onomebaro
    @Onomebaro 8 лет назад

    i have gone through your lesson several times, but always end up with a object not found error when i tried to implement the $slug function. the url cleans up fine, the the page does not load. can you help with this?

    • @webslesson
      @webslesson  8 лет назад

      have you enable apache rewrite module in your localhost?

  • @ManjuVinodVlogs
    @ManjuVinodVlogs 7 лет назад

    I need this video... thanks buddy :)

    • @webslesson
      @webslesson  7 лет назад +1

      Thankyou Vinod Verma, have a nice day!

  • @kupkumral2793
    @kupkumral2793 4 года назад

    You are great!

  • @newvemo
    @newvemo 6 лет назад

    when I click on the first link the contents get loaded, but when I click another link in the same page which shares the same RewriteRule, the link of the second gets added to the first link and no changes I get, Help me solve this problem please
    First click
    localhost/mazoezi/article/9/Event
    second click on another link
    localhost/mazoezi/article/9/article/11/Event
    my .htaccess file
    RewriteEngine On
    RewriteRule ^article/([0-9]+)/([0-9a-zA-Z]+) index.php?id=$1&type=$2

  • @palashmitra7311
    @palashmitra7311 8 лет назад +2

    Please give the url of code.

  • @yinkasaka
    @yinkasaka 7 лет назад

    How do i update the post_url when i am updating the content

  • @mrmojorisin9068
    @mrmojorisin9068 3 года назад +1

    lol this ural is not see-o friennnndly!

  • @GetSeriousMedia
    @GetSeriousMedia 7 лет назад

    you seriously have to have a code depository. I have an error that won't go away

  • @wnedoe
    @wnedoe 3 года назад

    The mechanical voice is pretty awful. Please find someone who will talk if you are not able to do it by yourself.

  • @mattmattelig
    @mattmattelig 8 лет назад +4

    this is absolutely ridiculous to have a text reader explaining what is being done while building code. thumbs down on this.