Does AMP support add_rewrite_rule
-
Hi there,
you have build an awesome plugin.
But I need your help. I’ve build a page template with an rewrite_rule. E.g. if you call exmaple.com/test/contentA – contentA is displayed inside the page and if you call exmaple.com/test/contentB – contentB is displayed inside the page.Here you see my code, which do this:
add_rewrite_rule(
‘test/([^/]*)’,
‘index.php?pagename=test&testcontent=$matches[1]’,
‘top’
);
add_rewrite_tag(‘%testcontent%’, ‘([^&]+)’);Does AMP supports this?
I want to send all my sites exmaple.com/test/contentA … exmaple.com/test/contentX (more than 4000) to Google.Thanks a lot!!
BR
Matthias
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Does AMP support add_rewrite_rule’ is closed to new replies.