3

I am using GoDaddy server.

I have WordPress as root directory and i have setup Magento from local to server inside root as subdirectory.

Magento home page is working fine,but when i try to open any subpage of Magento then it opens "About us" page without CSS of root WordPress.

Here is my Magento site link:

4
  • it seems there is a problem with your .htaccess. Please share you .htaccess code]
    – Dexter
    Commented Feb 25, 2015 at 12:26
  • This my root wordpress .htacces code,bold # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^cake/(.*)$ /sub-domains/dcm/$1 [L,QSA] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Commented Feb 25, 2015 at 12:33
  • its not a problem with WordPress code but with the Magento .htaccess RewriteBase should be /sub-domains/magentostore/ in Magento .htaccess
    – Dexter
    Commented Feb 25, 2015 at 13:02
  • I am writing it as an answer you can mark it as completed so it will be helpful for future users
    – Dexter
    Commented Feb 25, 2015 at 13:26

1 Answer 1

0

The problem is with the Rewrite in your .htaccess.

Open .htaccess of your Magento subdirectory and change RewriteBase to

/sub-domains/magentostore/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.