Forums

Custom Permalink Structure causing 404 errors (9 posts)

  1. kringas
    Member
    Posted 1 year ago #

    I have been using the permalink structure for a while now: /%category%/%pagename%/

    recently, on a few of my wordpress blogs, this have been causing a 404 error.

    when I switch back to the default permalink structure, the posts then appear online no problem.

    asked my host and there was nothing they could do. said it is a wordpress problem.

    I don't have many plugins installed either on this one particular blog so dont think there is a conflict there.

    please help

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Sounds like mod_rewrite isn't running on some of the servers. Is your .htaccess file writeable?

  3. kringas
    Member
    Posted 1 year ago #

    i really dont know.

    the tech that I chatted with at my host said that he created a new .htaccess file but still did not help.

    Can I change the permissions from within wordpress or do I have to go the ftp server?

    That would be a hassle because this problem is occuring on multiple blogs

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You have to use an FTP client or whatever file management application your host provides.

  5. kringas
    Member
    Posted 1 year ago #

    Yup, I now changed the chmod value of the htaccess file all the way to 777
    but still did not work.
    whenever I change the permalink structure, I get a 404 error when visiting the post directly
    frustrating

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Check with your hosts that mod_rewrite is running on the server(s).

  7. MangoMM
    Member
    Posted 9 months ago #

    I know that this is an old thread, but it is the first thing that comes up in google, so am guessing that several people might see this page... As far as I can see, the problem is still unresolved so here goes my suggestion...

    Before changing .htaccess etc, check that you have typed in the permalink structure correctly.

    /%category%/%pagename%/ as far as I am aware is incorrect (that kringas used).

    /%category%/%postname%/ works fine for me.

  8. jamiegerig
    Member
    Posted 6 months ago #

    I have the same problem.

    I am using the custom permalinks plugin - though I don't know if that's the cause of the problem.

    I get a 404 error when clicking on categories and sub-categories - though it depends somewhat on my permalinks settings.

    Here are the different settings i've tried and the outcomes:

    /%category%/%postname%/
    category = 404 error
    sub-category = 404 error
    post = no problem

    %postname%/
    category = 404 error
    sub-category = 404 error
    post = no problem

    /%category%
    category = no problem
    sub-category = no problem
    post = moves to sub category of that post and then - nothing happens

    The custom permalink plugin has only one piece of advice - namely - to modify the .htaccess file. I have done this but the problem remains exactly the same.

    Does anybody know what else I might try?

    Kind regards,

    jamie

  9. jamiegerig
    Member
    Posted 6 months ago #

    Here's the blog I'm referring to:
    http://www.zorba.com.co/places/medellin

Topic Closed

This topic has been closed to new replies.

About this Topic