WordPress.org

Ready to get started?Download WordPress

Forums

404 errrors with catagories and tags (10 posts)

  1. hhickmott
    Member
    Posted 3 years ago #

    I am new to wordpress and have the following in my .htaccess file

    # BEGIN WordPress
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I have set it to 666

    I have my permalinks set at /%category%/%postname%/
    I have my site hosted on 1and1

    All my categoy links get 404 errors !! and my Tag links also get 404 errors.

    I have hardly slept from tyong to figure it out over the last 3 days.

    Can anyone help ?

  2. JohnnyWhite2007
    Member
    Posted 3 years ago #

    Try setting the chmod to 644. Then go into WordPress → Settings → Permalinks → Save Changes.

  3. hhickmott
    Member
    Posted 3 years ago #

    In the end I rebuilt the site, I am not sure what the issue was, but the site was new so it seemed quicker to start again than spend any more time figuring it out.

    Worked second time artound okay, but I still dont know what the issue was.

    Thanks anyway for your help.

  4. gdgraphics
    Member
    Posted 3 years ago #

    I have the same issue with one particular site.

    The site uses WP as a cms and all the pages are showing up correctly with permalinks however, individual blog posts, which display correctly in the blog index page, do not show up when the title is clicked on and resolve to the 404 error page.

    Any ideas where I am going wrong.

    my permalinks are set to:
    /%post_id%/%category%/%pagename%

    Cheers, any help appreciated

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    how does the url look for those titles? Do they look proper, or malformed somehow?

  6. gdgraphics
    Member
    Posted 3 years ago #

    Thanks for replying Rev.

    The blog page works fine and looks like this:
    http://www.hatfoundation.org.uk/news-events

    The individual post looks like this but returns the 404 error:
    http://www.hatfoundation.org.uk/289/events/2010-gala-dinner-charity-auction

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    If you temporarily set permalinks back to default, does everything work?

  8. HEMROIDS
    Member
    Posted 3 years ago #

    hi all,
    I am having a similar problem. When I check my site for tag and category structure everything seems fine however...my site has recently had a major drop in serps and when I checked on google webmasters I found that It shows hundreds of error 404's for tag and category.

    Here is an example from my webmaster crawl errors:

    http://www.irregularspanishverbs.com/blog/tag/tener-present-tense/www.irregularspanishverbs.com/blog/650/tener-present-tense-the-conjugation-of-tener-in-the-present-tense/

    obviously the first part is fine, but why is it showing the whole url for the post?

    any help would be appreciated, thank you

  9. eyeonbooks
    Member
    Posted 3 years ago #

    Very same problem here - tearing out what little hair I have left, trying to solve this.

    (I've installed WordPress alongside a longstanding existing site, and I'm still testing the WP install "live" -- so if you go directly to my homepage you'll still see the "old" site. Follow these links instead:)

    http://www.eyeonbooks.com/2010 correctly displays my 2010 posts.

    http://www.eyeonbooks.com/interviews/nicole-krauss-great-house/ correctly displays my interview with Nicole Krauss, in category named "Interviews", slugged "interviews"

    BUT ..

    http://www.eyeonbooks.com/category/interviews/ throws a 404 every time.

    Like #hhickmott, I have my permalinks set at /%category%/%postname%/
    My site is, like his, hosted by 1and1 (coincidence?) My .htaccess permissions are set to 0644, and it is properly written.

    I have tried -- multiple times, in various orders and in various combinations -- deactivating all plugins, deleting .htaccess, returning to the default permalinks, tweaking the db directly via phpMyAdmin, and deleting all categories and starting over.

    I have spent hours on Google and cannot find anything else to try.

    I'm open to any and all suggestions.

  10. dbwieler
    Member
    Posted 3 years ago #

    I'm also hosting with 1and1, and I'm beginning to think this is a pesky hosting provider issue.

    1) permalinks work
    2) htaccess file is set correctly and works
    3) category and tag pages go to the providers 404 page, not the 404.php in the theme folder.
    4) 404.php works everywhere else on the site. Typing random stuff into the address bar always sends me to the 404.php file. Putting "/category/" in front sends me to the 1and1 error page.

    tried:
    "no results" = Goes to 1and1 error page
    1) Defaulting permalinks - no results
    2) deactivating all plugins - no results
    3) Using default theme - no results
    4) hard coding .htaccess file - no results

    Seems that no matter what you do, the category and tag pages always go to 1and1's error 404 page, and completely ignore your custom one.

    I've tried talking to 1and1, but you know how that goes...

Topic Closed

This topic has been closed to new replies.

About this Topic