SEO cho trang web bằng link URL thân thiện không phải là nhân tố quan trọng quyết định vị trí xuất hiện trang web của bạn trong kết quả tìm kiếm. Tuy nhiên hiện nay có rất nhiều trang web áp dụng thủ thuật này và hầu như tất cả đều sử dụng tiêu đề bài viết đã loại bỏ dấu và các kí tự thừa để làm URL .
Thông thường khi viết bài trên Bo-Blog bạn phải tự điền vào dòng URL ảo một cách thủ công và đôi khi đều này làm bạn rất khó chịu . Nếu bạn sử dụng mã nguồn blog khác như Worldpress chẳng hạn thì những tính năng này được WP hỗ trợ sẵn, hầu như mọi thứ trên WP đều có plugin còn Bo-Blog thì không có. Đều này đã khiến không ít người sử dụng mã nguồn Bo-Blog phải từ bỏ trang web của mình để chuyển sang xây dựng trang web trên mã nguồn mới tiện lợi hơn. Tuy nhiên cũng không ít người quyết định gắn bó với mã nguồn này và luôn tìm cách cải tiến những tính năng sẵn có sao cho phù hợp, và tiện lợi hơn.
Cách đây vài tháng mình cũng từng cảm thấy khó chịu với việc điền URL ảo một cách thủ công nên đã thử tìm hiểu về JavaScript và nhận thấy sử dụng hàm JavaScript để tự điền URL ảo theo tiêu đề bài viết là một biện pháp tốt , rất phù hợp với Bo-Blog . Mình có viết một hàm lọc dấu chuỗi tiếng việt trong tiêu đề bài viết sau đó đưa vào URL ảo tuy nhiên lúc đó hàm viết còn hơi dài và còn một số lỗi nhỏ nên chỉ dám sử dụng trên blog của mình mà không share rộng rãi cho mọi người .
Hôm qua vừa viết lại hàm mới vừa ngắn gọn vừa khắc phục được nhưng lỗi còn tồn tại trước đây nên hôm nay quyết định post bài share cho các bạn có nhu cầu sử dụng . Hy vọng là cộng đồng Bo-Blog sẽ phát triển mạnh mẽ hơn trong tương lai.
1.Giới thiệu sơ sơ về hàm lọc dấu tiếng việt:hehe: :
– Tự động lấy tiêu đề bài viết đưa vào xử lý
– Chuyển tiêu đề bài viết sang chữ thường .
– Loại bỏ tất cả dấu tiếng việt trong chuỗi .
– Chuyển tất cả các kí tự đặc biệt sang kí tự – ( gạch ngang ).
– Loại bỏ các kí tự thừa ở đầu-giữa-cuối chuỗi.
– Cuối cùng tự động điền chuỗi đã xữ lý vào dòng URL ảo.
2. Cách sử dụng :
– Trước hết bạn cần download file: cp_edit.php ( đã thêm hàm lọc dấu, nhớ chọn cái nào phù hợp với sở thích của bạn ) giải nén sau đó upload vào thư mục admin của blog để sử dụng.
Sẽ có 3 dạng file cp_edit.php với tính năng tạo url ảo với cách thức khác nhau ( tất cả đều dùng cho phiên bản bo-blog 2.1.1 ):
* Loại 1
– Sau khi điền tiêu đề bài viết xong nếu muốn nó tự điền URL ảo bạn doubleclick ( bấm kép chuột trái ) vào ô nhập URL ảo thế là xong. Nếu muốn thêm bớt gì vào trong URL ảo thì bạn tự thêm vào ^^.
* Loại 2 – nên dùng loại này
– Gọi hàm bằng sự kiện onblur nên chỉ cần nhập tiêu đề bài viết xong chuyển đi chổ khác là nó tự điền url ảo nên sẽ tiện hơn doubleclick .
* Loại 3
– Loại này cũng gọi hàm bằng sự kiện onblur tuy nhiên có điểm khác biệt với 2 loại trên là: khi url ảo được tạo sẽ có thêm số thứ tự của bài viết ( hay còn gọi là id bài viết ) sau tên của tiêu đề bài viết nên sẽ không bao giờ trên blog của bạn xảy ra hiện tượng trùng lặp URL của 2 bài viết khác nhau. Rất thích hợp cho blog có số lượng bài viết lớn.
Ví dụ:
http://canthoit.info/tu-dong-dien-url-ao-tren-bo-blog-khi-viet-bai-t482/
hoặc http://canthoit.info/post/tu-dong-dien-url-ao-tren-bo-blog-khi-viet-bai-t482.php
Lưu ý: Để sử dụng được URL ảo bạn phải thiết lập chế độ tối ưu liên kết trên blog của bạn ( trong phần thiết lập blog: Tìm kiếm tối ưu kết nối và dĩ nhiên là host của bạn cần phải hổ trợ những tính năng này):
PHP based (Tối ưu hóa link liên kết thông qua file PHP)
hoặc
Chức năng rewrite link liên kết nâng cao cho Apache
Hello,
Club-Music download https://0daymusic.org MP3, FLAC, LIVESETS, Music Videos.
Team 0day
Hello,
New club music https://0daymusic.org
Download MP3/FLAC, Label, LIVESETS, Music Videos.
I want to to thank you for this very good read!! I certainly enjoyed every bit of it.
I have you book marked to check out new stuff you post…
If you are going for most excellent contents like myself, just pay a
quick visit this website all the time because it provides feature
contents, thanks
15 Interesting Facts About Pornstar That You Never Knew Only Fans
UK Onlyfans Pornstars: Myths And Facts Behind UK Onlyfans Pornstars
Uk Onlyfans Pornstars
A Reference To Best Local SEO Company From Start To Finish Seo uk Company
7 Things You’ve Never Learned About Double Glazing Companies Near Me double glazing companies near me
10 Things Everybody Hates About Double Glazed Near Me double glazing
near me (http://www.themcwars.org)
Is Your Company Responsible For The Audi Replacement Car Keys Budget?
12 Best Ways To Spend Your Money audi Key replacement cost uk
Why You Should Focus On Improving English Pornstars english pornstars
10 Healthy Habits For A Healthy Double Glazing Glass Replacement Near Me Repairs To Double Glazing Windows (Ferguson-Powell.Thoughtlanes.Net)
13 Things About Malpractice Lawyer You May Not Know Malpractice Attorney
Ten Things You Need To Learn About Fridges Deals
The Best Advice You’ll Ever Get About Audi A4 Car Key Replacement Replacement Audi A4 Key
Double Glazing Firms Near Me Isn’t As Difficult As You Think Installer
Why Nobody Cares About Wood Burners garden wood Burner
The Hidden Secrets Of Link Daftar Borneoslot Link Alternatif Borneoslot
A Help Guide To Top Pornstars Kayleigh Wanless From Beginning To End Onlyfans
How To Recognize The Audi Replacement Key Cost That’s Right For
You new audi keys
What Is Misted Double Glazing Repairs Near Me And Why You Should Consider
Misted Double Glazing Repairs Near Me misted double glazing repairs near me
What NOT To Do In The Most Famous Pornstars Industry most famous pornstars
Five Qualities That People Search For In Every Double
Glazed Units Near Me Replacement Double Glazed Units Near Me
Which Website To Research Work From Home Jobs Online Uk Online Work From home employment
Ten Easy Steps To Launch Your Own Double Glazed Windows Repair Near Me
Business double Glazed windows repair near me
5 Laws Anyone Working In Audi Key Replacement Should Be Aware Of repairing
How To Save Money On Asbestos asbestos
Why Is Double Glazed Units Near Me So Popular? misted
How Asbestos Lawyer Arose To Be The Top Trend In Social Media asbestos Legal
7 Things You Didn’t Know About Avon Oh So Soft so soft
20 Resources To Make You More Efficient With Lightest Automatic Folding Mobility Scooter auto
fold mobility scooter (Nell)
7 Practical Tips For Making The Most Of Your Repair Misted Double Glazing Near Me repair misted Double glazing Near me
Ten Apps To Help Manage Your Best Pornstars Website Playboy Model
What NOT To Do During The Fleshlight Toy Industry fleshlight Toy Men
10 Things We All Hate About Best Coffee Machine Bean-To-Cup espresso coffee machine bean to cup
20 Reasons Why Best Coffee Machine Pod Cannot Be Forgotten best commercial
coffee machine, Denis,
4 Dirty Little Tips About The Best Coffee Machine With Milk Frother Industry best coffee machine for cappuccino [Elton]
17 Reasons You Shouldn’t Beware Of Best Home Bean To
Cup Coffee Machine best All In one coffee machine
Najlepsza aplikacja do kontroli rodzicielskiej, aby chronić swoje dzieci – potajemnie tajny monitor GPS, SMS-y, połączenia, WhatsApp, Facebook, lokalizacja. Możesz zdalnie monitorować aktywność telefonu komórkowego po pobraniu i zainstalowaniu apk na telefonie docelowym.
The One Rabbit Vibrators Sex Toys Mistake That Every Beginning Rabbit Vibrators Sex
Toys User Makes Rabbit vibrators Sex Toy
These Are The Most Common Mistakes People Make Using Fleshlights fleshlight Sleeve
Ten Easy Steps To Launch Your Own Sex Machines Business buy sex machines – https://greenandultimate.Com.au,
10 Locations Where You Can Find Men Anal Toys Men Anal toys
7 Simple Tips For Rocking Your Fleshlight Butt cheap fleshlight for men
Why You Should Be Working With This Automatic Bean To Cup Coffee Machine bean to cup
automatic coffee machine (Tara)
Where Can You Find The Most Reliable Men Anal Toys Information? Men Anal
Toys (https://Maniac-Book.Ru)
A Guide To Male.Masturbator From Beginning
To End best male masturbator (Aracely)
Everything You Need To Know About Automatic Bean To Cup Coffee Machine bean to Cup espresso machines
11 Methods To Totally Defeat Your Men Masterbator best Male masturbator
Don’t Buy Into These “Trends” About Sex Machines For Sale sex machines shop
Rabbit Vibrators Uk Explained In Fewer Than 140 Characters rabbit vibrator for sale
How To Create An Awesome Instagram Video About Cheapest Rabbit
Vibrators Rabbit Vibrator
11 Strategies To Completely Redesign Your Womens Rabbit Vibrators Sex Toys rabbit vibrator
The Lesser-Known Benefits Of Vibrating Anal Toy anal toys (erlandsen-landry.blogbright.net)
How To Outsmart Your Boss In Rabbit Vibrators Uk
rabbit vibrators uk (https://telegra.ph)
7 Little Changes That Will Make A Big Difference With Your Sex Machine Online sex machine in my area
What’s The Reason You’re Failing At Cheapest
Anal Toy mens Anal toys
Jeśli masz wątpliwości co do działań swoich dzieci lub bezpieczeństwa ich rodziców, możesz włamać się do ich telefonów z Androidem z komputera lub urządzenia mobilnego, aby zapewnić im bezpieczeństwo. Nikt nie może monitorować przez całą dobę, ale istnieje profesjonalne oprogramowanie szpiegowskie, które może potajemnie monitorować działania telefonów z Androidem, nie informując ich o tym. https://www.xtmove.com/pl/how-to-hack-someones-android-phone-without-touching-it/
Don’t Stop! 15 Things About Commercial Bean To Cup Coffee Machine We’re Tired Of Hearing
bean to cup Coffee machine with automatic milk frother
The Fleshlight Sleeve Success Story You’ll Never Imagine
Fleshlight Pleasure
5 Tools That Everyone Working In The Cheap Fleshlight Industry Should Be Utilizing realistic Anal fleshlight
10 Life Lessons We Can Learn From Coffee Machines Bean best bean to cup coffee machine (Charlotte)
What Rabbit Vibrator For Sale Experts Want You To Know Rabbit Vibrator For sale
Why Everyone Is Talking About Fleshlight Masturbator Right Now Best Fleshlight In The World
10 Tell-Tale Signals You Need To Get A New Fleshlight Cleaning male masturbator fleshlight (abrams-watts.Blogbright.net)
The Best Advice You’ll Ever Receive About Masturbator Male Masturbators
8 Tips To Increase Your Sex Machine Game best Sex Machine
The Underrated Companies To In The Anal Toys Price Uk
Industry buy anal Toys
This Week’s Best Stories Concerning Coffee Beans Coffee Machine bean to cup offers; Gemma,
What Is Male Masturbation Toy? History Of Male Masturbation Toy male Masturbators best
The Ultimate Guide To Buy Sex Machines sex Machines For sale [punctual-peach-g3zm9h.mystrikingly.com]
What Will Cheapest Rabbit Vibrators Be Like In 100 Years?
uk
Ten Remote Control Anal Sex Toy That Will Actually Change Your
Life Anal Toys best
It’s The Ugly Truth About Fleshlight Toy automatic Fleshlight
How To Create An Awesome Instagram Video
About Buy Sex Machines Sex machine near Me
Ten Easy Steps To Launch The Business You Want To Start Men Anal Toys Business mens anal toy
5 Fleshlight Masturbator Projects For Any Budget Buying a fleshlight
This Is The Myths And Facts Behind Buy A Fleshlight realistic fleshlight (Houston)
20 Reasons Why Masturbation Toys Cannot Be Forgotten male masturbating toys
10 Pinterest Accounts To Follow Cheapest Rabbit Vibrator cheap Rabbit Vibrator
What Is Male.Masturbator And How To Utilize What Is Male.Masturbator And How
To Use Best Male masturbator
How The 10 Worst Sex Machine Store Fails Of All Time Could Have Been Prevented Sex machine shop, hougaard-Ballard.thoughtlanes.net,
10 Pinterest Accounts To Follow About Anal Sex Toys Uk
Vibrating Anal Toy
10 Tell-Tale Warning Signs You Need To Get A
New Masturbator For Men male masturbator (Benito)
The 12 Most Popular Sex Machine Price UK Accounts To Follow On Twitter Sex machines Store
Sex Machine For Sale Explained In Less Than 140 Characters
Buy Sex Machine
The One Rabbit Vibrators Sex Toys Mistake That Every Beginner Makes vibrators
5 Laws That Anyone Working In What Fleshlight Should Be Aware Of fleshlight best anal
5 Lessons You Can Learn From Remote Control Anal Sex Toy Amanda Toy Anal
10 Facts About Cheapest Anal Sex Toys That Make You
Feel Instantly Good Mood Remote Control Anal Toys
17 Reasons Why You Shouldn’t Avoid Male Masturbators Masturbators
9 Lessons Your Parents Teach You About Adult Toys Shop buy
Why You Should Concentrate On Improving Search Engine Optimization Services online
The Three Greatest Moments In What CSGO Cases Should I Open History case revolution (http://Isaevclub.ru/user/Tunastory5/)
11 Ways To Fully Defy Your CSGO Cases Highest Roi operation Phoenix weapon case
24 Hours For Improving CSGO Weapon Case Esports 2014 Summer Case (Bbs.Xinhaolian.Com)
7 Simple Tricks To Totally Doing The Search Engine Optimisation small
25 Unexpected Facts About CS GO Case Website Case Revolver
Buzzwords De-Buzzed: 10 More Methods To Say CSGO Opening
Case Sites case horizon; Louie,
How Why Are CSGO Skins Going Up In Price Became The Hottest Trend In 2023 Cs2 cases
The Ultimate Glossary Of Terms For Local Services Best Seo services
Three Greatest Moments In SEO Company Essex History Search Engine Optimisation
Responsible For The What CSGO Cases Have Butterfly Knives Budget?
12 Best Ways To Spend Your Money Operation riptide Case
How To Determine If You’re In The Right Place To CSGO Case New Clutch case
A Brief History Of Tiered Link Building Strategy History Of Tiered Link Building Strategy what is tiered link building
Some Of The Most Common Mistakes People Make With CSGO Most Profitable Cases riptide
case (Jimmie)
20 Myths About Best Cases To Open CSGO: Dispelled prisma Case
10 Things We All Hate About CSGO Cases New Operation Broken Fang Case
How To Get More Benefits With Your SEO Services Agency Best seo agency london
The Most Common Counter Strike Pc Debate Doesn’t Have
To Be As Black And White As You Think case shadow (Janice)
Why Search Engine Optimisation Still Matters In 2023 search engine optimisation company london
The No. Question That Everyone In CSGO Cases Ranked Needs To Know How To Answer Horizon Case
20 Things You Should Have To Ask About CSGO Cases Ranked Before
Buying It riptide Case (megashipping.ru)
What Is Everyone Talking About CSGO Case Battle Right Now Cs2 Case Opening
CS GO Cases Opening: What’s New? No One Is Discussing case spectrum (Pattern-wiki.win)
14 Businesses Doing A Superb Job At CSGO
Cases Ranked spectrum 2 case (Felipe)
9 Signs You’re An Expert CS GO Case Battles Expert case operation bravo (http://gdchuanxin.com/home.php?mod=space&uid=3198345)
5 People You Should Be Getting To Know In The Counter Strike Global Industry Case glove
The Main Issue With International SEO Agency, And How You Can Fix It price
25 Surprising Facts About What CSGO Cases Should I Open Falchion case
20 Myths About What CSGO Cases Have Butterfly Knives:
Dispelled Spectrum 2 Case
10 Tell-Tale Signs You Must See To Know Before You Buy
Ranking SEO Software Ranking seo Software
Fleshlight Sale Tips From The Most Effective In The Business best fleshlight in the World
13 Things About Best UK SEO Software You May Not Know Best Uk seo Software
How To Make An Amazing Instagram Video About Local SEO Experts Local Seo Service
10 Facts About Best CSGO Case Sites That Will Instantly Get You Into A
Great Mood Strike Global
10 Inspiring Images About CS Battle Case case glove
(https://Telegra.ph/)
The Reason The Biggest “Myths” Concerning What
CSGO Cases Have Butterfly Knives May Actually Be
Right Operation Riptide case
The Three Greatest Moments In Social SEO Software History social seo software
Do Not Forget Best CSGO Case Sites: 10 Reasons Why You Don’t
Really Need It skins
15 Undeniable Reasons To Love CSGO Battle Case winter offensive weapon case (Jodi)
20 Up-And-Comers To Watch In The CS GO New Cases Industry Chroma Case
14 Businesses Doing A Superb Job At Double Ring cock rings vibrating cock
The Ultimate Guide To CS GO Cases To Open case revolution
You Are Responsible For A Local SEO Agency Budget?
12 Top Notch Ways To Spend Your Money corporate
Wisdom On CSGO New Case From An Older Five-Year-Old
revolution case
10 Steps To Begin The Business Of Your Dream CSGO Skin Gambling Sites Business Open Cs2
Are CSGO Skin Sites Legit 101″The Ultimate Guide For Beginners Gloves Cases
The Top Reasons For Best Cases To Open CSGO’s Biggest “Myths” Concerning Best Cases To Open CSGO May Actually Be Right
Horizon case
Why King Cock Squirting Dildo Can Be Much
More Hazardous Than You Think squirt Dildos
20 Trailblazers Are Leading The Way In Local SEO Marketing Agency best seo agency in london [Colby]
The Reasons CS GO Weapon Case Could Be Your Next Big Obsession Operation Bravo Case
Ten Myths About Wordai Versus Article Rewriter That Aren’t Always
True what Is Wordai
What’s The Current Job Market For CS GO Cases Sites Professionals?
Cs Go
10 Key Factors On Best Masturbation Toy You Didn’t Learn At School Toys
Professional SEO Services: 11 Things You’re Leaving Out Local Seo
Services; Newjersey.Budtrader.Com,
10 Misconceptions Your Boss Shares Concerning CSGO Most Profitable Cases operation wildfire Case
Is Your Company Responsible For An CSGO Weapon Case Budget?
12 Ways To Spend Your Money esports 2014 summer case (bbs.lingshangkaihua.com)
The CSGO Cases To Invest In Success Story You’ll Never
Imagine danger zone case (Nannie)
What You Need To Do On This What Is Tier 2 Backlinks
Tier 2 backlinks
Why What CSGO Cases Should I Open Isn’t A Topic That People Are Interested In What CSGO Cases Should I Open shadow case [maps.google.ml]
The Most Hilarious Complaints We’ve Heard About CSGO Cases Explained Case horizon
Its History Of Tiered Linkbuilding Tier Link Building;
https://Jiang-Stanley.Technetbloggers.De,
Professional SEO Company London: 11 Thing You’re Forgetting To Do seo company Websites
10 Tell-Tale Signs You Need To Get A New CSGO Cases Highest Roi operation phoenix weapon case – Florine,
15 Latest Trends And Trends In Svakom Love Egg cheapest
7 Things About CSGO Skin Case Sites You’ll Kick Yourself For Not
Knowing case fracture (Ray)
What’s Everyone Talking About CSGO Cases History Right Now esports 2013 winter case
10 Wrong Answers To Common What CSGO Cases Should I Open Questions:
Do You Know The Right Answers? Falchion Case
Find Out More About Double Ended Dildo Uk When You Work
From At Home long Double Ended Dildo
How To Explain CSGO New Case To A 5-Year-Old Glove Case
The Complete List Of Search Engine Optimisation Dos And Don’ts
local Search optimisation
What To Focus On When Improving CSGO Cases New case Opening
SEO Digital Agency London Tips From The Top In The Business seo agency London
What’s Holding Back What’s Holding Back The CS GO Cases To Open Industry?
Snakebite Case
From All Over The Web 20 Amazing Infographics About Best CS GO Case Opening Sites spectrum case (valetinowiki.racing)
What Is Mouth Fleshlight And Why Is Everyone Dissing It?
best male fleshlights
15 . Things That Your Boss Wants You To Know About CSGO
Cases Value You Knew About CSGO Cases Value bravo
case (Jenni)
What Is Sex Toys For Clitoris And Why Is Everyone
Talking About It? Best Vibrator Uk
Sex Machines Online The Process Isn’t As Hard As You Think
Sex Machines In My Area
A Provocative Rant About CSGO Cases Ranked riptide case [Jayne]
See What Online Shopping Figures Uk Tricks The Celebs Are Using online shopping figures uk (Kurt)
CSGO Cases Value: It’s Not As Expensive As You Think Esports 2013 case (http://www.stes.tyc.edu.tw)
The Ultimate Glossary For Terms Related To Cheap
Rabbit Vibrators Cheap Rabbit vibrators
Are You Getting Tired Of Fleshlight Cleaning? 10 Inspirational Resources To Bring Back Your Passion buy
10 Top Books On Are CSGO Skin Sites Legit gaming
The Greatest Sources Of Inspiration Of Womens Rabbit Vibrator
Sex Toy rabbit vibrator sex Toy (maldonado-anderson.Technetbloggers.de)
The 10 Most Terrifying Things About Online Shopping Top 7 online Shopping Top 7