How to change the url name of a portfolio page

Community Forums Forums Design Tips and Tricks How to change the url name of a portfolio page

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  cangri787 11 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #62006

    Toon61
    Participant
    Post count: 39

    Hi all,

    I’ve created a portfolio page on my Executive theme.
    The address bar in the browser says the page’s url is ‘mydomain.com/portfolio’, but I want it to be ‘mydomain.com/projecten’.
    Can this be done, and how?

    #62035

    DWooly824
    Participant
    Post count: 16

    Hi,
    Yes, when you go to edit that page, underneath the page name entry field is a permalink. You can edit the permalink there to “projecten.” Hope that helps!
    -Danica

    #62207

    Toon61
    Participant
    Post count: 39

    Danica,

    You’re right if the portfolio page was just an ordinary page like many others. But the portfolio page is a dynamically created page consisting of items in the portfolio section of WordPress.
    When you create a portfolio page, there is no physical page called ‘portfolio’ in the pages section. It’s a real-time rendered page.
    This leaves the question; how can I change the name of that page?

    #63356

    Toon61
    Participant
    Post count: 39

    Well, I’ve figured this one out myself, and it is really simple.

    Change the rewrite in the functions.php to this:
    ‘rewrite’ => array( ‘slug’ => ‘projecten’ )
    And now go to ‘Settings/Permalinks’ in WordPress and save the permalinks.

    Done!

    #64418

    cangri787
    Participant
    Post count: 6

    Thanks toon61

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

You must be logged in to reply to this topic.