Hi everyone,
I was excited to redevelop my old, handmade HTML site using EE. After relaunching the site (by and large a huge upgrade), I noticed that my site has disappeared from search engines. This is because all of my HTML pages, of the type example.org/country2.html, are now returning 404 Not Found errors.
I found support in the EE wiki to make my old index.html redirect to index.php using .htaccess, but after several frustrating weekends spent searching here and the broader web, I’ve not been able to find the code to make a redirect rule that says example.org/ANY_PHRASE.html—> example.org/index.php. (By ANY_PHRASE I mean things like faq.html, col2.html, contact.html, etc—I want all old URLs to direct to the new homepage).
Can anyone help me write this rule?
Thanks in advance—I realize it is probably basic but I am lost on this one.
Eric