How to Create Wordpress Pretty Permalink
Posted on November 5, 2008
By default, permalink in self-hosted wordpress is ugly and more important, not SEO friendly. It looks like http://fatihsyuhud.com/?p=22. The pretty permalink will look like this: http://fatihsyuhud.com/year/month/day/post-name. To transform the ugly one into a pretty permalink you need a little work-out. Fortunately an easy one as follows:
1. Create a notepad blank file. Name it 1.htaccess
2. Upload it into your main directory in the control panel usually in folder ../public_html/(upload file here). Using FTP is a lot better. If you still don’t have FTP, download Filezilla for free here.
3. Rename the file already uploaded into .htaccess. (If using FTP you just need to right click -> rename -> .htacess
4. Change the attribute of the file (again using FTP) by right-click -> File attributes -> make it 666 -> OK.
5. Now, login to your self-hosted wordpress admin.
6. Click Setting -> Permalinks -> Day and Name -> check it.
7. Save changes. Done.
Note:
Actually there are some other options of permalink structure other than the pretty permalink above. Those are:
- Numeric: Example, http://fatihsyuhud.com/archives/123. Just check the numeric and Save Change.
- Custom, you can determine your own style here. But most SEO expert recommend to use a category based permalink such as http://fatihsyuhud.com/category/postname. For example, I wanted to put a category named “sexy-girl” or “dating” as my category based permalink, the whole structure will be like this: http://fatihsyuhud.com/sexy-girl/postname or http://fatihsyuhud.com/dating/postname . In order to make this kind of permalink structure, simply check the “Custom, specify below” and put this code in the blank box: /your-category/%postname% Don’t forget to save the change.
You should have a pretty permalinks of your choosing by now. Further reading.
Problem and Solution: Use Permalink Migration Plugin
In case you have used the ugly permalink for so long (have been indexed by google) and fearful that when you renew the parmalink you’ll lost your “mojo” (meaning, google juice), fear not. The problem has been resolved by Permalink Migration Plugin:
But doing so [i.e. changing permalinks) will make all pages indexed by search engines become invalid,moreover, losing visitors from other sites or bookmarks that links to you.
There is a way to tell the search engines (and browsers) that the page has permenantly moved, and that the old address should be replaced by the new one . It’s called a “301 Redirect”, also known as a Permanent Redirect.When you do this, Search engines will update their indexes quickly and you won’t lose your pagerank.you will continue to receive traffic as though nothing had changed. This works for search engines, bookmarks, and links from other sites.
By now, you know how can you change your permalinks without losing the traffic you’re already getting. You can download this Permalink Migration Plugin to achieve this for you.
Download the permalink migration plugin for free here. Follow the installation tutorial here.
Filed Under Blogger Indonesia Tags: blog tutorial, blogger tutorial, how to, pretty link, ugly link, wordpress permalink, wordpress tutorial
Subscribe Blogger Indonesia by Email through Feedburner or Feedblitz newsletter!!












Lebih SEO frienly nih tipsnya
Setahu saya wordpress otomatis membuat file .htaccess kalo kita mengaktifkan permalink jadi seperti itu. Jadi nggak perlu upload file .htaccess
Mungkin saya salah. Tapi berkali-kali saya install wordpress di blog online maupun offline dirumah file itu langsung otomatis ada.
#Anda benar kalo .htaccess yg ada dah di chmod ke 666. tapi kalo belum–dan umumnya belum dichmod 666–maka langkah di atas yg paling praktis. silahkan baca link ‘further reading’ di atas.
@masfatih/admin: iya bang sepakat saya.. memang kalau ga di chmod dulu ya akan eror kalau kita melakukan permalink dan hal itu sering saya alami ketika lupa chmod.
there is a better permalink sceme such as fatihsyuhud.com/post-name, can you show me how to create?
#the howto is the same: just check “Custom structure” and make any kind of link structure in the blank box e.g fatihsyuhud.com/post-name.
Mas Fatih,
I never insert year-month-day in my permalink. Date information is not particularly important for my blog.
It’s a good idea to replacing them with keyword rich tags such as %postname% and %category%, which makes my links more search engine friendly.
My favorite permalink structure:
http://example.com/category/post-name/
Owh, masalah file access yaa..
ow… gitu ya mas??? baru paham aku
Thank about your tips
waduh br nyadar ne kalo permalink yg bagus kyk gt.. tp blogku udah terlanjur di crawl ama google, jd kalo permalink dirubah bisa berabe ntar…
Cak, I was just about to email you re. your help offer to create the pretty link and you’ve already posted it. Thanks a lot!
I started using WP from version 2.5 and it already has this kind of option….
but nice tips, thanks
Apakah tidak berpengaruh pada halaman yang sudah terindex di Google ?
Simple, mudah lagi..
thx, Bang.
Unfortunately, this is for self-hosted only
Banyak blog lowongan kerjanya yah mas ?
lowongankerjas itu top buanget deh
Sukses selalu deh…
Salam,
sesama blogger
kalo saya gak ngerti apa itu htaccess mas!
biasanya langsung dari chmod
emang bener ….

klo file .htaccess ketika di buat di server lebih susah privlagenya
lbh gampang buat di kompi ndiri lalu upload
like my site now
Saya sudah ganti permalinknya sejak pertama install wp, format tahun bulang tanggal sangat informatif, terutama ketika ditampilkan di search engine, tapi banyak jg yang senang dengan format kategori/post. Bisa juga loh langsung di set up menggunakan permalink migration plug-in.
yaa, saya pake bawaan wp aja tinggal di chmod ke 666
selesai kan
I still have problem in my client blog, I had already htt access, when i was editing it, this comment came “edit your htt access, what happen?.
#just follow the steps given above. it’ll be ok.
SEO bangetzzzz….
tembak keyword
Ass, wr, wb.
Baru beberapa hari sy bkn blog, memang agak rumi. Aplgi tdk didukung skill yg ckp dibdng ini. Untung sy ktmu webnya Mas. Fatih, jadi ada semacam pencerahan. Trm ksh Mas atas Tutor2nya.
Wassallam.
I like this one then others
http://domain.com/post-name/
Abang Fatih Syuhud, salam kenal…
Saya hendak membuat daftar Recent Comments seperti yang di web site abang ini bagaimana caranya ya?
Kalau bisa sih listnya menjadi daftar ke bawah, misalnya;
Anang di Blablabla
Beni di Bliblibli
Candra di Chachacha
tapi tetap dengan url si pemberi komen pada nama dan url posting pada judul posting.
Terima kasih.
Thanks for your info
Mas fatih,,,,kalo enggak salah kalo filenya blank hilang lagi deh,,,dihapus otomatis sama hostingnya,,,soalnya file blank enggak ada isinya…
Terimakasih tipsnya, sdh tak praktekkan nih
belum update rupanya
belum bisa praktek nih mas.
Thx for your tips to make my permalinks more pretty and more friendly in SEO,,
I have added your blog into my blog link so i hope you will do same as me as soon as possible thx be4 and happy blogging….
terima kasih di atas setiap tunjuk ajar saudara
Wah sangat SEO sekali mas, thanks berat ya
Kalo di WP dot Com kan gak perlu otak atik kayak gituan kan bang? Semua dah diatur ma Wordpress.com kan ?
#iya. gak perlu otak2 permalink. ini khusus bagi yg self-hosted
Mas Fatih kan di Customize Permalink Structure wordpressnya dah ada wp-admin/options-permalink.php….apa saya yang salah
#ada. tapi gak bisa jalan tanpa .htaccess disetting 666
Nice tutorial for wp, I still use the basic permalink for wp that include category and title after link it self.
nice tutorial bro .. very simple
info bagus neh cak, pertanyaan selanjutnya.. jika ditengah jalan kita mengubah struktur permalink ini, apakah kita akan kehilangan backlink yg sudah kita bangun? secara logika demikian, jd jika ini diterapkan pada blog yg sudah punya banyak backlink akan sangat merugikan. apakah benar demikian? mohon pencerahan, dhe’remmah?
#pertanyaannya dah terjawab di akhir tulisan tuh. pakai plugin permalink migration.
wah ini dia yang di tunggu-tunggu…. oke banget tipsnya sangat bermanfaat … thank’s bos …
Easy Tips but very important for SEO, thanks for all
Bagus sekali tipsnya, thanks
nice tips
wah gue baru tau kalo wordpress.com ternyata permalinknya kyk gitu. Kirain bisa diset sendiri dgn klak-klik doank kyk yg domain sendiri
Nice news. Good side.
sampeyan
Terima Kasih Artikelnya mas, buat nambah pengetahuan
Untuk anda yang ingin membeli segala kebutuhan anda, kunjungi
http://www.bordnet.co.cc
makaci infonya bos
masju terus para blogers
sukses selalu
langsung praktek aja ah
It’s funny that you are encouraging SEO, and yet you have a spam list below under “Related Search:”. I’m not sure how well that works. ‘dating’ is a related search?
Yang buat blogspot ada ga mas?
Thanks,for sharing.
Thanks infonya tentang migration permalink. Izin tkp dulu
In Wordpress, a permalink is important. Therefore, if it can be seen prettier, the blog can automatically have better performance.
Nice tip, will try it ASAP.