WordPress.org

Ready to get started?Download WordPress

Forums

Permanlinks /category and pages in category.php (5 posts)

  1. defaultcy2
    Member
    Posted 6 years ago #

    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.

  2. moshu
    Member
    Posted 6 years ago #

    But when type mysite.com/games
    That's wrong. Don't type it.

  3. defaultcy2
    Member
    Posted 6 years ago #

    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.

  4. julious
    Member
    Posted 6 years ago #

    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?

  5. moshu
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic