WordPress.org

Support

Support » Themes and Templates » Permanlinks /category and pages in category.php

Permanlinks /category and pages in category.php

  • When digit mysite.com/category/games the paging (< 1, 2, 3 … 17, 18 >) works because the link is mysite.com/category/games/page/2

    But when type mysite.com/games, usually list the content of this category but the layout does not work because of the link pages is mysite.com/games/page/2

    How do I edit the link of the pages to stay /category/games/page/2?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • But when type mysite.com/games
    That’s wrong. Don’t type it.

    In my site works. But in any case, how I could make the paging function both in http://www.mysite.com/category/games as well as http://www.mysite.com/games ?
    Since in my case the two addresses work.

    Thanks.

    And it is bad if you leave the menu of your site with links of the type: http://www.yourblog.com/category/games ?

    Because it is the way easiest to solve this pagination problem. But if you don’t want the users to see /category or also for the possibility of some site of searches to take the user to the address http://www.yourblog.com/games and then it doesn’t work the pagination even, then will have of edit part more code assaults.

    I try to solve in the easiest way, in the surprise, but if you want something professional, perhaps it is necessary or to edit the file.htaccess that is in your site (occult for the ftp program), but to use a ftp online of your server you will find, or still, to alter the own files php of the wordpress where has the pagination function.

    And it can be that has some plugin that makes that, you can try to seek that in Internet, or to ask aid for somebody more specialized in this forum for showing you as doing to appear /category in the pagination, same when somebody accesses to URL without /category. Certainly it will be a simple alteration in some file that has functions (as of pagination) of the wordpress.

    Ok?

    No, it is not OK.
    It is wrong advice.
    The category permalinks MUST have the word /category/ in it. Don’t talk nonsense stuff if you don’t know anything about the question. There is no “solution” – just broken blogs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permanlinks /category and pages in category.php’ is closed to new replies.
Skip to toolbar