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 Hijacks Vanilla Pretty Permalinks?
I've enabled pretty permalinks (in config.php) but it seems that my WordPress setup is hijacking the links!
After setting $Configuration['Garden']['RewriteUrls'] = TRUE; and clicking on any links on the forum, I'm taken to the WordPress 404 page.
I've searched before and come across this existing thread, but there isn't a solution there.
http://vanillaforums.org/discussion/10643
Here's the setup:
- WordPress installed at root of http://fordauthority.com
- Vanilla 2.0.15 installed in /forum directory - so http://fordauthority.com/forum/
- If I don't enable pretty permalinks, the above behavior does not occur
- My server info is available at http://fordauthority.com/forum/phpinfo.php
Thanks in advance for any help, I really appreciate it.
After setting $Configuration['Garden']['RewriteUrls'] = TRUE; and clicking on any links on the forum, I'm taken to the WordPress 404 page.
I've searched before and come across this existing thread, but there isn't a solution there.
http://vanillaforums.org/discussion/10643
Here's the setup:
- WordPress installed at root of http://fordauthority.com
- Vanilla 2.0.15 installed in /forum directory - so http://fordauthority.com/forum/
- If I don't enable pretty permalinks, the above behavior does not occur
- My server info is available at http://fordauthority.com/forum/phpinfo.php
Thanks in advance for any help, I really appreciate it.
Tagged:
1
Comments
/cd
For example:
http://fordauthority.com/forum/activity
http://fordauthority.com/forum/discussions
Clicking them redirects to the WordPress install at root
Because, even though the pretty URL-s are enabled, apparently the .htaccess file doesn't do its job right -- e.g.: going to http://fordauthority.com/forum/index.php?p=/discussions goes to the proper site.
So, you are either running something else than Apache (which doesn't seem to be the case given your phpinfo() file), or, the most likely, there is something screwed up in your Apache conf.
So, (if running Linux) in your etc/sites-available/__website_name.conf you should have something like:
<Directory /var/www/__ford__> AllowOverride All </Directory>
if you have that, I have no idea...
/cd
Interestingly, WP works just fine with pretty permalinks/rewrites on. I would really appreciate any and all help... even willing to pay!
Make absolutely that your WordPress structure is not using the /forum branch. Take a look at the URLs for each page in the WP admin panel to check. If Vanilla tries to use a directory structure that is used by WordPress, there will be a conflict.
Good luck.
I have WP at root and Vanilla at /forum
There's a WP menu button linking to /forum
How would I make sure that my WP is not using the forum branch? I'm just a bit confused
Thanks!
It might take a few minutes but the best way is to open each page in the WordPress (WP) admin panel and look at the URL assigned to it. You can see it at the top.
For example if you had made a WP page called "Forum" as a parent (at the root level) WP would assign that page with the URL of "http://fordauthority.com/forum". This could cause a conflict. If this is the case, you would need to change the WP pages/structure to not use this branch.
If there is a URL structure that works, why not simply use it? The user is clicking a menu choice and wouldn't see the "ugly" link.
Good Luck!
If the feature is in Vanilla, why not be able to use it? I'd rather open the forum with pretty links than open it with long links, let content and users build it, and then switch the links overnight -- causing all sorts of SEO havoc. Pretty links are there for a reason -- they're easier on the eyes (for those users who prefer to browser by typing)... I'm just trying to get them to work.
Any help from anyone and everyone would be greatly appreciated
You can see Vanilla embedded on a WP page at my site; however, it requires logging in. I will send you login info in a private message so you can see.
Later...
There was an error rendering this rich post.
`
Original
If you modify this file then change the above line to: # Modified
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 / <<<<<<<<<<<<<<<<<<<<UNCOMMENT AND CHANGE
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
`
Hi i am facing the same issue on my wordpress blog after changing the permalinks . can u please help me in resolving it.@sashok how did u resolve it ?