remove the .txt extension.
I did that. I still get a 404 for all my pages.
My custom permalink structure is /%postname%/
This is what my .htaccess file has in it
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
try doing an update permalinks again since you’ve removed the .txt extension.
I did that. I’m not sure what else to do. I RTFM and it still doesn’t work.
Is this a style sheet problem? I really don’t know. It worked for a minute but was pointing the old site and not the template.
So much for stuff being easy.
check your file permissions on it. change it to 777. you said it was writable but open it up all the way. and obviously make absolutely sure that your file is “.htaccess” not “.htaccess(anythingelse)”
Back up a little and make sure that the htaccess is even being read. Put some garbage in there. If you still get a 404, then apache is ignoring the htaccess. If you get a server error, then you at least know that the file is being used.
Here is the error I get for one of my pages.
Not Found
The requested URL /artists/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The permissions are set to 777. That was the first thing I did.
My custom structure is currently /%postname%/. I have also tried some of the other ones shown in the console.
My htaccess files says
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
That came so soon after my post, I’m guessing it wasn’t a reply to me? If so, then looks like your server is ignoring the htaccess file entirely. You need to change that before permalinks will work.
I guess based on what adamrbrown is saying, apache is ignoring the file.
It’s set to 777. I RTFM. Not sure how to make apache see it.
Talk to your host about enabling you to use .htaccess. Some servers come setup by default to ignore .htaccess files. I know CentOS is one of them.
htaccess files are allowed. i’ve been reading all the forums, i’ve rtfm, not sure what else to do except forget about using wordpress. my site is a mess because all the links are busted and it’s not good.
They might be allowed but your host isn’t letting apache process it, talk to your host about this issue. You can set your permalinks back to default and they will work until your host gets this sorted out.