What is in your .htaccess file?
None of your internal links work.
You may want to read this:
http://codex.wordpress.org/Using_Permalinks
Thread Starter
jwwceo
(@jwwceo)
My httaccess has the following:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Okay, that is correct, so you may want to check your Permalink settings as well.
Thread Starter
jwwceo
(@jwwceo)
I’m not sure I’m getting this… it sounds like if I change my permalink structure I need to also modify my httaccess file…and that wordpres will generate the text I need to do this when I create the permalink structure..
based on this from the permalink page..
When you create a permalink structure, WordPress will generate rewrite rules and attempt to insert them into the proper .htaccess file. If it can’t, it will print the rules out for you to copy and paste into your .htaccess file.
where does it print the rules I need????
That’s sort of a holdover from older versions of WordPress. In 2.0 and up, the .htaccess you posted is always the correct one. The permalinks are handled internally instead.
So with your .htaccess being correct, I’d look at what your permalink settings actually are set to instead.
Unfortunately, the Codex hasn’t been updated for the WP 2.x version.
What you quoted was entirely true for WP 1.5.
Now WP handles the rewrite rules internally, however, based on experience – you still have to make the .htaccess file writable if you change the permalink settings. The content of the .htaccess file will not change, but usually, the permalinks start to work 🙂
That’s something I had not thought about as well. Make sure the permissions on the .htaccess are 644. Try 664 or even 666 if that doesn’t work.
Thread Starter
jwwceo
(@jwwceo)
I have tried all those options and still none of the links work…
any other ideas…
Check with your host that mod_rewrite is enabled on the server.
Have the nice permalinks ever worked?
Thread Starter
jwwceo
(@jwwceo)
No. I just changed them from the ugly links yesterday to allow for a Flickr plugin. they require non-default. I will email my host and make sure it is enabled….and post back…that is all I can think of too…
Thread Starter
jwwceo
(@jwwceo)
So I just cheked with my host and mod-rewrite is on…
anybody see anything like this before…
Who’s the host? There are a small handful with a history…
They may need to have AllowOverride configured for your directory as well.
Other troubleshooting ideas at the Permalinks page.