0

After playing with the .htaccess i've hit a brick wall. My site will load from just the domain name but won't load any css or js.

here's my .htaccess:

Options +FollowSymLinks

RewriteEngine On

RewriteBase /magento/

RewriteRule . index.php [L]

Magento is located in Httpdocs/magento/

This is my first time editing a .htaccess file

I have base URLS set to http://mystore.com/magento/

I have seo rewrites enabled

3
  • After running firebug i can see that it's calling all the js & css from the root directory.
    – Max Coates
    Jan 23, 2014 at 18:05
  • why are you not using Magento's default .htaccess file? Jan 23, 2014 at 18:10
  • I will try it now, am i right in believing this is the default .htaccess : pastebin.com/gxJpp8Ev? Here is my site if it's any help www.petwholesale.co.uk
    – Max Coates
    Jan 23, 2014 at 18:12

1 Answer 1

0

Use Magento's .htaccess file and uncomment (remove #)

#RewriteBase /magento/
6
  • Thanks for the reply! Do you know where i can find this?
    – Max Coates
    Jan 23, 2014 at 18:15
  • Click on .htaccess on my reply above :) Jan 23, 2014 at 18:23
  • Derp! Didn't see the link! Thanks for that very handy :) I'll put it in the root now and see if it fixes the issue! Thanks again
    – Max Coates
    Jan 23, 2014 at 18:32
  • Okay i've tried that and now im getting a redirect error.. it doesn't like good... :<
    – Max Coates
    Jan 23, 2014 at 19:01
  • more details about "redirect error"? Jan 23, 2014 at 21:12

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.