• yatiya

    (@yatiya)


    Hi all

    I’ve created a Blog page on my website. I’ve set the page in Settings\Reading, and it appears on the menu.

    My problem is that when I click on the page, it shows “Nothing found. Ready to publish your first post? Get started here.”

    I haven’t created any posts, but why is the href showing the markup instead of a clickable link?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Madhusudan Pokharel

    (@madhusudan977)

    Hello Yatiya,
    This problem occurs if mod_rewrite function is not probably working on the server, in this case you’ll need to contact the host provider to enable this function.
    If your server doesn’t have it, hopefully that is your problem and they can get it set up for you so things start working.
    See Using_Permalinks

    Alternatively, you can simply overwhelm this issue by manually editing the .htaccess file via FTP.
    It should look like this:

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

    If it doesn’t contain what is written above then definitely this was the problem, so just add it, save the file and refresh your page (it should work).

    If the problem exists then you should consider installing a fresh copy of WordPress.

    Thread Starter yatiya

    (@yatiya)

    Thank you. It looks like my .htaccess file is correct?

    # 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

    If I reinstall wordpress, will my theme, pages etc be deleted?

    Thread Starter yatiya

    (@yatiya)

    This is what is in my no-results.php file. Is it possible something here is wrong? It all looks good to me?

    <header>
    <h1 class=”entry-title”><?php esc_html_e( ‘Nothing Found’, ‘spirited-lite’ ); ?></h1>
    </header>

    <div class=”blog-post”>
    <?php if ( is_home() && current_user_can( ‘publish_posts’ ) ) : ?>

    <p><?php printf( esc_attr__( ‘Ready to publish your first post? Get started here.’, ‘spirited-lite’ ), esc_url( admin_url( ‘post-new.php’ ) ) ); ?></p>

    <?php elseif ( is_search() ) : ?>

    <p><?php esc_html_e( ‘Sorry, but nothing matched your search terms. Please try again with some different keywords.’, ‘spirited-lite’ ); ?></p>
    <?php get_search_form(); ?>

    <?php else : ?>

    <p><?php esc_html_e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘spirited-lite’ ); ?></p>
    <?php get_search_form(); ?>

    <?php endif; ?>

    Madhusudan Pokharel

    (@madhusudan977)

    Hello,
    Your site is working fine and you don’t need to reinstall WorPpress. You just need to select appropriate Settings.

    Go to Settings -> Reading -> Front Page -> Select Home from drop down option & Posts Page -> Select blog from drop down option.
    Click Save Changes.

    Now Go to Settings-> Permalinks-> Choose Post name button and Click Save changes.

    Let me know how it goes.

    Thread Starter yatiya

    (@yatiya)

    Thanks, I did the above, but it still displays the href markup instead of a smart link on the blog page (obviously only when I’m logged in). (displaying < a h r e f=”h t t p://www.entdocatiya.co.za/wp/wp-admin/post-new.php”>Get started here< / a >. instead of “Get started here” as a link)

    I suppose I could just create a post to make it go away, but deep down I’ll always know that something is not adding up!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blog Page posts link’ is closed to new replies.