Timeline for add_rewrite_rule doesn't work for me
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 28, 2015 at 17:23 | comment | added | nicocube |
Ok, I understand. I find this : add_filter('redirect_canonical','my_redirects',10,2); code function my_redirects($redirect_url, $requested_url) { // do stuff return $redirect_url; } code But I don't know how can I write this. I tried to change .htaccess too. It is a wrong way too ?
|
|
Sep 28, 2015 at 14:59 | history | answered | TheDeadMedic | CC BY-SA 3.0 |