• Resolved mackiec

    (@mackiec)


    Having a completely confusing problem regarding sub-pages of the main wordpress page. Anything beyond my root “example.com/notes/” (notes being the name of my wordpress root folder) is shown as “Not Found – The requested document was not found on this server”. So for example, https://www.syfoto.com/notes looks like a working blog, but if one tries to add a comment or access https://www.syfoto.com/notes/archives, it doesn’t show any sort of page, regardless of what’s added in the wordpress admin area.

    I’ve just added the wordpress blog to accompany my flash portfolio and I can make an educated guess that the problem is due to the root wordpress folder “notes” being directly inside my main flash site folder. So wordpress is looking for an “archives” folder inside the “notes” folder inside my main site folder? I thought the whole point of wordpress was to be able to not worry about this sort of offline file folder hierarchy.

    How can I fix this? Is it as simple as a re-install to a separate area? Any insight would be much appreciated.

    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are all of your WordPress folders and files contained in the /notes folder?

    - /public_html
      - index.html (file that holds your flash site)
      - /notes
        - /wp-admin
        - /wp-content
        - /wp-includes
        - .htaccess
        - index.php
        - wp-config.php
        - wp-(etc).php
    Thread Starter mackiec

    (@mackiec)

    I don’t see any .htaccess file, but the rest are all there. What type of file is the .htaccess? A spotlight search found a .html file of the same name rooted deep in the Library folder of the hard drive.

    Without an .htaccess file a URL like https://www.syfoto.com/notes/archives won’t work.

    Take a look at /wp-admin/options-permalink.php to see what permalink structure your site is using.

    More information is here https://codex.www.ads-software.com/Using_Permalinks

    Thread Starter mackiec

    (@mackiec)

    I’m using the numeric structure (“pretty” permalink?)

    So from what I gather, disabling the pretty permalink will let wordpress automatically generate a .htaccess file for me. I’ll try it and hope that fixes it.

    Though I still can’t find anywhere in the help page as to what type of file the .htaccess is.

    .php? How would I create my own if I want to return to the pretty links?

    Update: Totally worked. What a blindingly simple solution. Thanks for your quick help!

    glad it worked

    AFAIK an .htaccess file is an apache server configuration file that lets WP rewrite query strings (like blogurl.tld/?p=252) as pretty URLs

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New Pages “not found on this server”’ is closed to new replies.