Noctarius Posted April 21, 2008 Share Posted April 21, 2008 Hey guys, I tried to rewrite/redirect an url by GET and POST. Is it possible to move them to separated files? Greetings from germany Noctarius Quote Link to comment https://forums.phpfreaks.com/topic/102133-rewrite-due-to-postget/ Share on other sites More sharing options...
Northern Flame Posted April 22, 2008 Share Posted April 22, 2008 can you give a specific example of what you are trying to do? are you trying to have yourwebsite.com/word redirect to yourwebsite.com/script.php?data=word Quote Link to comment https://forums.phpfreaks.com/topic/102133-rewrite-due-to-postget/#findComment-523508 Share on other sites More sharing options...
jsladek Posted May 2, 2008 Share Posted May 2, 2008 Hello Northern Flame, I have a domain that I would like to do exactly what you just demonstrated but I would also like to still use ugly URLs. What I mean by this is I would like to use. http://www.yourwebsite.com/index.php?pg=login and also http://www.yourwebsite.com/drexel The first link will just function normally but the second would rewrite to something like the following http://www.yourwebsite.com/public.php?orginization=drexel I'm looking into mod_rewrite to accomplish this. Will it work for me or am I barking up the wrong tree? Thanks, John btw, it seems that myspace works similar. Unless they actually create a directory for each user and actually store the html content there as if it were its own site. Quote Link to comment https://forums.phpfreaks.com/topic/102133-rewrite-due-to-postget/#findComment-531466 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.