Webmastersite.net
Register Log In

htaccess rewrite issue

Comments on htaccess rewrite issue

tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
htaccess rewrite issue
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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 20, 2012 - 8:10 PM:

The rule is good but you'll need to write <a href="{DIRURL}/links/{LINKID}/" in order to make use of it.
tradenet
Forum Regular

Usergroup: Customer
Joined: Oct 14, 2004

Total Topics: 54
Total Comments: 127
Posted Feb 21, 2012 - 8:43 AM:

Oh right dah!
thx.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.