Jump to content

redirecting directories with .htaccess


pioneerx01
Go to solution Solved by pioneerx01,

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.