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.
Embedded forum's navigation links don't point to embedded URL
ben_seven
New
Quick post - I'm using an embedded forum at /forum, this is configured correctly but the links in the embedded forum's navigation bar all point to /vanilla/foobar - why isn't this dynamically sorted based on the embedded setting?
0
Comments
I believe you may need to change your .htaccess. There are notes inside if your forum is not in /vanilla directory some hosts need the
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks for the reply. No luck though.
My forum is at /vanilla and the embedded instance is at /forum - any other ideas? Or what that htaccess file should contain?
start with posting your .htaccess and maybe you can get some feedback.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Sure - the .htaccess for the WordPress site, or for /vanilla ?
For vanilla.
# Modified
# If you modify this file then change the above line to: # Modified
<IfModule mod_rewrite.c>
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
RewriteBase /vanilla
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
</IfModule>
Sorry about the state of the code on each line there - not super impressed with code block mode.
On closer inspection, it seems these links work fine in the embedded forum, they just point to Vanilla. Sorry - I'm not sure if this started working due to the .htaccess edit you recommended or if I only visually inspected them before, but thanks for the help!