PDA

View Full Version : Categories are linking back to Home page


Riju
09-11-2009, 10:24 AM
rewriting by htaccess is not working !!!!

#################################################
## PHP Link Directory - Apache Server Settings ##
#################################################

# Protect files
<Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
Order deny,allow
Deny from all
</Files>

# Protect directories
<Files ~ "^(files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
Order deny,allow
Deny from all
</Files>

# Disable directory browsing
Options -Indexes

# Follow symbolic links in this directory
Options +FollowSymLinks

# Set the default handler
DirectoryIndex index.php

# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
## Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

above is my htaccess....it is a 2.2.x

my host - 3ix.org

the categories are pointing back to home only
:mad::mad::mad::mad:

I am a total php newbie !!!:o please help me !!!:confused:

drunkenkilla
09-11-2009, 10:43 AM
check this page abakus-internet-marketing.de/foren/viewtopic/t-50607.html

Riju
09-11-2009, 02:03 PM
It was a misplaced # in the .htaccess file..got it...

James
09-11-2009, 05:31 PM
Not misplaced ;)

some servers need it some dont