Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #188443

    Hello Support,

    we have problems with permalinks in Enfold. Without flush=false we have 404s, except of WooCommerce. With flush=false we have 404s in WooCommerce. Twenty Thirteen works fine, but not Enfold! The problems appear only with pretty permalinks.

    Following errors under the following conditions:

    —–

    [ACTIVE] Codesnippet in the FUNCTIONS.PHP: flush_rewrite_rules( false );
    [RUN] “Flush Rules” at tools -> Rewrite Rules <- without succes…most entries keep red (error)
    [DEBUG WC-Link] Query String: attachment=red-power-ihr-joya-classic-mit-rotem-jaspis-fuer-anregende-massagen-mit-tiefgang
    [DEBUG Blog-Link] Query String: pagename=die-idee-dahinter

    Result:
    WooCommerce-Links [404]
    other Links: [OK]

    —–

    [INACTIVE] Codesnippet in the FUNCTIONS.PHP: flush_rewrite_rules( false ); (commented out)
    [RUN] “Flush Rules” at tools -> Rewrite Rules <- Success….the red entries disappear
    [DEBUG WC-Link] Query String: product=red-power-ihr-joya-classic-mit-rotem-jaspis-fuer-anregende-massagen-mit-tiefgang&post_type=product&name=red-power-ihr-joya-classic-mit-rotem-jaspis-fuer-anregende-massagen-mit-tiefgang
    [DEBUG Blog-Link] Query String: name=die-idee-dahinter

    Result:
    WooCommerce-Links [OK]
    other Links: [404]

    —–

    Plugins to analyze:
    WP Debug Bar
    Rewrite Rule Inspector

    How can we resolve the problem? You’ll get the logins in a private post. Feel free to test, the website is “not live”, under construction.

    • This topic was modified 10 years, 12 months ago by DDamjanovic.
    #188445
    This reply has been marked as private.
    #189254

    Hi!

    You don’t need to keep a forced flushing function live in your functions.php file. You only ever need to flush the permalinks once or after a change has been made.

    General permalink issues should try the suggestions in the codex here: http://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems

    Cheers!
    Devin

    #189279

    Hi Devin,

    as I said before, the problem exists only with Enfold, not with Twenty Thirteen! We’ve tried several things already with no success. Please resolve the problem asap.

    Best regards
    David

    #189817

    What steps have you taken already specifically? The above is good background information but generally under normal circumstances permalinks and woo-commerce do not have an issue. So it isn’t like this is a big widespread problem with the theme that is addressable with an update.

    There is something specific to your settings and server. Eg, do you have anything in your htaccess besides the WordPress snippet that gets added when you use pretty permalinks or anything like that?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘404 – strange permalink problems’ is closed to new replies.