• Resolved josiahjrutledge

    (@josiahjrutledge)


    (Sorry if this is in the wrong place – I’m new here and the search function wasn’t working to try to find similar topics.)

    I’m having trouble with my WooCommerce/WordPress site, where I can’t create any pages, and all pages which were previously there now return 404 errors (even though they still show up on the pages list under the same permalink), save for my homepage and shop page.

    The site in question is relianceventures.website, though I’ve also duplicated the issue at a few different locations in an attempt to troubleshoot. Those locations are:

    site.relianceventures.website
    backup.relianceventures.website (since deleted)
    reliance.threepitchstrikeout.com (tried twice)

    I’m using the StoreFront theme with WooCommerce. Other than that, the only changes I’ve made have been through the Customizer.

    I’ve tried this across two separate hosts (NameCheap and Bluehost) and had the identical issue, so I know the host isn’t the issue. And I’ve tried it on five different WordPress installations, so I doubt WordPress is the issue. That leaves me as the likely culprit! hoping you guys can help. Let me know if there’s any other info I can provide…tried to be thorough but it’s entirely possible I omitted some important info.

    Really hope you guys can help. Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • I have simply question … Did you tried go to Settings->Permalinks and check there e.g Post name in Common Settings Then Save those settings?
    This may help.

    Thread Starter josiahjrutledge

    (@josiahjrutledge)

    Should have mentioned it in the initial post, but yes, I did try that. And then tried it again just now to make sure I was doing it exactly how you say. No dice. Thanks for the suggestion though.

    Just spitballing here, but is it possible that I needed to set the permalink structure BEFORE doing something else (installing WooCommerce maybe?) and didn’t do it in the right order? I don’t really know, just trying to come up with something, because I’m beyond lost.

    You need to save permalinks as something to try whenever urls don’t work. (not before doing something else) Go to Dashboard > Settings > Permalinks, and click “Save” even if there are no changes to save. Some commentators advise Saving twice.

    Other things to try would be:

    – check you are running all latest versions: WP 4.8.2, Storefront 2.2.5 & WC 3.2.1.

    – deactivate any other plugins so you have just Storefront and WooCommerce in play. Leave them deactivated until the site works. Then put other plugins back one-by-one and test.

    – if you have a cache plugin, flush the cache and deactivate it until everything is working OK. Check if your host is running any sort of cache.

    – go to:
    Dashboard > WooCommerce > Settings
    and click the two delete transients and the delete orphaned variations buttons

    – have you, or one of your plugins, been editing .htaccess in WordPress root? Rename it to take it out of play, then save permalinks again – this makes a new .htaccess.

    – and a bit desperate by now but it works for some, run the delete old slugs module in Booster:
    https://www.ads-software.com/plugins/woocommerce-jetpack/

    Thread Starter josiahjrutledge

    (@josiahjrutledge)

    @lorro

    I tried all of your suggestions, to no avail.

    I’m running all the latest versions.

    I deactivated all plugins besides WooCommerce – no luck. I also deleted all themes but StoreFront, but that didn’t help either.

    I don’t have a cache plugin (haven’t gotten that far with this site). I couldn’t find anything in my host’s documentation about them running any sort of cache, but it’s possible I’m wrong. Host is NameCheap.

    I haven’t touched .htaccess for this site, but I did have a redirection plugin installed so I deactivated it, renamed my .htaccess file and saved permalinks to create a new one. But that didn’t solve the problem either.

    I installed Booster and ran the delete old slugs module, but that didn’t fix it either.

    Thank you so much for your help. Is there anything else you recommend I try?

    The only 404’s I’ve seen are on the cart and checkout pages – have you activated your checkout process and set the right pages for them? Check your Woocommerce settings under checkout and woocommerce status to what pages they are set to show up on.

    Thread Starter josiahjrutledge

    (@josiahjrutledge)

    @katdidit

    There are other 404s, I just don’t have them linked from the front page. The only pages that DO work are product pages, the shop page and the home page.

    I checked the WooCommerce settings and they point to the correct pages.

    Thanks for your tips

    can you link me to one of the other pages?

    the problems in your header links not your htaccess you are missing the header entries for canonical and shortlink and oembed/ between the wlmanifest and the woo gallery tags. My best guess for this is your theme, have you tried it with a vanilla theme?

    link rel="wlwmanifest" type="application/wlwmanifest+xml" href="/wp-includes/wlwmanifest.xml" /
    
    <link rel="canonical" href="https://yourdomain/cart/" />
    <link rel='shortlink' href='https://yourdomain/?p=1215' />
    <link rel="alternate" type="application/json+oembed" href="https://yourdomain/wp-json/oembed/1.0/embed?url=https~hash~yourdomain%2Fcart%2F" />
    <link rel="alternate" type="text/xml+oembed" href="https://yourdomain/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fyourdomain%2Fcart%2F&format=xml" />
    	
    
    <noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript>
    • This reply was modified 7 years, 4 months ago by katdidit.
    Thread Starter josiahjrutledge

    (@josiahjrutledge)

    @katdidit

    Here are a few other links that aren’t working (along with any page I try to create now):

    I don’t understand your other reply (sorry! I’m new to this). Not sure what you’re saying I should do with that code. Again, sorry for being so helpless.

    With regard to theme, what themes would be considered “vanilla” that are WooCommerce compatible that I could try?

    Thanks so much

    Thread Starter josiahjrutledge

    (@josiahjrutledge)

    Thread Starter josiahjrutledge

    (@josiahjrutledge)

    Hey guys,

    With some help from my hosting’s customer support, I figured out that the issue wasn’t with my permalink structure being saved, it was with the permalink structure itself.

    Apparently if I set it to domain.site/category/product then I get this issue, but if I set it to domain.site/shop/category/product I’m fine.

    Thanks so much for the help guys (and NameCheap customer support dude!)

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘404s Galore’ is closed to new replies.