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....
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...
its working now. i did not save the text file as All files, under files type. thank you sir.
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?
thanks. but if we have two or more folder forexample post folder, brands folder, ... how we can have multi RewriteRule?
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
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?
Thanks. I love this
Thanks a lot, you are great.
It's working well but my local included style.css is not working it not get right path can you plese help me
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
If anyone have solution for that please send me on sharmajiamit331@gmail.com thanks in advance 😊
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?
have you enable apache rewrite module in your localhost?
I need this video... thanks buddy :)
Thankyou Vinod Verma, have a nice day!
You are great!
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
Please give the url of code.
How do i update the post_url when i am updating the content
lol this ural is not see-o friennnndly!
you seriously have to have a code depository. I have an error that won't go away
The mechanical voice is pretty awful. Please find someone who will talk if you are not able to do it by yourself.
this is absolutely ridiculous to have a text reader explaining what is being done while building code. thumbs down on this.
OK.