Making WordPress.org

Opened 10 years ago

Closed 10 years ago

#1135 closed defect (bug) (fixed)

Forums theme: Forum link in header has wrong URL

Reported by: jubstuff's profile jubstuff Owned by: ocean90's profile ocean90
Milestone: Priority: normal
Component: International Forums Keywords:
Cc:

Description

Hello,

in the Italian forums the <h2> in the header points to http://it.wordpress.org/forums/forums/ and not to the correct URL http://it.wordpress.org/forums/.

Attachments (1)

it_forums_double.png (41.9 KB) - added by jubstuff 10 years ago.

Download all attachments as: .zip

Change History (11)

#1 @netweb
10 years ago

  • Summary changed from Forums theme: link in header has wrong URL to Forums theme: Forum link in header has wrong URL

#2 @jubstuff
10 years ago

Hello @netweb,

Thank you for your checks.
This morning it was wrong. Now it's correct! Maybe someone fixed this?

#3 @netweb
10 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

There was a "behind the scenes" change ~36 hours ago here that may have fixed it, or may have been a cache issue.

I'm going to close this ticket, if the same thing resurfaces feel free to reopen it.

#4 follow-up: @ocean90
10 years ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I fixed this a fre hours ago. This seems to be a bug in bbPress which I want to investigate first, reopening.

#5 in reply to: ↑ 4 @netweb
10 years ago

Replying to ocean90:

I fixed this a fre hours ago. This seems to be a bug in bbPress which I want to investigate first, reopening.

Not so much a bug, more a configuration issue of how the site is setup, I think, most likely related to the "forum root slug", the "page" being used for the "forums" or the "template" page being used for the forums, or a combination of these:

Dashboard -> Settings -> Forums -> Forum Root Slug -> Forum Root set to support <- wordpress.org/support
Dashboard -> Pages -> Edit the 'Forums' page and select the page template bbPress - Support (Index) and save the page
Dashboard -> Settings -> Reading -> Select a 'Static Page' for the 'Front Page' and select Forums

The above is taken from the "original setup instructions" as we were developing the theme and attempting to replicate the environment before we had the VVV WP-Meta environment to help: https://github.com/bbpress/wpbbp#bbpress-2x-configuration

#6 @ocean90
10 years ago

We don't need a forum root since "forums" is the path of the site. _bbp_include_root is disabled, _bbp_root_slug shows in the settings "forums". But I'm sure it's not the current value because when I save the settings again I get http://it.wordpress.org/forums/forums/. Entering something invalid like a "/" and make the home URL http://it.wordpress.org/forums/ again.

#7 @netweb
10 years ago

Right, the site root is https://it.wordpress.org/forums, so both _bbp_include_root and _bbp_root_slug should be disabled.

Currently as the site root is https://it.wordpress.org/forums then adding the _bbp_root_slug of forums that is how we end up with https://it.wordpress.org/forums/forums, I think ;)

#8 @ocean90
10 years ago

bbPress doesn't allow me to make _bbp_root_slug empty, it reverts to "forums". That's why I add a "/" to the field.

#9 @ocean90
10 years ago

Related: #1127

#10 @ocean90
10 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from reopened to closed

In 1753:

Forums Theme: Use home_url() for forums link in header.

bbp_forums_url() returns the root slug too, which we don't want here.

fixes #1135.

Note: See TracTickets for help on using tickets.