php - how to manually rewrite wordpress url
Get the solution ↓↓↓I installed an affiliate plugin in WordPress and its affiliate link looks like
http://website.com/?affiliate=1
I want to make this link like http://website.com/1
I tried to edit the .htaccess file with
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?affiliate=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?affiliate=$1
but it doesn't worked .. there is any other solution to do this ?
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: http failure during parsing for
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.