Support » Fixing WordPress » New pages 404 error

  • Resolved demain10


    I have just created a new website. .

    Any new page I create just 404s. I have read the support forums about permalinks, I have adjusted my permalink settings.

    I have copied the code given code on the permalinks page and pasted it into a .htaccess file on my root directory using the built in FTP on Nothing seems to change. I apologize if this problem is old hat, but I really don’t understand how any of the other posts on this topic have been resolved. I feel like I am missing some important detail.

Viewing 8 replies - 1 through 8 (of 8 total)
  • What did you paste in .htaccess? Usually you don’t need to meddle with that file, as WordPress will take care of it.

    Try deleting your .htaccess file altogether (or better, rename it to htaccess.txt). Then in the WordPress admin, change the permalinks to the default and save it. Change it BACK to the setting you have right now, save it. By doing this, WordPress will generate a new .htaccess file.

    See if that helps?

    I actually could not find a .htaccess file anywhere in the directory. I looked through all the folders (I did go into the settings panel and tell it to show hidden files that begin with .). So i created one in TextWrangler and added it to the root directory. It didn’t do anything.

    But this is all I pasted into that file:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    I changed the settings to default and all the pages work.

    So, now, I guess the question is why WordPress doesn’t seem to generate a .htaccess file when I change the settings. Or Where/how do I need to create a .htaccess file with the given copy/paste code so that I can create pretty permalinks.

    Does your server have the mod_rewrite module installed/enabled?

    I’m not sure. From what I’ve read I thought that was supposed to be in the .htaccess file.

    I am having the same problem I also changed the settings to default and now all the pages load but in the address bar they have a odd looking address lie instead of how can this be fixed?

    Sweet demain10 are you by chance on ipage? if so when you go to the settings and change it to reflect the showing the address right look down to bottom of the page wordpress says the htaccess file is not writable and you need to paste in this code……. copy that,go to ipage control panel,under additional tools the first one is htaccess editor open that and paste in the code. address look right now =)

    Well I finally figured out how to edit my .htaccess file. Thanks to everyone for the help.
    Thanks to tumbleweed65 for the suggestion of where to find that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘New pages 404 error’ is closed to new replies.