Support » Plugin: WooCommerce » 404 Errors on WooCommerce Pages

  • Resolved metuckness

    (@metuckness)


    So, I have a couple of webpages and I installed woocommerce on one of the to test the setup and functionality. It worked great. So then i installed it on another website I have and this one is giving me errors on the pages Woocommerce created.

    Shop, Account, Cart et cetera are all giving me error 404 page not found.

    I left everything default just like I did on my other site and it worked.

    Any ideas on what is the cause of this or a solution?

    https://wordpress.org/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    These are regular pages. See if they are published in admin > pages.

    They are published there. I did some more research and it is just the shop page that is not working.

    Link for the shop page:
    http://pureheavencotons.com/shop/

    Here is the cart page and if you click the Shop button it will take you to the 404 page:

    Cart

    The weird thing is that the 404 page doesn’t look like a page from my theme.

    My theme’s 404:
    https://drive.google.com/open?id=0BzsKCe89GscxVm03LUdBUEw4M3c

    Shop (woo) 404:
    https://drive.google.com/open?id=0BzsKCe89GscxbFEyVnZKLUk3Zzg

    Another thing I noticed is that each page made by woocommerce has one of these, except for the shop page:

    Cart: [woocommerce_cart]
    Account: [woocommerce_my_account]
    Checkout: [woocommerce_checkout]

    But the Shop page has nothing in the body. I just don’t see a reason why that page will not display.

    Here is the 404 page source:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>404 (Page Not Found) Error - Ever feel like you're in the wrong place?</title>
    
    <link href="http://p3nlhclust404.shr.prod.phx3.secureserver.net/SharedContent/404-etc-styles.css" rel="stylesheet" type="text/css" media="screen" />
    
    </head>
    
    <body>
    
    	<div class="body-404">
    		<h1>
    			<span>Ever feel you're in the wrong place</span>
    		</h1>
    
    		<div class="info-container">
    			<div class="inner-border clear-fix">
    				<h2 class="info-top">
    					404 (Page Not Found) Error
    				</h2>
    
    				<div class="site-owner-404">
    					<h3>If you're the <strong>site owner,</strong> one of two things happened:</h3>
    					<ol>
    						<li>
    							1) You entered an incorrect URL into your browser's address bar, or
    						</li>
    						<li>
    							2) You haven't uploaded content.
    						</li>
    					</ol>
    				</div>
    
    				<div class="site-visitor-404">
    					<h3>If you're a <strong>visitor</strong> and not sure what happened:</h3>
    					<ol>
    						<li>
    							1) You entered or copied the URL incorrectly or
    						</li>
    						<li>
    							2) The link you used to get here is faulty.
    						</li>
    						<li class="last">
    							(It's an excellent idea to let the link owner know.)
    						</li>
    					</ol>
    				</div>
    			</div>
    		</div>
    	</div>
    
    </body>
    </html>

    Plugin Author royho

    (@royho)

    Please try going to your permalinks and clicking save. Re-test.

    I have tried that several times, saw them in other posts about 404 errors for woocommerce. The odd thing is, my other website, it works and the pages look identical.

    But I will try it again to make sure 🙂

    Still 404.

    Plugin Author royho

    (@royho)

    Seems like a hosting issue. Can you create a new page call it “test”. Then go to WooCommerce->settings->product->display and set your shop page to “test”. Save and check if that page works.

    Oh and my other site, is on the same hosting provider, meaning this site that is not working is the main site, the other one is a domain I own, but it is on the same hosting package. I have the ultimate hosting from Godaddy. So all my domains are all hosted here. Not sure if that could make a difference?

    I created a page called Test Woocommerce and published it. Then went to woocommerce, settings and product and changed the dropdown to the Test Woocommerce page and still get the 404.

    But if I go to pages and all pages and edit the test woocommerce page and save it. Then hit View Page it takes me to the shop page (as it should be with the one product I have listed).

    Plugin Author royho

    (@royho)

    Have you contacted your host about this?

    This is the test page I pointed shop to:

    Test Woocommerce

    I haven’t contacted Godaddy on this because I just installed it today and it is working on another domain I have there. So since it was working on one domain, I figured it should work on the other, unless the two are conflicting. I can call them tomorrow and see, though I am not sure how much support they offer on Plugins, never actually called them other than to increase the memory assigned from the hosting platform.

    Plugin Author royho

    (@royho)

    So are you saying it only works if you use “view page”, instead of putting it in the menu or directly accessing it?

    Plugin Author royho

    (@royho)

    Seems like we’re crossing our replies. but just because you have two sites on same hosting, doesn’t mean both are using same hosting configurations. If nothing else works, I would definitely contact them to see if they see any issues on their end.

    yup. If I go to Dashboard, then Pages. Then find the Test Woocommerce page and either hit edit and then view page or just hit view page, it works.

    But if I try and go to the page directly, it fails.

    But I just made a change to my menu and pointed my menu to the Test Woocommerce page and it seems to be working.

    Here is a link to the website. Once it loads scroll down under the main image and there is a menu there that says Test Woocommerce.

    here is the menu and it has the Shop one that was created and the test one.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘404 Errors on WooCommerce Pages’ is closed to new replies.