need the about page be "domain.com/about" (3 posts)

  1. seanmadi
    Posted 6 years ago #

    I am trying to make certain pages be in folders. For instance, if i go to domain.com/about it will take me to my about page, WITH the same theme as the rest of my site.

    I know i can create the /about folder and put a index.php file in there, but I don't know what code to use to make the get_header(), get_sidebar(), and get_footer() get the right information from the theme (as well as all the essential wordpress stuff to make everything work correctly.

    I searched everywhere and couldn't find anything, but I know its possible. Does anyone know how I can do this?

  2. Erum
    Posted 6 years ago #

    Just make a page called about and set the slug as about.

    Erum Munir
    Custom WordPress Themes

  3. builtBackwards
    Posted 6 years ago #

    You also need to edit you Permalink settings. On the Dashboard go to Settings > Permalinks.

    For example you could use the "Day and name" settings or make your own custom permalink structure. The "%postname%" tag at the end is the important part. For pages the day and time will be ignored and you will have just "yourblog.com/about".

Topic Closed

This topic has been closed to new replies.

About this Topic