Tagged: business layout
- This topic has 4 replies, 2 voices, and was last updated 10 years ago by Theme Horse Support Team.
-
AuthorPosts
-
November 22, 2014 at 7:43 pm #18725almatainaParticipant
thanks for a great theme!
I have used the business layout in two sites, one in which WP resided in the root directory and one where WP was not installed in the root directory. I had no problems setting up the biz layout on the site whose WP install resides on the root folder. Unfortunately, the biz layout is not working on the site whose WP install doesn’t reside on the root directory. in this last one all the menus and pages work with the exception of the biz layout. I get the following error in the body of the homepage:
Error 404-Page NOT Found
It seems we can’t find what you’re looking for.This might be because:
You have typed the web address incorrectly, or the page you were looking for may have been moved, updated or deleted.Please try the following instead:
Check for a mis-typed URL error, then press the refresh button on your browser.any recommendations?
November 24, 2014 at 8:06 am #18746Theme Horse Support TeamKeymasterhi almataina,
I think your wordpress is not installed properly and also did you check the .htaccess file. This is not related to the theme issue and we support only the theme relating issues. Could you once send your site url too. If we find any solution then we will let you know. And at last Please make a bit more clear , its a bit more confusing.Thank you!
December 22, 2014 at 9:39 pm #19655almatainaParticipantTo 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
December 22, 2014 at 10:34 pm #19656almatainaParticipantCorrection, 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
December 23, 2014 at 5:54 am #19666Theme Horse Support TeamKeymasterHi almataina,
Just replace your code with this code. Hope this may help you# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /main/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /main/index.php [L] </IfModule> # END WordPress
and i think you also have not changed all the database path too where for about page there must be http://almataina.com/main/about instead of http://almataina.com/about/
First of all check using the above .htaccess file.
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.