404 error on BP links
After taking everything down from my site, I did a clean install of WP 2.9.2 and BP 1.2.3, making sure that WP worked before I added BP.
WP is in my root folder.
I changed the permalinks from default to day and time.
I am using the BP default theme.
The only BP links that work are “log in” and “log out”. Everything else returns a 404 error.
The URL is http://www.thedigitalartist2.com and is hosted on a Windows server.
I already tried an install with WPMU with the same results, and have tried several changes to the htaccess that didn’t work, either.
I’ve done a lot of searching, but haven’t been able to find an answer. And it looks as though I’m not the only one with this issue.
If you are using IIS, you might have to follow the directions suggested here:
I don’t think IIS supports mod_rewrite which is what WP uses (and BP).
Does your site work with BP installed?
Bummer. IIS isn’t really that common with WP and I think the majority of people here are using Apache based hosts.
You could try what is mentioned at the end of this thread: https://buddypress.org/forums/topic/friendly-http-error-messages-causes-404
The specific error it talks about isn’t what you’re seeing though as I get a 404 on your site with Firefox also.
This link talks about a modified 404 error handler to deal with some of the oddities in IIS handling:
If you do get this working, please post back here and/or in the FAQ topic because it seems there are a lot of IIS users running into similar issues.
Thanks for the suggestions and links. I’ll work on it this weekend and report back.
I’m experiencing virtually the same problem. See waterwaywatch.org. The site is based on WP 2.92 and Buddypress 1.2.3 then Buddypress Widget Theme. I have tried various flavours of Buddypress with a variety of other themes aa well as trying to install as a sub-directory and in the root. The current trial is roo-based.
Looking at your website you will see that when you click on the links that work the url on is based on the root and the other contains a reference to /index.php/. When you click on other menu items – say members – the url is based on the root – thus /members/ . Clicking on that gives a raw 404. If you change that to /index.php/members/ you will find that you will get a page from your website that just says ‘Page not found’. (On my website I don’t get ‘page not found, I get the home page).
Now the bad news. I have shown that this is somehow related to /index.php/ but despite playing with this for the past week, I haven’t been able to figure out what is wrong – let us hope that someone here will take the clue and figure out the answer.
One other thing – if you create a new folder in the root called, say, /members/ and place a dummy index.htm in there, then as expected clicking on Members will open that page.
All this suggest to me some sort of mis-redirection – can anyone help?
Hello I am buddypress newbie, I am having the same problem.
I have wp 2.9.2 and the last version of buddypress, All the pages for buddypress goes to a 404 page. I’ve tested it with the default buddypress theme and it does the same, i am using my own theme now.
Does anyone know how to fix this issue, thanks a lot
Please read three posts above you:
Then your problem isn’t the same as the original poster’s.
Try changing your permalinks.
I change permanent link (from default to month and name) but it still giving me 404 error on every BP link beside logging out. I am totally clueless here.
Thanks 4 helping
@qbuster Well when you install this small fix https://trac.buddypress.org/ticket/1426 you can access links like wordpress/index.php/members (so thats something). But all the buddypress links remain being wordpress/members, etc.
So, I tried to change the slug as explained in here https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/ to see if it works change members to index.php/members, but it returns the 404 error.
So any ideas on how to change the links on buddypress to include the index.php ?
Finally I got it working
Well first add the lines from this patch https://trac.buddypress.org/ticket/1426 to bp-core/bp-core-catchuri.php
and then go to bp-core.php and in line 95 put the code like this (note the index.php)
$bp->root_domain = bp_core_get_root_domain() . '/index.php';
Well, also, I have a custom template, and in my navigation I have manually put the links in the header to look like this:
<li><a href="http://yourdomain.com/wordpress/index.php/activity/" title="Actividad">Actividad</a></li>but it probably works also in the bp-default theme.
So, hope this help someone
@claud925 – Hi, I’m having a similar issue, thanks for sharing your solution.
Forgive me, but I don’t see what I’m supposed to use from the patch you linked to. Over at Trac I’m just seeing a ticket with notes about BP_ENABLE_ROOT_PROFILES issues but nothing about what exactly to change in bp-core-catchuri.php
Am I missing the obvious somehow?
And the link to the patch is this one https://trac.buddypress.org/attachment/ticket/2299/iis.patch
- The topic ‘404 error on BP links’ is closed to new replies.