I've noticed in my Google Analytics that somehow people are trying to reach some of my articles with a malformed URL. I need to redirect these users to the correct URL. As you can see there's an equal symbol being appended.
Example malformed URL: /content.php?ARTICLEID-ARTICLE-TITLE=
Correct URL: /content.php?ARTICLEID-ARTICLE-TITLE
I tried a simple Apache redirect:
But it doesn't seem to work and it's not dynamic since I don't really know what I'm doing. Can anyone offer some insight or link me to documentation or tutorials that might help?
Example malformed URL: /content.php?ARTICLEID-ARTICLE-TITLE=
Correct URL: /content.php?ARTICLEID-ARTICLE-TITLE
I tried a simple Apache redirect:
Redirect 302 /content.php?ARTICLEID-ARTICLE-TITLE= /content.php?ARTICLEID-ARTICLE-TITLE
But it doesn't seem to work and it's not dynamic since I don't really know what I'm doing. Can anyone offer some insight or link me to documentation or tutorials that might help?