× Here you can get community support related to ReDJ.

Redirect only middle of website adres

  • jarekfd
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #4817 by jarekfd
Redirect only middle of website adres was created by jarekfd
Hi,
I was read help, and documentation but i can't find answer.

I have problem with SEO and some settings in my Joomla and would like to redirect adres:

Domain is www.paniortodontka.pl/

And i must replace this part: /pl/28-aktualnosci/ to this /pl/aktualnosci/28-aktualnosci/ having last part of adres without change.

Wrong adres:
www.paniortodontka.pl/pl/28-aktualnosci/102-zaplac-w-ratach.html

Correct adres:
www.paniortodontka.pl/pl/aktualnosci/28-aktualnosci/102-zaplac-w-ratach.html

I will be happy if you will help me with this.

Best of all
Jarek

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

More
8 years 1 month ago #4820 by admin
Replied by admin on topic Redirect only middle of website adres
Hi Jarek,
try the following rule (literally):
From URL: ^/pl/28-aktualnosci/
To URL: {scheme}://{siteurl}/pl/aktualnosci/28-aktualnosci/{pathltrim /pl/28-aktualnosci/}{queryfull}
Request only: true (checked)

Kind regards,
Luigi
The following user(s) said Thank You: jjarecki

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

More
8 years 1 month ago #4825 by jjarecki
Replied by jjarecki on topic Redirect only middle of website adres
Thank You!!! You are amazing!!

It's working (almost like --- it's a live ! a live! ;)

Thank You
Jarek

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

More
8 years 1 month ago #4828 by admin
Replied by admin on topic Redirect only middle of website adres
U're welcome ;)

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

Time to create page: 0.083 seconds