• I would like to have permalinks look like that:
    https://my_site/my_blog/archives/2003/12/25/my_post.html
    instead of the way it looks now (difference being the underscore in individual entry permalink):
    https://my_site/my_blog/archives/2003/12/25/my-post.html
    I’m looking at options-permalink.php for a clue but wish I studied programming instead of saxophone in college right now… Can’t figure it out. Not even sure I’m looking in right places! (yes, I know I’m pathetic…)

Viewing 8 replies - 1 through 8 (of 8 total)
  • You’ll have to make the change in several places; and you’ll have to make the change in several places every time you upgrade… are you sure it’s worth it?

    Thread Starter misterx

    (@misterx)

    well, I’m trying to switch from MT where I have my permalinks underscored and I wish I could keep them working (for search engines and people linking to my stuff) but if it’s too complicated, I guess I’ll deal with it.
    Thx for the feedback ??

    Hmm, sounds like a custom rewrite rule might work for that – you’ll need to handle the ‘.html’ as well since WP doesn’t generate the .html.
    Maybe one of the mod-rewrite gurus can help you out.

    Can’t you wrap a < span class=”perm_under” > around the tags? Just add it to your CSS file? This is a wild guess on my part…
    Craig.

    Thread Starter misterx

    (@misterx)

    alexkingorg: that’s what I was thinking about. Although, the .html part is already taken care of in the .htaccess file w/

    RewriteRule
    ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z-]+)?.html

    NuclearMoose: sorry but I have no idea what that means. Can you modify links with CSS? I don’t know anything about that…
    Thanks!

    Yeah, “keeping the old links working” and “changing the new links” is an entirely different matter.
    I’m pretty sure it’s doable, but this really isn’t my realm of expertise. ??
    NM, I don’t think CSS can help us here.

    DOH!
    I finally understood the request…I was assuming that he wanted the link itself to be UNDERLINED rather than having the dash character in the link itself be converted into a underscore.
    It’s like my last carpentry project where I cut that damn board THREE times and it was STILL too short. I guess I need to adopt a “read the post twice before posting” style.
    Craig.

    Thread Starter misterx

    (@misterx)

    *bump*
    I really don’t wanna go through all my links in my posts to make them work…
    Any redirect-guru w/ a little free time out there?
    Thanks! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do I get underscore in Permalinks?’ is closed to new replies.