• Resolved riz1120

    (@riz1120)


    I could not find a similar question answered in the forum or through a google search. I hope it is an easy fix.
    The issue does not appear to be specific to any theme. Each theme I have tried has the same issue. I believe it is related to the default location(s)of the blog or post directory.
    https://www.paralegalinsights.com
    If you click on the Posts page this is the result:

    Index of /blog
    Parent Directory
    Apache Server at https://www.paralegalinsights.com Port 80

    My only guess is that I renamed the original wordpress blog page and then deleted it by mistake. I know nothing about coding and have tried to retrace the steps I’ve made over the last few months.
    I’m not sure what question to even ask. Any help or suggestions in trying to narrow down the issue would be appreciated.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I think your blog page directory is empty.
    You should copy index.php file from /public_html to /public_html/blog and
    edit the line require(‘./blog/wp-blog-header.php’);
    to require(‘./wp-blog-header.php’);.

    Thread Starter riz1120

    (@riz1120)

    I did copy the index.php file into the blog file. However I did not see (‘./blog/wp-blog-header.php’) to edit. This is what I saw in the index file:

    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

    I tried a couple of combinations of renaming the file but did not seem to work.
    Thanks for your suggestions.

    It looks like you’ve designated your “blog” page in settings ? reading to be a page with blog as the slug/url. So either change that to another page, or go to trash and restore the original blog page or delete the original blog page from trash and create a new one named “blog”.

    Thread Starter riz1120

    (@riz1120)

    Thanks! That seemed to do the trick. I owe you a brew!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link to Blog Posts not working correctly’ is closed to new replies.