Forums

get_permalink($category) (3 posts)

  1. nicksoper
    Member
    Posted 2 years ago #

    Hey There,

    Does anyone know if it is possible to do something like: get_permalink($category) ? Where it outputs the permalink with the url structure determined by the mod_rewrite.

    At the moment I am using <?php echo bloginfo('url');?>?cat=42"> which goes to the category and redirects to the pretty permalink.

    I was hoping to use php to output a static link in the hope of better SEO.

    Your thoughts would be appreciated.

  2. nicksoper
    Member
    Posted 2 years ago #

    bump. This would be useful if anyone has figured it out.

  3. hal_robertson
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.