× Here you can get community support related to ReDJ.

Redirect URL doesn't work

  • saveonhome
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #1719 by saveonhome
Redirect URL doesn't work was created by saveonhome
I installed ReDJ Community version on my website, what I want is to provide easy to remember URL for some pages of my site, e.g. I want to use www.mydomain.com/insurance to be redirected to www.mydomain.com/index.php/en/services/insurance page, however, when I open www.mydomain.com/insurance on browser, it shows "Internal Server Error", the 2nd page does work fine though. Please advise what could be wrong.

My joomla version is 3.1.5 and the ReDJ Community version 1.7.2
Last edit: 11 years 1 month ago by saveonhome.

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

More
11 years 1 month ago #1721 by admin
Replied by admin on topic Redirect URL doesn't work
I need to know which causes the internal server error.

Could you please take a look at your server error log and check the message?

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

  • saveonhome
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #1723 by saveonhome
Replied by saveonhome on topic Redirect URL doesn't work
I asked the server support person to check the "Internal Server Error" problem, here's what he replied, please advise how to proceed. Can ReDJ support redirect of www.mydomain.com/insurance to www.mydomain.com/index.php/en/services/insurance at all?

Looking at that URL, since it's a generic 500 error there is technically no php errors being generated. As a test I renamed the .htaccess file. Now the same URL is generating a 404 error. I checked the content/ folder and did not see a insurance/ subfolder. That would indicate the 500 error is being caused by a rewrite in the htaccess file. So you might want to check if that URL is being rewritten by a plugin or extension. I am going to rename the .htaccess file back as it was previously.

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

More
11 years 1 month ago #1725 by admin
Replied by admin on topic Redirect URL doesn't work
Ok,
this is what you should do.

Take the original Joomla htaccess.txt and rename as .htaccess (i.e. replace the current). Edit this file and add this line at the end:
ErrorDocument 404 /

After this, login to Joomla backend, go to plugins, filter by system type and edit ReDJ plugin settings. Enable and put as first one. Disable the redirect plugin.

After this, create a redirection rule:
From URL: ^/insurance
To URL: http://{siteurl}/index.php/en/services/insurance
Request only: true (checked)

If this doesn't work, send me an email at info(at)selfget.com and provide me a temporary backend access if you can.

Kind regards,
Luigi

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

More
6 years 1 week ago #6955 by superkoala
Replied by superkoala on topic Redirect URL doesn't work
Why we should disable the plugin?

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

More
6 years 1 week ago #6959 by admin
Replied by admin on topic Redirect URL doesn't work
The redirect plugin is the joomla one, you could disable it temporary only to check if it is causing issues, otherwise you can leave it enabled (I was listing actions to troubleshoot the problem).

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

Time to create page: 0.161 seconds