: Xampp and file paths I'm having hard time with xampp, it really getting me crazy. I have few installations of WordPress with Roots Template, which was loading without any css, js..etc. And the
I'm having hard time with xampp, it really getting me crazy.
I have few installations of WordPress with Roots Template, which was loading without any css, js..etc. And the solution was to delete Boilerplate's default .htaccess and add:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteRule ^assets/css/(.*) /wp-content/themes/test_template/assets/css/ [QSA,L]
RewriteRule ^assets/js/(.*) /wp-content/themes/test_template/assets/js/ [QSA,L]
RewriteRule ^assets/img/(.*) /wp-content/themes/test_template/assets/img/ [QSA,L]
RewriteRule ^plugins/(.*) /wp-content/plugins/ [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Now I'm facing the same problem but with HTML5 Boilerplate and Twitter-bootstrap, standard html5 file with no complex code. I've tried using:
dirname(__FILE__);
And it still can't locate the files. Anybody had the same problem and found the solution?
Thanks in advance.
More posts by @Berumen354
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.