Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter webgaya

    (@webgaya)

    Hi, thanks for your attention.

    I had already moved index.php to the root folder and changed
    require(‘./wp-blog-header.php’); to
    require(‘./blog/wp-blog-header.php’);

    As you said, since stuff in ‘blog .htaccess’ should be copied to ‘root .htaccess’, I did so. Now root .htaccess includes rules as below,

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

    # END WordPress

    But still the problem remains………

    Is there anything else I can do?

    Thread Starter webgaya

    (@webgaya)

    I should have found this at the very first begining,
    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    It was in Options Tab.

    webgaya.

    Thread Starter webgaya

    (@webgaya)

    I got it done. Sorry for the misunderstanding I was in. I copied the index.php in my “theme” to the root directory. That caused the error.

    Instead I copied the index.php in “blog” directory and made the appropriate change. Thanks for Kafkaesqui and all of you.

    As for duplicate content issue, if I put
    User-agent: *
    Disallow: /blog/

    Then whole my blog won’t be indexed. So I am going to
    forget it for the time being. If you have any suggestion
    on this, please list them.

    Thank you.

    webgaya.

    Thread Starter webgaya

    (@webgaya)

    My theme’s index.php contains only the code I mentioned in my post. Noting else like
    require(‘./wp-blog-header.php’);
    That’s the problem I faced.

    webgaya.

Viewing 4 replies - 1 through 4 (of 4 total)