Quantcast
Channel: Topic Tag: "internal server error" | WordPress.org
Viewing all articles
Browse latest Browse all 994

Internal server error 500, but only on page listing posts

$
0
0

In a theme I created, with a bare minimum of templates, everything works fine, with the exception of one thing: any page I designate as the “posts” page, via the Reading Settings in the WordPress dashboard, returns an Internal Server Error. I can see the individual blog posts fine by navigating to their URLs, but any page I designate as the posts page, including the home page, will return the internal server error. If I set the page to NOT be the posts page, it works fine.

This does not happen with the Twenty-Sixteen theme, so I think I’m missing something in my theme.

I’ve tried the other troubleshooting methods suggested for Internal Server Errors: recreated the .htaccess file, disabled plugins, tried a different theme, but none of them have worked. I have not yet tried replacing the WP core files, simply because it seems to be theme-dependent.

The files I created for my theme are:
– header.php
– footer.php
– functions.php
– index.php
– page.php
– sidebar.php
– style.css

At the link I’ve included, the page throwing the error is “Blog” in the main menu.

Any ideas what I may be missing? thanks …
– Joe


Viewing all articles
Browse latest Browse all 994

Trending Articles