Lrrr
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] rewrite custom taxonomy slug?Now Im running like http://wordpress.stackexchange.com/questions/5413/need-help-with-add-rewrite-rule
I manualy created a page TAG with taxonomy-slug.php template but now working both urls http://www.danielkral.cz/attachment_tag/sexy
and http://www.danielkral.cz/fotografie/tag/sexy so iM facing to redirect them to second. After I will have to redirect to error page a default manuall created page “tag” which is now working http://www.danielkral.cz/photography/tag and should not be. BUt stil i feel this is not a best way how to do it… it is too awkward , isnt?
added to in htaacessRewriteRule ^attachment_tag/([^/]+)/?$ http://www.danielkral.cz/fotografie/tag/$1 [R=301,QSA,L]but still hrefs from tag clouds targets to attachment_tag… So Im taking this as temporary solution, NOT CLEAN, anyone?consequently i found http://www.danielkral.cz/fotografie/sexy is working becose filename is “sexy” oh no… it is not sexy… grrr
(for first sample url i gave here: correct is fotografie not photography)Forum: Plugins
In reply to: [Media Library Assistant] rewrite custom taxonomy slug?further thoughts:
I do not want create page “tag” as subpage of existing page “fotografie”. It would have an existing url with empty or some default content needed, so it make no sense to me to be clear solution even partial. Is this proper thinking?So working as you suggest here: http://wordpress.org/support/topic/template-query-for-att-tags?replies=7
wordpress itself allows to rename slug “tag” in the tag taxonomy (in admin menu) so Im supposing that it could be done similar on custom taxonomies. Even now, Im not sure, how much its your plugin question and how much it is question corresponding with WP matter at all.
Im not even sure now, if Im asking appropriately concerning your plugin or if I may ask generally – how to filter or hook some wordpress function od maybe directly rewrite it in htaacess (i tried but i thing its not proper way becose one of upper url does not exists- rewriting nice url to another nice url. theres no query).
found somthing about {$permastruct}_rewrite_rules in wp codex but not explained…
Forum: Fixing WordPress
In reply to: Insert category of taxonomy between custom post type and post