badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

almataina

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • almataina
    Participant

    Correction, the .htaccess file contents on the root (www.almataina.com) dir contains the following:

    # 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

    # 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

    almataina
    Participant

    To clarify: the site http://www.almataina.com was setup with a WP installed using CPanel in a subdirectory called main. The .htaccess file on the root dir (/public_html) has the following code to point to the main subdirectory:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?almataina.com$
    RewriteRule ^(/)?$ main [L]
    </IfModule>

    The index.php file on the root dir also points to the main subdirectory:
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/main/wp-blog-header.php’ );

    Inside the main subdirectory there is no .htaccess but there is an index.php that reads:
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

    When accessing the site http://www.almataina.com. The site redirects to http://www.almataina.com/main and loads all of the items and pages properly with the exception of the home page, which should load the business template. The Biz template has been configured within the wp-admin. The homepage is the only page that is not loading properly. Instead it shows the Error 404-Page NOT Found. If you attempt to access any of the menu item pages all of them work.

    Thanks for your assistance

Viewing 2 posts - 1 through 2 (of 2 total)