Knowledgebase: CDSEO Pro
Can I use CDSEO Pro with ISAPI Rewrite using an .htaccess file or httpd.ini?
Posted by Nick Poindexter on 04 March 2010 04:28 PM
Yes, CDSEO Pro can be used with ISAPI Rewrite using either a .htaccess file or a httpd.ini depending on your configuration. If your server supports .htaccess, simply follow the default instructions provided in step 3 of the CDSEO installation. If your server requires the use of an httpd.ini in your root directory, you can place the following code into that file (you may need to adjust your RewriteBase):

[ISAPI_rewrite]

# ------------------------------------
# CDSEO Pro
# ------------------------------------

# Some servers require this Options directive to be disabled
# Remove # at the beginning of this line to disable:
#Options -Multiviews

# Some servers require the Rewritebase directive to be enabled
# Remove # at the beginning of this line to enable:
#RewriteBase /xcart/

RewriteCond %{REQUEST_URI} !(/admin/|/provider/)
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif|php)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ cdseopro.php

# ------------------------------------
# / CDSEO Pro
# ------------------------------------

Note that on a windows server you will also want to configure your DirectoryIndex to home.php (highly recommended) or disable the redirection of home.php in your CDSEO admin settings. If you are unsure how to set your directory index contact your web-host for instruction.

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: