I am familiar with redirecting URLs that don't have file types at the end, but not with ones that have .php at the end.
The website I'm working on has hundreds of indexed pages on Google that have this at the beginning of the url: http://example.com/index.php?
with more information trailing afterwards.
An example is: http://example.com/index.php?main_page=index&cPath=1_18
The new index of the website is http://example.com/index
or http://example.com
If I put http://example.com/index.php
as the URL to be redirected, will it also redirect all index.php?
Or do I need to put http://example.com/index.php*
as the URL to be redirected or http://example.com/index.php?*
?
Thank you!