New Landing How can we help? Themeforest Theme Support Flexform Change ?portfolio= to custom URL

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Flexform
  • #24753
    tripthreat2409
    Member
    Post count: 77

    First of all, I searched the topic and read a few threads, but still have a question.

    So right now, the URL structure looks like this:

    http://sitename.org/?portfolio=program-name

    I’d like to change it to this:

    http://sitename.org/programname

    Is this possible?

    #25061
    Melanie – SUPPORT
    Member
    Post count: 11032

    I’m afraid that’s not possible since the custom post type portfolio (?portfolio=) requires a different structure as a regular post or page (/programname)

    Cheers

    #25147
    sta
    Member
    Post count: 36

    Hi Melanie, I’m afraid that’s incorrect.

    Have you checked out Ed’s Knowledge base under Flexform/Portfolio URL Rewrite?

    It’s quite easy to do, but a couple of things to remember. Attached are the settings that I successfully use changing /includes/custom-post-types/portfolio-type.php

    1) Line 48…a different recommendation to Ed. This includes a custom slug to replace portfolio. It’s important to choose a slug that is not used anywhere else. I have a page called “Video” (my portfilio page) so I had to use ‘videos’ as the slug.

    2) Once done, make sure you go to settings/permalinks and save (no need to change settings from ‘post name’). This avoids the 404 error that you will get otherwise.

    3) This will most likely need to be done each time you update the theme.

    Cheers

    #25172
    tripthreat2409
    Member
    Post count: 77

    Thanks for the feedback. Unfortunately, I realized this might not be a realistic solution in our case, because we’d want a one-word (or phrase) custom slug for EACH portfolio. So, we couldn’t have 50+ portfolios all sharing the same custom slug, as we want sitename.org/programname, not sitename.org/customslug/programname.

    For now, we’re trying another workaround where we create a blank post with the custom URL and use the Page Links To plugin to link to the default http://sitename.org/?portfolio=program-name

    #25577
    Melanie – SUPPORT
    Member
    Post count: 11032

    Thanks sta, but I’m afraid I’m correct, he will always need the custom slug, and it was not the question how to change the custom slug.
    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register