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

asked Jan 23, 2014 at 18:02
3
  • After running firebug i can see that it's calling all the js & css from the root directory. Commented Jan 23, 2014 at 18:05
  • why are you not using Magento's default .htaccess file? Commented 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 Commented Jan 23, 2014 at 18:12

1 Answer 1

0

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

#RewriteBase /magento/
answered Jan 23, 2014 at 18:11
6
  • Thanks for the reply! Do you know where i can find this? Commented Jan 23, 2014 at 18:15
  • Click on .htaccess on my reply above :) Commented 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 Commented Jan 23, 2014 at 18:32
  • Okay i've tried that and now im getting a redirect error.. it doesn't like good... :< Commented Jan 23, 2014 at 19:01
  • more details about "redirect error"? Commented Jan 23, 2014 at 21:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.