Forums

[resolved] Permalinks going 404 (6 posts)

  1. nnh001
    Member
    Posted 6 months ago #

    New to WordPress and a new installation so just working my way around it! Theme is Atahualpa 3.7.1

    Installed ok, directory is /news/, permalinks>custom: /news/%year%/%monthnum%/%postname%/

    .htaccess updated...

    None of the links on the site work they all go to error 404. New posts appear as: Not Found
    Sorry, but you are looking for something that isn't here.

    If I change permalinks to default, posts appear but all site links point to root directory and are still not found!

    What am I doing wrong? What do I need to change.

    Thank in advance...

  2. ChristiNi
    Member
    Posted 6 months ago #

    Hi nnh001,

    Since you installed WordPress in the /news directory, there is no need to specify it in your Permalinks structure. Try /%year%/%monthnum%/%postname%/ instead.

    Hope this helps!

  3. nnh001
    Member
    Posted 6 months ago #

    No that's the same as default, all links go to root directory (home page), pages not found..

    I have put it back to default: /?p=123. But it still doesn't appear to know that the installation is in a directory called /news/!!?

  4. nnh001
    Member
    Posted 6 months ago #

    Ok a little further on, it was confused as to the directory it was installed in!! So I had to tell it by making the Site address the same as WordPress address!! Settings>General>Site Address(URL).

    This got rid of directory structure problems however the posts are not being created in the directory where they should be, so still 404!!

  5. esmi
    Theme Diva & Forum Moderator
    Posted 6 months ago #

    WordPress doesn't store posts as files in a directory. They are all stored in your database. Did you change the name of the WordPress folder after you installed it?

  6. nnh001
    Member
    Posted 6 months ago #

    No, I have got it though, so for reference for others:

    I installed in a sub directory not the root so: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    But this wasn't quite correct as I had to change the Site address (URL) to the installation directory, not the root as detailed!!

    Good job I hadn't used php in the root already for index.php...Anyone know what to do if I had???...Surpose it wouldn't of made very much difference to the file anyway?!

    Thankyou to those who tried to help me with this :-)

Reply

You must log in to post.

About this Topic