dynamic urls and links on one web page

Posted by John on Pro Webmasters See other posts from Pro Webmasters or by John
Published on 2011-01-21T22:27:46Z Indexed on 2011/02/20 23:32 UTC
Read the original article Hit count: 410

Filed under:

I am trying to figure out how to create dynamic links and urls on a static webpage. What I want to do is the following:

I have a single webpage for example: MYWEBPAGEdotCOM/INDEX.HTML

that will always look the same, except for one link on the page. the link would be on the page for example:

LINK TO AFFILIATE: affiliatedotCOM/my-affiliate_code_here_DYNAMIC_REFERER

the only thing would change is the "DYNAMIC_REFERER" with every dynamic url on this page:

MYWEBPAGEdotCOM/INDEX.PHP_id=test1
MYWEBPAGEdotCOM/INDEX.PHP_id=test2
MYWEBPAGEdotCOM/INDEX.PHP_id=test3
MYWEBPAGEdotCOM/INDEX.PHP_id=test4

which would only hange the dynamic link on the page to:

affiliatedotCOM/my-affiliate_code_here_test1
affiliatedotCOM/my-affiliate_code_here_test2
affiliatedotCOM/my-affiliate_code_here_test3
affiliatedotCOM/my-affiliate_code_here_test4

Can someone tell me how I could go about doing this?

I just dont want to have to make 100's of pages, as this would prevent me from having to do so.

© Pro Webmasters or respective owner

Related posts about dynamic