Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Links going to 404pageswhen permalinks set to POSTNAME WordPress


Works fine when the permalinks are set to default ..... wft?

Any help greatly appreciated.

Does my .htaccess file need some surgery! :)

Home page fine, rest of the pages to to

Answers (4)


Arnav Joy answers:

is your .htacess file writable?

Arnav Joy comments:

write following code to your htacess file

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


Ross Wilson answers:

Also, make sure you have mod_rewrite enabled for your server. You should be able to see it in the output from phpinfo();


Leslie Bogaerts answers:

If your .htaccess file isn't writable, you need to make it writable (644 permissions should do), then resave the permalinks and test. If that didn't work, you'll have to check the code in your .htaccess file to see if the correct has been added to allow the permalinks.


Abdelhadi Touil answers:

Ceck your .htacess file permission, maybe it is not writable. Try to go resave your permalink settings, if .htaccess it's not writable you should see a notice in permalink settings page. Make it writable and resave permalink setting, after that you should set the .htacess file permission as they was to be safe.
Good luck. (Sorry for my bad English).