× Here you can get community support related to ReDJ.

from/to url's result in concatenated new url

  • Erik_999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #3695 by Erik_999
I changed the menu-structure on my site, so I have to make a few redirects to the new URL's.

I am testing this on a Xampp installation, and want to change all the URL's that start with:

localhost/home/categories

into

localhost/home/archive/categories

I have published the plugin and set base path to "home"

I tried several from/to settings, however most of them seem to paste the from - to URL's into a sort of concatenated new URL, for instance:

from URL: ^/categories
to URL: {siteurl}/archive/categories

leads to url (and thus 404 error):

http://localhost/home/categories/localhost/home/archive/categories

Any ideas? This is driving me nuts ;)

Regards,
Erik

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

More
9 years 1 month ago #3696 by admin
It seems all perfect except you missed protocol in the destination. So add {scheme}:// behind, clear all caches and let me know.

Kind regards,
Luigi

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

  • Erik_999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #3699 by Erik_999
Replied by Erik_999 on topic from/to url's result in concatenated new url
Thanks Luigi - I tried, but it keeps concatenating the "from" and "to" -string together.. Could it have something to do with my Xampp/localhost environment?

Regards,
Erik

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

More
9 years 1 month ago #3700 by admin
To answer your question you should post here a dump of your rule table. If the same rule works on my environment, then it could be something related to your xampp...

Regards,
Luigi

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

Time to create page: 0.072 seconds