I would like to remove the category & tag base from wordpress URL. I have come across other posts and solutions which used plugins. I would like to stay away from plugins and have a solution from within functions.php. This would prevent any future plugin updates or wordpress default files from being changed.
Any help would be appreciated. Thanks!
I have tried these solutions so far:
- This Htaccess solution did not work: http://mikepayne.co/2011/remove-category-base-from-url/
- These methods also failed: http://www.askapache.com/wordpress/remove-category-wordpress-urls.html
The dot trick will likely ruin your rss feeds and/or pagination. These work, though: