Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

All of a sudden I can’t use static pages on homepage

$
0
0

Replies: 0

I have a woocommerce wordpress store. I have not made any recent plugin or theme updates/changes (I also disabled auto theme and plugin updates). Although all of a sudden, in the past day or two, my sites static homepage (my store front) just stopped displaying, and it’s now displaying recent posts instead.

When I go to settings>reading it is still set to display the correct homepage as a static page.

My permalinks are set to post name. And when I switch the permalink structure to default, the static homepage does comes back. But when I set it back to post name structure my storefront static homepage goes away again (I need it to work as it always has while using post name permalinks).

I’ve tried deleting the .htaccess file but that didn’t fix the issue.

Does anyone know how I can get my static homepage to display again? I’ve tried deactivating plugins one by one and no luck. I have a feeling this is a simple fix too 🙁

All I’ve done to this site lately is add products as drafts (not published) and upload images for them to my media library. I did have some product posts that had duplicate ID #’s by accident, which may have caused this issue perhaps?

Here’s my htaccess file for what its worth.

# BEGIN REMOVE SLUG CUSTOM POST TYPE RULES
RewriteRule ^product/(.+)/$ /$1 [R=301,L]
RewriteRule ^product_variation/(.+)/$ /$1 [R=301,L]
RewriteRule ^/(.+)/$ /$1 [R=301,L]
RewriteRule ^shop_order_refund/(.+)/$ /$1 [R=301,L]
RewriteRule ^/(.+)/$ /$1 [R=301,L]
RewriteRule ^/(.+)/$ /$1 [R=301,L]
RewriteRule ^/(.+)/$ /$1 [R=301,L]
RewriteRule ^/(.+)/$ /$1 [R=301,L]
RewriteRule ^/(.+)/$ /$1 [R=301,L]
RewriteRule ^testimonial/(.+)/$ /$1 [R=301,L]
RewriteRule ^testimonial_rotator/(.+)/$ /$1 [R=301,L]
RewriteRule ^tf_showcase/(.+)/$ /$1 [R=301,L]
RewriteRule ^tf_hpslide/(.+)/$ /$1 [R=301,L]
RewriteRule ^tf_hpdeal/(.+)/$ /$1 [R=301,L]
# END REMOVE SLUG CUSTOM POST TYPE RULES

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

I do have a plugin that strips category taxonomy base slug and base slug from custom post types. In other words, it removes the /product/ base from product urls and /product-category/ from product category urls. I have been using it for years without issue. So I do not think it is causing the problem. I am leaning towards all the product posts I added as drafts triggering the issue somehow.

Any help?


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>