views:

28

answers:

0

I just found out my host is on ZEUS.. Please can somebody help me with my rewrites:

domain.com/001234

redirects to

domain.com/001234-some-keywords.html

Apache:

RewriteRule ^([0-9]{6}+)/?$ includes/redirect.php?ref=$1 [L]
RewriteRule ^([0-9]{6})-.*?\.html$ templates/default/index.php?ref=$1 [L]

tried this in Zeus:

match URL into $ with ^([0-9]{6}+)/?$
if matched then
    set URL = includes/redirect.php?ref=$1
endif
match URL into $ with ^id/([0-9]+)/?$
if matched then
    set URL = templates/default/index.php?ref=$1
endif