Hello so I’ve not done much with rewriting or otherwise modding the url within the htaccess file. Here’s what I’m trying to do:
Client’s website has certain pages that are being generated outside of WordPress by an integrated 3rd party platform. These pages all end in a numerical ID. What I’m trying to do is a rewrite to check if the url has that numerical id and then add a query string at the end: ?clearcache=1.
If anyone has any insights I’d really appreciate it. I don’t really get how these regular expressions work.
The url also contains the “category” (not in wordpress terms) so I guess I could write separate rules to mach specific words and add the query to the end?
Thanks
[ad_2]
Can you give us an example of the URLs?