Remove category prefix (3 posts)

  1. mrblade
    Posted 7 years ago #

    Hi all. i have wp 2.3.1 and i would remove category/ prefix from permalink. I have installed "top level category" plugin and this is a partial solution. If i enter inside a categories i have error 404 if i click on previous or next page. This problem can be fixed with /?paged=4 instead of /page/4/. The page that i believe must edit are wp-includes/template-functions-post.php and wp-includes/link-template.php.
    Some help?
    sorry for bad english,
    many thanks!

  2. BPartch
    Posted 7 years ago #

  3. mrblade
    Posted 7 years ago #

    no solution in this link.
    Is possibile change next and previous link? I try in wp-includes/link-template.php, on the row 513 i write user_trailingslashit( '?page=' . $pagenum, 'paged' ); but when click on previous link return sito.com/mycategory/?page=2/?page=2%2F.
    Where i wrong?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.