WordPress.org

Ready to get started?Download WordPress

Forums

Underscores instead of dashes/hyphens in permalinks - set by default (5 posts)

  1. pressas
    Member
    Posted 4 years ago #

    Hello,

    May I ask what are the options how to change standard WP 2.8.5 installation (with plugins or by changing files) so that it would automatically suggest underscores (_) instead of dashes/hyphens (-) in permalinks?

    thanks.

  2. alism
    Member
    Posted 4 years ago #

    Underscores instead of dashes/hyphens then. :-)

    I'm sure you can do this via a few fancy .htaccess Rewrite rules. Bit of Googling might turn something up on that front.
    There's also this plugin:
    http://wordpress.org/extend/plugins/redirection/
    ...which might be worth experimenting with.

    By the way, last I heard, Google prefers dashes/hyphens over underscores. So from an SEO point of view, it might not be the greatest thing to do, but I'm sure there are reasons that you do want to do this besides SEO.

  3. syncbox
    Member
    Posted 4 years ago #

    Not to mention that when something is underlined (default state of a link's text-decoration property), it's sometimes harder to read the url when it uses underscores...

  4. pressas
    Member
    Posted 4 years ago #

    and if I would like to WP modify core files? this must be so simple, I guess only one change somewhere, isn't it ?

    cheers

  5. pressas
    Member
    Posted 4 years ago #

    also,

    the same problem is with tags, if I use two word tags, the link contains dash, eg.: "foreign countries" tag would look:
    http://www.website.com/tag/foreign-countries

    how to make that one to appear automatically with underscore?
    http://www.website.com/tag/foreign_countries

Topic Closed

This topic has been closed to new replies.

About this Topic