URL filtering is important: everyone from marketers to search engines loves nice, text-rich URLs. If you want to create keyword-rich URLs based on your dynamic content then you need to clean and filter the source text first. Here is a handy function that will generate text very much like WordPress slugs… You can use this pretty much anywhere. I’ve used it mostly in tagging systems, and in code that creates permalinks based on post titles or taxonomy terms. (more…)
Archives For June 2013
Hey welcome to GoLearnPHP.com. This is going to be a place where I share information to help other people write great PHP code. If you are already a PHP programmer don’t let the ‘learn’ part put you off: I will be getting into some advanced techniques as well as tutorials for the beginner. Anyway feel free to add your comments and kick in with ideas and corrections!