Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Wordpress permalinks setting breaks Vanilla - any solution?
Hi,
A website I'm developing is running wordpress, with (edited!) wp running in the root directory, and Vanilla in its own directory underneath that. The only integration I have done between the two is including the wordpress /wp-blog-header.php file to allow me to share the menus, header and footer.
The forum is here:
http://213.175.217.160/~totalcri/total-cricket-forum/
Everything was working fine until I set a permalink structure in Wordpress (/%category%/%postname%/)
Doing that seems to prevent Vanilla's ajax get calls from working - for example clicking on the 'sign in' link fails (the lightbox opens but never loads the signin form)
Using Firebug, I can see that the ajax getting the following url was returning a 404, despite it working fine if I go straight to that URL
/index.php/entry/?Target=discussions&DeliveryType=VIEW
Turning off Wordpress permalinks solves the problem, but isn't something I want to do (for SEO and usability reasons).
My understanding of permalinks is sketchy to say the least - is there a way to override what I've set in Wordpress for the Vanilla directory? Or another solution?
All help appreciated!
Thanks
Tom
A website I'm developing is running wordpress, with (edited!) wp running in the root directory, and Vanilla in its own directory underneath that. The only integration I have done between the two is including the wordpress /wp-blog-header.php file to allow me to share the menus, header and footer.
The forum is here:
http://213.175.217.160/~totalcri/total-cricket-forum/
Everything was working fine until I set a permalink structure in Wordpress (/%category%/%postname%/)
Doing that seems to prevent Vanilla's ajax get calls from working - for example clicking on the 'sign in' link fails (the lightbox opens but never loads the signin form)
Using Firebug, I can see that the ajax getting the following url was returning a 404, despite it working fine if I go straight to that URL
/index.php/entry/?Target=discussions&DeliveryType=VIEW
Turning off Wordpress permalinks solves the problem, but isn't something I want to do (for SEO and usability reasons).
My understanding of permalinks is sketchy to say the least - is there a way to override what I've set in Wordpress for the Vanilla directory? Or another solution?
All help appreciated!
Thanks
Tom
0
Comments
//edit: There's only 1 "root directory" for a website and you don't have Vanilla in it. Yours is in a subfolder, which is fine.
This sounds like a pretty complex issue; I don't know why it would effect only Ajax calls and not direct ones.
So do permalinks have to be set at a per-site basis, not overrideable at a lower directory?
(Root directory - sorry, typo! :-)