Forum Moderators: phranque
The link looks like: [ses-training.com...]
and i want it to look like:
[ses-training.com...]
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule course/(\.*)/(\.*)/$ /course\.asp?$1=$2
Im using asp chillsoft on an apache server so i do not know if this is causing the problems.
Welcome to WebmasterWorld [webmasterworld.com]!
Your regular expressions are probably incorrect.
(\.*) means "create a backlink from a substring matching any number of literal periods" -- I doubt that's what you wanted.
([^/]+) would be more appropriate, I suspect.
I'd recommend a quick review of the Apache mod_rewrite documentation [httpd.apache.org] and this regular expressions tutorial [etext.lib.virginia.edu].
Jim