Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress: Ignore the end of a url

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #235646
    noahgelman
    Participant

    I have a url like:

    example.com/company

    and I want the following links to use the same page:

    example.com/company/45
    example.com/company/banana
    example.com/company/tiger

    Basically, I just want to ignore the rest of the url and just load the base /company page. As of right now the other pages just 404 obviously. How can I set it up to do this?

    #235660
    Shikkediel
    Participant

    Sounds like one for a htaccess rewrite rule, which I’m no expert at. For that you’d need server access though (at least ftp). Without that, you could create a dummy page with a redirect in the head.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.