sugan Posted December 12, 2007 Share Posted December 12, 2007 i want to redirect users to specific location based (say a particular folder) on the site name they entered..I know that it can be done using .htaccess but i don't have the access to the .htaccess ..what can i do? is there any possibilities using php?Regards,Sugan Link to comment Share on other sites More sharing options...
Skemcin Posted December 12, 2007 Share Posted December 12, 2007 Here is a simple example - wrap it in a conditional statement and you should have what you need:http://php.about.com/od/learnphp/ht/phpredirection.htmPersonally, I prefer to see people use the language a site is programmed in to perform these functions. It gives more direct control and if the site were to have to be relocated to another hosting service the functionality may not be available. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.