Will redirecting remove the ugly URL like posts.php?id=12 or something of the sort
Yes, when URL is example.com/post/12 , redirect it to index.php without rewriting. The script get this string from $_SERVER['REQUEST_URI'] and parse it with function parse_url(). The component 'path' I parse with explode(). That's all.
Let me try it then i share the feedback
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Will redirecting remove the ugly URL like posts.php?id=12 or something of the sort
Yes, when URL is example.com/post/12 , redirect it to index.php without rewriting. The script get this string from $_SERVER['REQUEST_URI'] and parse it with function parse_url(). The component 'path' I parse with explode(). That's all.
Let me try it then i share the feedback