WordPress.org

Ready to get started?Download WordPress

Forums

How to edit page permalink structure, if used custom WP directory (6 posts)

  1. voodoo911
    Member
    Posted 3 years ago #

    Hi. Iam using http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    General idea to have root directory as site.com but all pages, posts, cats as site.com/MTB/... o add /MTB/ in all URLs. Iv added /MTB/ in permalink structure so it now appears in posts and cats, but how can i add it to posts URLS ? It doesnt allowed to add parameter in permalink of post..

  2. gholemu
    Member
    Posted 3 years ago #

    I'm not sure I've understood your problem.

    Here's about permalinks.

    And if you want your root to be site.com you should extract the WP archive (the downloaded .zip file containing WP) out of it's folder (wordpress.zip/wordpress/all the files), archive it (wordpress.zip/all the files),upload it to server and then extract it and run the install.

    Then read the permalinks tutorial and set it however you'd like.

  3. voodoo911
    Member
    Posted 3 years ago #

    Main problem - how to add extraparameter to page permalink? so not site.com/page.html but site.com/fld/page.html. But it should be page. not post

  4. gholemu
    Member
    Posted 3 years ago #

    You define your WP directory in Settings->General
    wp-admin/options-general.php

    The address should contain site.com/fld

    But for the part with page.html I'm not sure. I use in permalinks /%postname%/.html and I have site.com/post.html and site.com/page . So no page.html

    Regardless if you want page or post, if you want the adress to contain the actual WP installation you set it up on Settings->General

    But again, I'm not sure I fully understand your problem.

  5. voodoo911
    Member
    Posted 3 years ago #

    Ok. Forget about other dir etc. How can i add folder parameter to page url. e.g. if i use permalink mask /fld/%postname%, page wil still have site.com/page-name url, no /fld/.it will apears in posts only.

  6. gholemu
    Member
    Posted 3 years ago #

    I don't know if it's possible that a WP installation contains different urls (as your case) for pages and posts. Could be that I'm wrong.

    There's a similar issue here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.