WordPress.org

Ready to get started?Download WordPress

Forums

add_rewrite_rule() (2 posts)

  1. dromba
    Member
    Posted 7 years ago #

    He,
    I use WordPress 2.1.1
    How can I add rewrite rule?
    How does it work ("add_rewrite_rule()")?
    Wher can I invite this function?
    I have link: http://www.xxx.com/index.php?ac=5
    This is link for additional custom modul for wordpress.
    I want link http://www.xxx.com/index.php/some/5.
    Can I add rewrite rule with add_rewrite_rule() function?

    Thank

  2. Jeremy Clark
    Moderator
    Posted 7 years ago #

    If your host supports apaches mod_rewrite then just going to you Options > Permalinks > just enable to permalink structure you want. You can have a look here also for more info.

Topic Closed

This topic has been closed to new replies.

About this Topic