How to hide slug numbers with htaccess

The obvious answer would be to simply change the taxonomy slug from brand-2 to brand. Assuming that can’t be done for some reason … Super important warning Editing .htaccess is very dangerous and can completely mess up your website. Do not edit .htaccess if you do not know what you are doing. Always test .htaccess … Read more

Would it be possible to route WordPress Through an MVC Application

Well, it looks like my latest idea proved correct. Simply including the index file for wordpress was enough to get permalinks working for blog posts. $app->slim->notFound(function() use($app) { //to make pretty url’s work with turdpress, we must see if that request was intended for our blog route. if(strpos($app->slim->request->getPath(),’/blog/’) !== false){ include __DIR__ . ‘/../../blog/index.php’; }else{ … Read more