• Good Day,
    I tried to customize Permalink with only %postname% but it’s not working for Twenty Eleven theme. I have also got twentyeleven child directory.
    Also have amended .htaccess file as below –

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

    My website is https://www.bawibride.com

    Can any one suggest what’s needs to be done…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Check that mod_rewrite is enabled on your Apache configuration and that you have AllowOverride All for your WordPress directory.

    It should look something like this.

    <Directory />
       AllowOverride All
    </Directory>

    With mod_rewrite and AllowOverride All that should let your permalinks start working. Make a backup copy of any configuration files before you edit them just to be safe.

    Thread Starter srp66

    (@srp66)

    Thanks Jan.
    Will you be able to tell me where under which directory to check mod_rewrite and AllowOverride All. I am a bit new with WordPress.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It’s different with each host. Are you managing your server yourself or do you have your host doing it?

    The reason I’m asking is that if it’s you then if you let us know here what Linux (or Windows) you’re using then I or someone else can provide more specific answers.

    If it’s your host that’s managing your web server then show them this thread and they may be able to help you.

    Thread Starter srp66

    (@srp66)

    It is Linux mate… I am managing the server…

    Thread Starter srp66

    (@srp66)

    Hi Jeff – as requested I found out .htaccess and now it looks as below –

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule /admin/images/(.*) /images/$1 [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Hope the above is correct. Where to find AllowOverride in order to check AllowOverride All

    many thanks for your help mate… Much appreciated…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Structure Permalink not working for Twenty Eleven Theme’ is closed to new replies.