WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] top level page slug (8 posts)

  1. grough
    Member
    Posted 6 years ago #

    Hi,

    I'm using WordPress' Pages as a simple CMS. Is it possible to use a Page's slug at the top level to create a short URL?

    for example, to have the page http://example.com/about to link to a Page with the slug "about".

    I imagine this is possible, but don't really see any options in the admin panel for Page URL/permalink structure, only for Posts.

    Thanks

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Changing the permailink structure to date and named based will accomplish that.

  3. grough
    Member
    Posted 6 years ago #

    Thanks - this generates the correct URL structure, but I'm getting 404s on all Pages now. Running Apache 1.3. Any ideas?

  4. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Do you have mod rewrite installed and working.

  5. Chris_K
    Member
    Posted 6 years ago #

    Make sure your .htaccess was updated after visiting Options -> Permalinks. Or, while there, scroll down and make sure WP isn't asking you to manually make changes (it'll do that if it can't create/open your .htaccess file).

    Make sure your host supports mod_rewrite and has enabled AllowOverrides.

    More troubleshooting at the Permalinks page, or just search here for permalinks.

  6. grough
    Member
    Posted 6 years ago #

    My .htaccess file isn't being updated, and WP isn't asking me to manually make changes.

  7. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Change permissions on your .htaccess to 666 then update your permalink settings.

  8. grough
    Member
    Posted 6 years ago #

    Thanks, that works :)

Topic Closed

This topic has been closed to new replies.

About this Topic