• Hello.

    I tried a dozen times to change the permalink of my post but it just won’t work. When i change the structure to ‘post-name’ there will pop-up that i have to make my htaccces writable. Sounds easy, right – but nothing changes when i do this. The htacces it’s writable but still i can’t change my permalink. This is what my htacces tells me:

    {\rtf1\ansi\ansicpg1252\cocoartf1344\cocoasubrtf720
    {\fonttbl\f0\fmodern\fcharset0 Courier;\f1\fnil\fcharset0 Monaco;}
    {\colortbl;\red255\green255\blue255;\red48\green45\blue41;\red239\green244\blue246;}
    \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
    \deftab720
    \pard\pardeftab720

    \f0\fs24 \cf0 \expnd0\expndtw0\kerning0
    RedirectMatch 301 ^/([^/]+)/$ http://www.oliverney.com/$1
    \f1 \cf2 \kerning1\expnd0\expndtw0 \
    <IfModule mod_rewrite.c>\
    RewriteEngine On\
    RewriteBase /
    \f0 \cf0 \cb3 \expnd0\expndtw0\kerning0
    wordpress/
    \f1 \cf2 \cb1 \kerning1\expnd0\expndtw0 \
    RewriteRule ^index\\.php$ – [L]\
    RewriteCond %\{REQUEST_FILENAME\} !-f\
    RewriteCond %\{REQUEST_FILENAME\} !-d\
    RewriteRule . /
    \f0 \cf0 \cb3 \expnd0\expndtw0\kerning0
    wordpress/
    \f1 \cf2 \cb1 \kerning1\expnd0\expndtw0 index.php [L]\
    </IfModule>\
    # END WordPress\
    }

    How can i solve that?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • How did things such as \f0 \cf0 \cb3 \expnd0\expndtw0\kerning0 get into your htaccess? This is the first time I have ever seen anything like that in htaccess, and I would guess that might be what is somehow confusing WordPress on the matter of your htaccess being writable.

    Thread Starter kmwald

    (@kmwald)

    I really have no idea. I don’t know what that means.

    Thread Starter kmwald

    (@kmwald)

    Could please someone help me with that?

    try manually putting in generic htaccess code by hand

    this is the most basic version from the codex

    # 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
    Thread Starter kmwald

    (@kmwald)

    The funny thing this stands inside the file. Also i just could name my htaccess without the dot at the beginning. When i set the dot the file disappear in my ftp program and my homepage breaks with an internal error.

    make sure you have “show hidden files” enabled in your ftp client

    some popular clients are documented here

    and yes, prefacing the filename with a “.” is required in almost all deploys

    and you’ll want to replace the existing contents with that basic code, if you are concerned you can always make a backup of your htaccess (ie rename it to .htaccess-old)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Problem with htacess / Permalinks’ is closed to new replies.