Link to home
Start Free TrialLog in
Avatar of R7AF
R7AFFlag for Netherlands

asked on

Rewrite url /page/abc/... to /info/abc/...

I want to rename the base path of a website, from "page" to "info". All subfolders should be included, seven levels deep. Is it possible to do this in one line?

/page => /info
/page/abc => /info/abc
/page/def/xyz => /info/def/xyz
etc
 
Avatar of _-MYFOX-_
_-MYFOX-_
Flag of Italy image

Yes you can rename the physical path, then you must also update your apache configuration file, and then restart the service to let them see the changes..
Avatar of R7AF

ASKER

I see I wasn't clear enough. I want to know the htaccess rewriterule to do this, or a good example that shows me how to do this.
SOLUTION
Avatar of _-MYFOX-_
_-MYFOX-_
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of R7AF

ASKER

Thanks for the suggestions.