• Resolved nnh001

    (@nnh001)


    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…

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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!

    Thread Starter nnh001

    (@nnh001)

    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/!!?

    Thread Starter nnh001

    (@nnh001)

    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!!

    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?

    Thread Starter nnh001

    (@nnh001)

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

    I installed in a sub directory not the root so: http://codex.ww.wp.xz.cn/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 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Permalinks going 404’ is closed to new replies.