Make SEO Friendly or Clean Url in PHP using .htaccess

Поділитися
Вставка
  • Опубліковано 18 вер 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

  • @entertainmentarea5762
    @entertainmentarea5762 4 роки тому

    Thanks. I love 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?

  • @ICTBangladesh-mp6hr
    @ICTBangladesh-mp6hr 4 роки тому

    Thanks a lot, you are great.

  • @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...

  • @ManjuVinodVlogs
    @ManjuVinodVlogs 7 років тому

    I need this video... thanks buddy :)

    • @webslesson
      @webslesson  7 років тому +1

      Thankyou Vinod Verma, have a nice day!

  • @leessiloue7500
    @leessiloue7500 6 років тому

    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?

  • @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

  • @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

  • @palashmitra7311
    @palashmitra7311 8 років тому +2

    Please give the url of code.

  • @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?

  • @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

  • @kupkumral2793
    @kupkumral2793 4 роки тому

    You are great!

  • @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.