Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove /forum from the URL?


  • gerryj
    Participant

    @gerryj

    Hello,

    is there any way to remove the /forum from the URL. It doesn’t fit with the breadcrumbs and it isn’t even an actual page.
    I already looked online but any answers to my question that I found were already ancient and deprecated.
    I also tried to remove the Forum Prefix, but this just removes my custom prefix, not the static /forum one.

    Is there any option in the backend I may be missing or maybe a script that I could use?
    I would also have no problem with coding a bit.

    Thanks in advance
    Gerry

Viewing 2 replies - 1 through 2 (of 2 total)

  • gerryj
    Participant

    @gerryj

    Anyone got an Idea?
    Any help would be appreciated

    Gerry


    Neha wilas
    Participant

    @rachana7

    Disable the “Forum Root Slug” option in WordPress admin:

    Go to “Settings” → “Permalinks” in the WordPress admin area.
    Locate the “Forum Root Slug” option and remove its value or set it to an empty field.
    Save the changes.
    Update the permalink structure:

    After removing the “Forum Root Slug” value, click the “Save Changes” button in the “Settings” → “Permalinks” section.
    This action refreshes the permalink structure and updates the URLs.
    Update rewrite rules (if necessary):

    If you experience URL routing issues or encounter 404 errors, you may need to update the rewrite rules.
    Go to “Settings” → “Permalinks” again and click the “Save Changes” button.
    This step regenerates the rewrite rules and resolves any potential conflicts.
    Update links and references:

    Check internal links, navigation menus, or any references to the forum pages.
    Make sure they are updated to reflect the new URLs without the “/forum” slug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar