Results 1 to 3 of 3
  1. #1
    Full Member jazzylee77's Avatar
    Join Date
    February 19th, 2005
    Wordpress .htaccess and dyse
    I'm trying to install wordpress as the index page for a dite with dyse stores. When I use the permalinks rewrite the following is needed in .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    this breaks the stores that need rewritten like this

    RewriteCond %{REQUEST_FILENAME}  !-f
    RewriteRule ^(woodworking_tools)(/.*)?$  cgi-bin/dyse/$1&path=$2  [L]
    Can they get along somehow?

    Or do I need to settle for wordpress urls like

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Toronto, Canada
    The WordPress statements say "if the request is not for an existing file and not for an existing directory then rewrite all requests to index.php". Requests intended for DySE are being matched by these WordPress-related statements and thus DySE is never called.

    The solution is to put the WordPress-related statements after the DySE-related statements. In fact, you should put the WordPress-related statements at the very end after everything that is there now and in the future.

    So start with ...

    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(woodworking_tools)(/.*)?$ cgi-bin/dyse/$1&path=$2 [L]

    then follow those statements with the WordPress-related statements. You can skip the 2nd RewriteEngine & 2nd RewriteBase statements; only one of each is required at the start.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. #3
    Full Member jazzylee77's Avatar
    Join Date
    February 19th, 2005
    Thanks, that was it.

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Multi DYSE and htaccess
    By mmcbee in forum Scripts
    Replies: 2
    Last Post: September 8th, 2005, 06:20 PM
  2. DySE::Hono
    By bhey in forum Scripts
    Replies: 2
    Last Post: June 18th, 2005, 10:30 PM
  3. DySE and Bots
    By udpitt in forum Scripts
    Replies: 1
    Last Post: June 8th, 2005, 05:22 PM
  4. How come my DySE not working
    By alvin in forum Scripts
    Replies: 3
    Last Post: May 29th, 2005, 11:11 PM
  5. Need help w/ DYSE
    By g352004 in forum Scripts
    Replies: 2
    Last Post: May 9th, 2005, 03:36 PM

Posting Permissions

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