Forums

hard-coded strings in permalinks? (2 posts)

  1. nttaylor
    Member
    Posted 2 years ago #

    My boss wants to hard code her name into the URLs of her blog, so the url for the "about" page would be something like:

    http://www.somedomain.com/wordpress-2.8.4/wordpress/BOSS_NAME/about

    I've fooled around with the permalinks area of the control panel, but so far it seems that if I put BOSS_NAME into the permalink and then try to go to the URL above, a redirect happens so that BOSS_NAME is eliminated and I'm left with just:

    http://www.somedomain.com/wordpress-2.8.4/wordpress/about

    All the examples of permalinks I've found only use combinations of %tags% - I've never found one with a hard-coded string. Is that just not done? Am I doing something wrong? Is there any way to get the behavior I'm describing?

  2. Samuel B
    moderator
    Posted 2 years ago #

    the only way I know to do it is make Boss an author and use
    %author%
    in the permalinks
    http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags