Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok, Solved!

    I’ve started a fresh, I’m using the nice /%category%/%postname% permalink but I’m still getting the idiotic /ANYCONTENT/postname problem.

    This is not good, hey search engines, my site is full of infinite duplicate content!

    I suspect this is an actual wordpress bug. Oops.

    The only solution I can find is to install some plugin that checks that the url fields match with the WP content! If not, it throws a 301 redirect to the correct page (I might alter it to throw a 404) It’s here : http://scott.yang.id.au/code/permalink-redirect/

    As for the error navigating newer/older links : I found this works,

    updated! new url :

    http://www.themadhat.com/blogging/remove-category-base-wordpress/

    Yes! I’ve got this problem too.

    Perhaps it’s got something to do with the awful hacks I’ve had to do to get rid of the ugly default permalink structure : domain.com/category/category_name/post_title

    I found something on a site that suggested a str_replace ‘category’ with ” in category-template.php, can’t remember where exactly. Anyway, I did this and I was able to use the nicer : domain.com/category_name/post_title without the Older/Newer links errors as you are having…

    Now! I’ve just discovered that domain.com/absolutely_anything_here/post_title works! Argh!

    Maybe it’s because of the tweaking I’ve done. I’m going to revert back to default, see if the problem is there (hoping it won’t be) then try again. I’ll post here if I manage it.

    UPDATE : fresh install, domain.com/absolutely_anything_here/post_title still doesnt show a 404.

    Initial reaction, WordPress is a bit **** isn’t it. 🙁

Viewing 2 replies - 1 through 2 (of 2 total)