htaccess rewrite issue
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on htaccess rewrite issue
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
Posted Feb 19, 2012 - 4:12 PM:
I've added <a href="link.php?id={LINKID}" {EXTERNALLINKS}>{LINKTITLE}</a> in Type Manager and then wrote the rule:
RewriteRule ^links/([0-9]+)/?$ link.php?rewritten=1&id=$1
But doesn't work.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The rule is good but you'll need to write <a href="{DIRURL}/links/{LINKID}/" in order to make use of it.
Forum Regular
Usergroup: Customer
Joined: Oct 14, 2004
Total Topics: 54
Total Comments: 127
Oh right dah!
thx.