WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks - New Blog - (5 posts)

  1. dragonsjaw
    Member
    Posted 4 years ago #

    I am hand migrating an old blog into a new WP install.
    I am considering using this custom permalink style:

    /%category name%/ /%year%/ /%postname%/
    EX: http://www.onmypath.com/trails/2003/marin-best-trails

    I will be using a plugin that changes removes the 'category' base.
    http://wordpress.org/extend/plugins/wp-no-category-base/

    I will only have around 10 categories, no sub categories and it's very low on visitors.

    Does any one see a problem with this permalink set up?
    Or another best option?
    As this old blog starts in 2003,
    I wanted to include the year in the permalink., but not have it be the first tic after domain name.

    Thanks

  2. Tom
    Member
    Posted 4 years ago #

    The only problem I would see is any old links you had out on the web will now be broken, be sure to use something like the Redirect Plugin:
    http://urbangiraffe.com/plugins/redirection/

  3. dragonsjaw
    Member
    Posted 4 years ago #

    Yes I realize I may have some 404s..
    many of the links to my old blog site are coming from another site I have control over, so it means leg work on my part tracking them down and changing to the new WP links.
    Others I hope to flush out with a good 404.php page.
    I will check out that plugin though.

    thanks

  4. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Reset your desired permalink from wordpress admin area and add this code in htaccess:

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

    After that have a check with blog posts and pages.

    Thanks,

    Shane G.

  5. dragonsjaw
    Member
    Posted 4 years ago #

    Shane,
    I see you add that bit of htaccess code to a lot of threads,
    could you explain to me what it does?

    I can see it for someone who may be changing their permalinks on an existing blog, but for a new set up what file name could it be asking for?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags