× Here you can get community support related to ReDJ.

how to redirect 2 directory

  • lelef77
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 9 months ago - 9 years 9 months ago #2699 by lelef77
how to redirect 2 directory was created by lelef77
Hi,
is possible redirect 2 diretory in the same time?

example:

miosito.it/01/02/03/(any alias).html

to

miosito.it/01/02-a/03-b/(any alias).html

try
^01/02/03/

to

miosito.it/01/02-a/03-b/

but dont work :huh:
Last edit: 9 years 9 months ago by lelef77.

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #2701 by admin
Replied by admin on topic how to redirect 2 directory
Hi,
the rule is almost right, but you forget at least a slash:
From URL: ^/01/02/03/

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • lelef77
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 9 months ago #2702 by lelef77
Replied by lelef77 on topic how to redirect 2 directory
Ok luigi,
that rule redirect directory, but not redirect pages...

i change a name to 2 directory, i want redirect in new directory ( solved )
but i want old page in new directory.

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #2705 by admin
Replied by admin on topic how to redirect 2 directory
Not clear if there are still problems or not. Have you solved?

Please Log in or Create an account to join the conversation.

  • lelef77
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 9 months ago #2707 by lelef77
Replied by lelef77 on topic how to redirect 2 directory
i solved it partially,
redirect work, but new link in incompleted,

old directory container old page...
ex
/A/B/C/page1.html
/A/B/C/page2.html
/A/B/C/page3.html

new page every contains
/A/B/C/

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #2712 by admin
Replied by admin on topic how to redirect 2 directory
Ok,
can you post me an example of an old URL and the new corresponding URL? I will try to fix the rule...

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds