Ask your WordPress questions! Pay money and get answers fast! (more info)

Links going to 404pageswhen permalinks set to POSTNAME WordPress

  • SOLVED

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

Any help greatly appreciated.

Does my .htaccess file need some surgery! :)


http://192.232.219.82/~sevencon/

Home page fine, rest of the pages to to http://192.232.219.82/404.html

Answers (4)

2013-08-20

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]
</IfModule>
# END WordPress

2013-08-20

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();

2013-08-20

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.

2013-08-20

Abdelhadi Touil answers:

Hi.
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).