pioneerx01 Posted December 6, 2013 Share Posted December 6, 2013 Hi, I have hit a communication proplem with my project and people involved. Long story short, wrong URLs got released. I need to find a way to change only one directory in URL, here is na example A wrong URL would be: www.mysite.com/state/event17_dev/register/school.php I need it to be redirected to: www.mysite.com/state/event17/register/school.php So only the event17_dev needs to be changed to event17 while the othe directories and pages stay intact. Thanks Quote Link to comment Share on other sites More sharing options...
Solution pioneerx01 Posted December 7, 2013 Author Solution Share Posted December 7, 2013 I am going to answer my own question. In .htaccess file put: redirect /state/event17_dev/ http://www.mysite.com/state/event17/ Quote Link to comment 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.