• Resolved nsathees

    (@nsathees)


    I have a list of Parent -> Child categories and listed them on my index page using

    wp_list_categories('title_li=&hide_empty=0&depth=0&child_of=19')

    out of the loop as it should be.

    After setting the permalink to /%postname%/, Categories leads to 404. Where is the problem?

    The htaccess looks ok.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /jaffnacity/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /jaffnacity/index.php [L]
    </IfModule>
Viewing 4 replies - 1 through 4 (of 4 total)
  • Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    Thread Starter nsathees

    (@nsathees)

    @esmi
    Don’t have it online yet! Developing in localhost under Ubuntu LAMP Stack.

    I use to provide many solutions to the questions asked here. Just mentioning that I am very familiar with WP and I need constructive answer such as point to the most likely place the problem could occur please.

    Thank you,

    Do the default permalinks work?

    Thread Starter nsathees

    (@nsathees)

    The problem was the MOD Rewrite in Apache. Solved it.

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

The topic ‘Setting permalink to /%postname%/ fails on nested Categories’ is closed to new replies.