I've got a product-particulars template during my theme that handles display for various items in line with the URL.
Automatically, WordPress allows several to become passed towards the template page by appending towards the URL:
However, I wish to get this to to become more Search engine optimization Friendly utilizing a slug:
product/sandals. Yet, after i achieve this, WordPress no more finds the page automatically.
I attempted the next ReWriteRule without any luck.
RewriteRule ^product/([\w\-]+)/?$ product-details/?slug=$1 [L]
How do i have this practice slug delivered to web site. I would rather keep my way through WordPress, but am prepared to add the
Credit to Richard for responding to this within the OP comments. I have outlined the resource for completeness and also to mark this clarified.