× Here you can get community support related to ReDJ.

Changing the string

  • kalixo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 2 weeks ago #4374 by kalixo
Changing the string was created by kalixo
Hello RE-DJ's!

I need to change my category (name) alias from one to another. so I want to change the alias in main menu for that category. To prevent 404 I wish to redirect all indexed sites with:

from: website.com/old-category/some-items
to: website.com/new-category/some-itmes

I was trying to figure it out, but this doesn't work (DON'T USE IT):
FROM: ^/old-category/
TO: {scheme}://{siteurl}/new-category/{pathltrim /old-category/}{queryfull}

Can you please enlight me?

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

More
9 years 2 weeks ago #4378 by admin
Replied by admin on topic Changing the string
The following user(s) said Thank You: kalixo

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

  • kalixo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 2 weeks ago #4387 by kalixo
Replied by kalixo on topic Changing the string
Thank you, it works great... but I still have a problem with this :(

The category page is not working propperly :(
I need to redirect also:
from: website.com/old-category
to: website.com/new-category

When I tried to set it as:

from: /old-category
to: /new-category

previous redirect stopped working :(
Could you please help?

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

  • kalixo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 2 weeks ago #4393 by kalixo
Replied by kalixo on topic Changing the string
hmm, I think that I found the solution:


from: /old-category$
to: /new-category
Request Only (checked)

Thanks!

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

More
9 years 2 weeks ago #4401 by admin
Replied by admin on topic Changing the string
Yes, you are right!
The final dollar means "ends with" so the rule will match only the category URL.
The following user(s) said Thank You: kalixo

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

Time to create page: 0.173 seconds