wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 161 forks source link

Problems with requirejs when enabling permalinks in wordpress (submodule) #35

Closed rawzone closed 11 years ago

rawzone commented 11 years ago

Hello, I have tried to install wordpress as a submodule (with git), and when I enable permalinks in the wordpress install it breaks requirejs when going to a subpage.

http://<domain>/ <- requirejs works fine
http://<domain>/<page title>/ <- requirejs breaks (tries to load scripts in /page title/content/themes/<theme name>/js/ instead of /content/themes/<theme name>/js/)

Is there a way to get requirejs to work with permalinks enabled, or a htaccess rule I can use to ignore requirejs urls?

Let me know if I can supply any more info…

Thanks!

Ps. should be marked as a question rather than an issue…

//Hans

wesleytodd commented 11 years ago

Sounds like a problem with your baseurl setting I'd start there.