Forums

[resolved] Pages appear as published but i get a 404 (6 posts)

  1. dedosinfo
    Member
    Posted 6 months ago #

    I'm running WordPress on a server that is quite complicated.
    I make websites for a laboratory of the Brazilian Airforce, thus there are lots of confidential and private stuff that goes on here. I have recently uploaded WordPress with the new theme they asked me; but I'm having problems publishing pages and posts.
    The url: http://www.ccm-ita.org.br

    WHAT'S HAPPENING:
    1. I create a page; in the WP back-end, everything's allright. It tells me the page is published with the url http://www.ccm-ita.org.br/automacao , for example.
    2. When I try to access the given URL, i get a 404.
    3. When I try to change permalink structure, it tells me that .htaccess is not writable.

    WHAT I TRIED:
    1. I have changed permission of the wp-content folder and subfolders to 775. Before I couldn't even upload images to a post; now I can.
    2. I have created a .htaccess file and uploaded it to the WP root with permission to be writable; when I change the permalink settings in WP Settings, the .htaccess file disappears.

    i'm getting lot of pressure to put the website online and I don't know what to do anymore. Help will be much appreciated, I can't give credit to anyone in the website (hell, I can't credit myself either) but I'll be extremely grateful if that helps.

    Thanks

  2. govpatel
    Member
    Posted 6 months ago #

    did you try and switch to default permalinks and see if your posts and pages open

  3. dedosinfo
    Member
    Posted 6 months ago #

    i tried this now and it works.
    the default permalink structure opens the pages as expected.
    but i'd really like to change the permalink structure for all the benefical reasons we know...
    thanks for the feedback govpatel :)

  4. govpatel
    Member
    Posted 6 months ago #

    .htaccess file is the one that rewrites the urls and you need to have Mod_rewrite ON on server and the file needs to writable so that when set your permalinks the file written with code. On most server 644 is enough to make it writable by you as admin.

  5. dedosinfo
    Member
    Posted 6 months ago #

    thanks a lot for the help govpatel!
    following your hints I could solve this.
    plus there was a Apache Module missing.
    thanks!!

  6. govpatel
    Member
    Posted 6 months ago #

    You are welcome

Reply

You must log in to post.

About this Topic