Pretty Permalinks

  • Author
  • #1167134


    I had an issue with my .htaccess file, and having wiped it, resolved that issue. Now I am faced with another issue which is that all my permalinks are headed by /blog/ . This is rather annoying as all my previous (and indexed) links are now 404s.

    This is how my CURRENT access file looks like (at least the WordPress part of it).

    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !^(.*)*
    RewriteCond %{HTTP_REFERER} !^http://jetpack\.wordpress\.com/jetpack-comment/ [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule ^(.*)$ – [F,L]

    # END Better WP Security

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

    This is at the end of the file, there is some stuff from a security plugin before that.

    At this moment, In my Permanlinks settings I can only choose from the following:

    Day and name
    Month and name
    Post name
    Custom Structure

    Where it used to be without “blog”. What I want is something like this:

    Custom Structure*%/%Sample-post%/ (*or whatever it was termed – I don’t know the specific terminology).

    That is to say “site – my classifcation – my post”.

    Any suggestions? Thanks, Moriarty

    PS if this is in the wrong part of the forum, please move it where appropriate. M



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you’ll find help at the forums.

    If you don’t understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.



    Only they’re terrible. They don’t know anything about code. Waste of time.



    I’ll have to try something else. Usually if it comes to a .htaccess file it’s me that answers.

    I am very disappointed. Never mind, that seems to be way of WordPress. See ya. M

The topic ‘Pretty Permalinks’ is closed to new replies.