Forum Moderators: open
I have a site running on a Windows server (IIS) which is currently being optimised. The SEO guys have recommened that i set a redirect for ***.domain.com/index.php to forward to ***.domain.com/ as Google is indexing ***.domain.com and ***.domain.com/index.php as seperate entities.
All the 301 redirects done previously have been done in IIS through the permenant redirection tool in the Home Directory tab for the site profile. If i do this for the index.php (to permenantly redirect to ***.domain.com) then its going to get stuck in an infinate loop as IIS is loading index.php by default which in turn is redirecting back to ***.domain.com and so on. Obviously removing the default document type is just resulting in directory listing.
Can anyone help with how i may be able to achieve what they are asking? Im pretty stumped.
Thank you in advance.
Also, the meta method doesn't allow the status code to be set in the header i.e. 301...