Timeline for Can't get rewrite rules working
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 13, 2012 at 22:00 | vote | accept | FLX | ||
Aug 7, 2011 at 12:13 | vote | accept | FLX | ||
Aug 7, 2011 at 12:13 | |||||
Aug 7, 2011 at 0:39 | history | tweeted | twitter.com/#!/StackWordPress/status/100003166376050688 | ||
Aug 7, 2011 at 0:25 | answer | added | Milo | timeline score: 1 | |
Aug 6, 2011 at 23:48 | comment | added | Chris Carson | I've had problems with rewrite_rules myself. In my case I didn't even mess with the rules -- I just defined a custom post type with a slug that was different from the post type name. The new slug didn't work until I deleted the rewrite_rules option in the database manually (note -- not on a production site.) This leads me to believe that the WP code is buggy. Let me know if you figure it out. | |
Aug 6, 2011 at 23:19 | comment | added | FLX | It's a slug actually. However, that didn't fix it. :( | |
Aug 6, 2011 at 22:02 | comment | added | Chris Carson |
Do you want the e= parameter value to be a string or digits? In your question intro it's a string/slug, but in the code your pattern (edit)/(\d*)$ would match 'edit' and then digits.
|
|
Aug 6, 2011 at 18:57 | history | asked | FLX | CC BY-SA 3.0 |