Search the Community
Showing results for tags 'directory'.
-
Hi, I'm not sure why but search engines are indexing the following urls on my site: domain.com/index.php/about-us domain.com/index.php/contacto domain.com/index.php/any-word-can-go-here These aren't URLs I'm using or are in my sitemap. Can anyone tell me how I can turn off these URLs after the .php ? I'm not sure why this is happening or what words to use to find out what my problem is.
-
I am trying to include a file from another directory and so far I keep getting errors such as "failed to open stream: No such file or directory in...". Here's my directory setup. home/ /template/header.php /members/private/settings.php All I want to do is include "header.php" file on my "settings.php" page. Here's an example. settings.php <?php $dir = dirname(__FILE__); require_once $dir.'/template/header.php'; Can you tell me what's wrong with it? It's not working.