New Zenner
- Join Date:
- Mar 2006
- Posts:
- 15
- Plugin Contributions:
- 0
htaccess file meaning of
Hi
Just wanted to get some Info on the importance of the .htaccess file (and maybe robots.txt) while I am at it.
I recently made a Site (https://www.sasupplies.com) and while the Site was showing up fine in Google and other Search Engines I struggled with getting it to show up in our local South African Search Engine (https://www.ananzi.co.za). As most if not all our Sales would come from the local S.A Market I tried everything to get the Site Listed .Thats confusing- It WAS listed but would not show up for any Searches against it ( I even created some fairly unique Custom Products and searched for them but NO Results came back.) Even more confusing was the fact that if I made a general Search on Ananzi no results were returned But If I chose to search the "SA Directory" , the Site did come back. I checked Metatags etc but could not find a Fault. Then decided to delete the htaccess file and now the Search yields results.
Just wondering if there is something wrong with this File: Copy below and If I should restore if for any Reason. I have got no Idea how this htaccess was created, but if there is something like a Sample htaccess file which I could use please advise.
Regards
Manfred
COPY OF HTACCESS
<IfModule mod_php4.c> php_value session.use_trans_sid 0 </IfModule> RewriteEngine On #RewriteBase /sNews15 RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*) $1 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?category=$1 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z_]+)/([^/]+) index.php?category=$1&title=$2 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z_]+)/([^/]+)/([^/]+)/ index.php?category=$1&title=$2&commentspage=$3 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([a-z0-9_-]+)/([0-9]+)/ index.php?category=$1 articlespage=$2 [L]