• First, I’m sorry if this has already been answered in another support post. I can’t find a solution to my particular problem.

    My WordPress install is located in the root https://wildgingercr.com, as are the index.php file and the .htaccess file.

    I am trying to change the permalinks to the radio-button option of Post name (/sample-post/). I get the “You should update your .htaccess now.” message.

    WordPress did not create a .htaccess file, so I have created the .htaccess file as described in the Codex.

    I have changed permissions to 755. I (very briefly!!) changed the permissions to 777. Neither of these changed the “If your .htaccess file were writable, we could do this automatically” error message. I also tried the 666 setting that the Codex recommends (through the settings on my FTP client, cyberduck).

    My hosting client (freewebhostingarea.com, on the noads.biz section) advertises the following:
    mod_rewrite enabled (apache 2.2); full dot files support (.htpasswd, .htaccess – posibility to set custom error pages, to block unwanted ips/sites, to turn on/off indexes etc. etc.);

    What am I missing?

    Thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try the custom structure with /%postname%/ and see if it works.

    I’m having the exact same problem. /%postname%/ doesn’t work I still get the “You should update your .htaccess now.” message.

    I don’t like the ugly url’s, but site goes to 500 internal error if permalinks are not set to default.

    Any other suggestions?

    Thread Starter djskafish

    (@djskafish)

    Yeah, still doesn’t work with /%postname%/. I still get the .htaccess message, and the pages display a 404 error (which I didn’t specify before).

    Review using PHP 5.4.17 and that WordPress Mobile Pack…

    To test, deactivate all plugins, switch to default unedited theme. Save permalink setting desired. Load site – make sure to refresh pages. A cached page (menu) will have to old links.

    Thread Starter djskafish

    (@djskafish)

    Ok, so I just found out that my .htaccess file was actually saving and uploading as ” .htaccess” with a space in front of the dot. When I removed the space, I get a 500 error, and the server tells me:

    500 Internal Server Error

    For security reasons, we no longer allow custom Options for .htaccess file.
    Just comment out the lines starting with Options, php_value or php_flag and your script will work without problem.

    So, does that mean I can’t edit the permalinks?

    The code that wordpress tells me to add does not include any Options, php_value or php_flag in it.

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

    Thanks!

    That’s a message from your host. As it’s contradicting what you have in your site, you need to ask your hosts what’s the problem with your .htaccess file that’s quite OK. Also, it seems there might also be other restrictions imposed by your host that does not allow permalinks of your choice.

    Thread Starter djskafish

    (@djskafish)

    Yeah, I understand that the message is from my host. I guess they are the only ones who can answer this question for me then? I’ll get back to the forum when I hear back from them.

    Also: anyone using Mac OSX and Cyberduck, watch out for your .htaccess file getting a space placed in front by default!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Permalinks and .htaccess problems’ is closed to new replies.