NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Assitance with .htaccess redirect $10

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-18-2008, 04:24 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Mar 2005
Posts: 845
bidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud of
 



Assitance with .htaccess redirect $10


Have a dynamic site ..


and we need ..


"htt://oursite.com/<state>/chart_data.php?<data>" go to "htt://oursite.com/chart_data.php?<data>" using a .htaccess redirect.

We have pages City pages that we cannot get dynamic charts working on because there is no "real" city pages.. ...
bidawinner is offline  
Old 08-18-2008, 08:02 PM   #2 (permalink)
NamePros Member
 
un4given[MAD]'s Avatar
Join Date: Aug 2008
Location: Solar System \ Earth \ Ukraine \ Kiev
Posts: 43
un4given[MAD] is on a distinguished road
 




I guess .htaccess should look like this (if i understood a problem correctly):

PHP Code:
RewriteEngine on
RewriteRule 
^([a-zA-Z0-9]+)/chart_data.php /chart_data.php [R,QSA
????: NamePros.com http://www.namepros.com/programming/505131-assitance-with-htaccess-redirect-10-a.html
If <state> may contain symbols others than letters and numbers, just add them into []
__________________
Tired playing Freecell, Klondike or Spider? Discover 800 solitaire games at SolitairesUnlimited.com and play'em all!
un4given[MAD] is offline  
Old 08-18-2008, 08:05 PM THREAD STARTER               #3 (permalink)
NamePros Regular
Join Date: Mar 2005
Posts: 845
bidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud ofbidawinner has much to be proud of
 



Originally Posted by un4given[MAD]
I guess .htaccess should look like this (if i understood a problem correctly):

PHP Code:
RewriteEngine on
RewriteRule 
^([a-zA-Z0-9]+)/chart_data.php /chart_data.php [R,QSA
If <state> may contain symbols others than letters and numbers, just add them into []

????: NamePros.com http://www.namepros.com/showthread.php?t=505131
PM coming
bidawinner is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:39 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger