Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

With my locally created WP theme i used the wrong category for some posts, so i changed it to another one. Everything worked ok. But on my testing website it gives me a 404 page not found. i just moved some posts from category our-products to category products.

i also edited category.php with

elseif (is_category('our-products') || is_category('products')):
            get_template_part('loop', 'products');

mydomain.com/products just gives a 404 mydomain.com/our-products gives the posts not yet moved

How do i fix this??

[edit] i already did the setting permalink trick by going to default and save. And made my custom settings again: /%category%/%postname%-%post_id%/ [edit] i renamed the WP's original uncategorized to products could this be the cause?

share|improve this question
    
OK, thanks to @the Z man Cause: I had a page called Products sitting in the trash bin. By deleting the page products, the category products works as expected. –  alex Mar 6 '12 at 19:10
    
So, this issue is resolved? If it's resolved, submit the answer and mark it solved when you can. –  m0r7if3r Mar 7 '12 at 2:36
add comment

closed as too localized by toscho Mar 6 '13 at 23:38

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.