4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 SE friendly affiliate URL question
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
profitblaze
Junior WebHelper
Junior WebHelper


Joined: 17 Mar 2005
Posts: 1
Location: Sacramento, CA USA

PostPosted: Thu Mar 17, 2005 1:12 am (19 years, 1 month ago) Reply with QuoteBack to Top

First of all thanks for all the helpful advice.
It's great to have a site like this to turn to for help.

My question is this (I think this idea would be valuable for many):

I would like to have members of my affiliate program be able to promote a more SE friendly URL like:
http://profitblaze.net/4/admin

instead of http://profitblaze.net/x.cgi?id=admin

Is there a way to setup a rewrite in the "4" directory to automatically insert the "x.cgi?id=" before the affiliate code?

I have been searching all over the net all day and finally found your site. Can you help?

Sincerely,
Mark Kessler

http://profitblaze.net

________________________________
Why struggle to create ONE stream of income when you can have 20...in 20 minutes!

Go to www.ProfitBlaze.net for all the details
OfflineView User's ProfileFind all posts by profitblazeSend Personal MessageVisit Poster's Website
wscreate
Junior WebHelper
Junior WebHelper


Joined: 24 Jul 2006
Posts: 6

PostPosted: Tue Aug 29, 2006 2:21 pm (17 years, 7 months ago) Reply with QuoteBack to Top

I have not found a way to do this yet and I have searched for months.

________________________________
Dapper Desk Help Desk Software
- Create tickets via email or login
- Unlimited endusers and admins
- Graphical statistics and search function
OfflineView User's ProfileFind all posts by wscreateSend Personal Message
UHTMilk
Junior WebHelper
Junior WebHelper


Joined: 25 Feb 2006
Posts: 5

PostPosted: Fri Apr 18, 2008 11:09 am (16 years ago) Reply with QuoteBack to Top

Hiya,

Maybe I've misunderstood you but if you want modrewrite to change: -

http://profitblaze.net/4/admin to http://profitblaze.net/x.cgi?id=admin

You could use: -

Code:
RewriteEngine On

# Change 4/x to x.cgi?id=x
RewriteRule ^4/(.*)/ x.cgi?id=$1 [L]
RewriteRule ^4/(.*) x.cgi?id=$1 [L]


This'll go in the .htaccess file in your x.cgi directory.

Hope that helps.
OfflineView User's ProfileFind all posts by UHTMilkSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.151911 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme