pinterduit blog logo Pinterduit.com

Platform ngeblog asli buatan lokal, menulis itu untuk melepas beban bukan untuk menambah beban







Home » Internet



SEO Friendly URL Using .htaccess

ERNDT • Internet • 6 Aug 2020 • 72 Dilihat • publish




Pinterduit.com - In this article i want to share you how to create seo friendly URL using .htaccess so you had pretty URL and good for SEO.

BAD URL FOR SEO

Here the sample of bad url for seo. Google didn't recomended using parameter in URL who want to be indexed. Here the sample of bad url for seo.

https://www.pinterduit.com/index.php?page=post&u=123


GOOD URL FOR SEO

And here the sample good url for seo.

https://www.pinterduit.com/post/123.html


CONVERT BAD URL TO GOOD URL USING HTACCESS

You can convert bad url using pretty url using .htaccess file. If you find problem to create htacess code manually , you can using online mod rewrite generate tools. generateit.com

And here sample .htaccess code.

RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?page=post&u=$1&title=$2 [L]





Artikel ini diterbitkan untuk Pinterduit.com dengan judul SEO Friendly URL Using .htaccess




Bagikan Artikel Ini
full html code

link

BB Code