| | |
php rewrite question
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2005
Posts: 1
Reputation:
Solved Threads: 0
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
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
Check out our Apache forum (it's a subforum within Web Hosting) for something called mod_rewrite. You should find your answer there
What you're looking for can be done with an edit to your .htaccess file.
What you're looking for can be done with an edit to your .htaccess file. •
•
Join Date: Jul 2004
Posts: 234
Reputation:
Solved Threads: 8
What you are saying is ForceType. For more information http://www.seochat.com/c/a/Search-En...ptimization/3/
Like cscgal said, mod_rewrite does work well. You may want to take a look (easier for beginner)
http://www.webmaster-toolkit.com/mod...enerator.shtml
Like cscgal said, mod_rewrite does work well. You may want to take a look (easier for beginner)
http://www.webmaster-toolkit.com/mod...enerator.shtml
![]() |
Similar Threads
- Simple PHP Regex Question! (PHP)
- html/php formatting question (PHP)
- [ask[PHP quiz script] how to show 1 question per page ?? (PHP)
- js php question (PHP)
- Events / News Section - PHP/MySQL Question (PHP)
- A General Question? (ASP.NET or PHP) (ASP.NET)
- Am I looking for PHP? (PHP)
Other Threads in the PHP Forum
- Previous Thread: Format Number as percentage.
- Next Thread: new to php, need help adding a forum
| Thread Tools | Search this Thread |
apache api array beginner binary body broken cakephp checkbox class cms code computing cron curl database date date/time delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime global google host href htaccess html image include insert ip javascript joomla limit link list login mail memmory memory menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop parameter parsing paypal pdf php problem query radio random recourse recursion regex remote script search seo server sessions sms snippet source space sql static syntax system table thesishelp trouble tutorial update upload url validator variable video web webdesign xml youtube






