Thanks for the tip, however when I remove the code you gave, it does fix the redirect problem. However, it removes the main portion of my homepage and now the homepage just has "What's New" on it. Does anyone know how to correct this?
This is the code I removed from the includes/header.php:
$path_parts=getCurrPathName();
if(strpos($path_parts['basename'], "php") == false)
{
print("<script type='text/javascript'>window.location='index.php';</script>");
}
So now when I type in my website into the brwoser: www.trademarkfashions.com it only shows the "what's new items". But if I type in www.trademarkfashions.com/index.php the whole homepage shows up correctly.
Is there any way to make it so when people type in the website it automaticaly adds the /index.php at the end, this would solve the issue.