Results 1 to 3 of 3
  1. #1
    Full Member jazzylee77's Avatar
    Join Date
    February 19th, 2005
    Posts
    199
    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

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

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

    Or do I need to settle for wordpress urls like http://www.mysite.com/?p=5

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    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 view.pl 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/view.pl?merch=rockler&dir=$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
    Posts
    199
    Thanks, that was it.

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Multi DYSE and htaccess
    By mmcbee in forum Cusimano.com Scripts
    Replies: 2
    Last Post: September 8th, 2005, 06:20 PM
  2. DySE::Hono
    By bhey in forum Cusimano.com Scripts
    Replies: 2
    Last Post: June 18th, 2005, 10:30 PM
  3. DySE and Bots
    By udpitt in forum Cusimano.com Scripts
    Replies: 1
    Last Post: June 8th, 2005, 05:22 PM
  4. How come my DySE not working
    By alvin in forum Cusimano.com Scripts
    Replies: 3
    Last Post: May 29th, 2005, 11:11 PM
  5. Need help w/ DYSE view.pl
    By g352004 in forum Cusimano.com 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
  •