WordPress Virtual Subdirectories (5 posts)

  1. AjaniMgo
    Posted 8 years ago #

    I hope "virtual subdirectories" is the correct word to use here...

    WordPress by default has only three subdirectories installed when created: wp-content etc.

    However, it would point to permalinks and pages via using URLs to point to non-existent subdirectories e.g. your page called "Disclaimer" points to http://www.domain.com/disclaimer when there is no /disclaimer in your htdocs folder.

    In case you need my URL, it is here: http://ajanimgo.com

    I suspect it is a problem of .htaccess but I can't be too sure - help!

  2. moshu
    Posted 8 years ago #

    OK, what is the question. If you use the "nice permalinks" then yes, WP will create URIs like

    N.B. It does NOT do it by default, you have to set it like that. Obviously, you did in admin > Options > Permalinks.
    On the other hand, probably, you didn't read before attempting to do it:

  3. AjaniMgo
    Posted 8 years ago #

    Wow that's fast.

    Well actually I did that quite long ago, this technically isn't a fresh WP installation. I moved these from my old site.

    What could be wrong?

  4. moshu
    Posted 8 years ago #

    What could be wrong?

    Tons of things...
    You still have the old URIs in the database
    You did NOT update your Permalink options on the new server
    You don't read the suggested resources before replying...

  5. AjaniMgo
    Posted 8 years ago #

    Oh, I've found the problem. It's dead stupid.

    When moving the site I moved my .htaccess file seperately from the other files. I saved it as htaccess, forgetting the
    "." in .htaccess

    Hah, thanks alot!

Topic Closed

This topic has been closed to new replies.

About this Topic