View Full Version : need help with .htaccess

09-29-2010, 09:35 AM
im using sphider plus search engine script and trying to make it have seo friendly urls
like domain.com/search/keyword etc and cannot figure it out

my results vary depending on different categories and search types but im trying to make my results seo friendly for each result no matter what options. here is what it looks like on a basic search.

query=keyword would be the search for keyword.

here is the .htacces file that came with it. i paid $33 for this script and was suprised to see it doesnt have search engine friendly urls. can anybody help me?

the main page is also search.php and i was thinking about making a different index page that is like index.html instead and add the search function to it. i think having an index,html will help seo too right?

any help is appreciated. thank you.

# 1. prevent listing of folders
Options -Indexes
# 2. Redirect client enquiries to search.php
RewriteEngine on
RewriteRule ^search\.html$ ./search.php
# 3. Allow sessions to be started by Sphider-plus Admin
#php_value session.save_handler files
# 4. Always start with this file
DirectoryIndex search.php
# 5. Prevent delivery of .htacess file
<FilesMatch "^.htaccess" >
deny from all
# 6. Enable Apache to use php includes
#AddType application/x-httpd-php .htm .html
# End of file