Unable to use sub-directory in wordpress site (3 posts)

  1. jackj89
    Posted 2 years ago #

    I've a wordpress site and now i need a sub-directory in my wordpress site with few pages in it, and i have created it but when i use the url to view the pages in sub-directory it says page not found.

    Example http://www.mywebsite.com i have installed wordpress here

    i need http://www.mywebsite.com/sub-directory but currently it is not working.
    is there any way to fix this?

  2. leejosepho
    Posted 2 years ago #

    I think you are actually asking about domain mapping, and I think that is a function of multi-site:

    Before moving in that direction, however, maybe ask your host about add-on domains in sub-folders. In my own case, I even have my primary domain in a sub-folder to help keep everything neatly organized.

  3. WPWhiteSecurity
    Posted 2 years ago #

    Hi Jackj89,

    Would you like to create a sub directory with WordPress pages in it?

    In that case you can do the following:

    1. Create a page and set the URL for it, e.g. page1. That will be the sub directory, for example http://www.mywebsite.com/page1/. If you want to have content when the users access http://www.mywebsite.com/directory/ you can enter such content to this page.

    2. Create a new page, e.g. page2 and from the Page Attributes widget in the sidebar select the page "directory" from the drop down menu. Once the second page is saved, its URL will be http://www.mywebsite.com/page1/page2/

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic