× Here you can get community support related to ReDJ.

siteurl/abc/def/123 to siteurl/def/123 not work

  • pickbaer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 7 months ago #893 by pickbaer
Hello,
I want to redirect from www.bsvkalkar.de/verein/fotogalerie/... to www.bsvkalkar.de/fotogalerie/...
There are thousands of pictures, and i can't get it to work. I'm using ReDJ-Enterprise.
Tahnks for your help,
Greetings from germany
pickbaer

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

More
11 years 7 months ago #894 by admin
Hi Pickbaer,
try this rule:
From URL: ^/verein/fotogalerie/
To URL: http://{siteurl}{pathltrim /verein}{queryfull}
Request only: true (must be checked)

Let me know,
Luigi
The following user(s) said Thank You: pickbaer

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

  • pickbaer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 7 months ago #895 by pickbaer
Wow,
very fast answer, thanks a lot. :cheer:
Yes it works, i just missed, {queryfull}
One question,
at the end of the redirected url, there is a "?"
Could this cause any problems, or is it just cosmetic problem?
Thanks
pickbaer

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

More
11 years 7 months ago #896 by admin
Which ReDJ version are you using?
This is an old "bug" related to the Joomla 1.5 version...

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

  • pickbaer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 7 months ago #897 by pickbaer
Hello,
I'm using 1.7.1 Enterprise on joomla 2.5.9
Until yesterday i used the free edition, then i installed the enterprise edition.

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

More
11 years 7 months ago #900 by admin
Ok,
it seems I need to change it again for J2.5. Meanwhile, you can open plugins\system\redj\redj.php file and change this line:
$replacements[8] = (isset($uri_visited_full_url_parts['query'])) ? '?' . $uri_visited_full_url_parts['query'] : '';

With this one:
$replacements[8] = (strlen($uri_visited_full_url_parts['query']) > 0) ? '?' . $uri_visited_full_url_parts['query'] : '';

Kind regards,
Luigi

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

Time to create page: 0.180 seconds