Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Jan 2010
    Location
    Washington
    Posts
    223
    Thanks
    34
    Thanked 0 Times in 0 Posts

    Question need help with .htaccess

    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.


    Code:
    http://localhost/search.php?media_only=0&query=keyword&search=1&type=and&category=-1&catid=&mark=bold+text&results=10&db=0&prefix=0
    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.

    Code:
    #   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
    </FilesMatch>
    #
    #
    #   6. Enable Apache to use php includes
    #AddType application/x-httpd-php .htm .html
    #
    #   End of file
    Last edited by cosmicsea; 09-29-2010 at 08:37 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •