Wordpress tinkering: part deux
Published by Shari 2 years, 11 months ago
It took me 3 months to find out how to really make WP works for this site the way I REALLY REALLY wanted. The problem with the walkaround I used in order to have separate main page and blog page is the ugly URL, because the blog page is actually the category archive page, the URL became sixkillerbunnies.com/cat/blog, /cat being taxonomy for category archive page (WP don’t let you do without, pfft) and /blog being the main category name. I thought I could live with it, but obviously I can’t.
what I really wanted was for that page URL to be sixkillerbunnies.com/blog. I also know that (almost) nothing simple htaccess couldn’t do. Problem was that I never really get around learning it properly, I just guess how it works and then tinker with it (kids, don’t do this at home).
so what I did, to make sixkillerbunnies.com/cat/blog (aka ugly URL) becomes sixkillerbunnies.com/blog (aka pretty URL) , is that, first, I changed taxonomy for category archive page to ‘blog’ then I changed main category name from ‘blog’ to ‘category’ (yes, category named category :D). This way, URL for other category archives also become something pretty like ‘/blog/category/news’ etc. The last step (actually the only step :D) is to edit .htaccess so sixkillerbunnies.com/blog point to the right category archives.
There’s one problem, page navigation for blog page now doesn’t work, but, well, I’m happy with this now, Fred gonna have to fix that later :D
*out*






One Response to “Wordpress tinkering: part deux”
Please Wait
Leave a Reply