• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

htaccess rewrite...


Active member
this isn't for xenforo so unsure where to put it >.<

we use an affiliate system on our site an the url goes to


and this one links to products

is it possible to have them like this?

I know its possible but im just so usless at this stuff I've been trying all day!

I thank anyone in advance who trys to help :D

Jake Bunce

XenForo moderator
Staff member
RewriteEngine On

RewriteRule ^affiliate/([0-9]+)/([0-9]+)$ aff.php?aff=$1&pid=$2 [L]
That should allow the friendly URL to call on the non-friendly one. Visit the friendly URL in your browser to see if it works.