× Here you can get community support related to ReDJ.

Double host on redirect

  • hannma
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 5 months ago #452 by hannma
Double host on redirect was created by hannma
Hi,

Just migrated my site from J1.5 to J2.5 and installed brand new Enterprise version of ReDJ, but it seems I can't get it to work. What ever method (301, 307, 200) I use, I always get double hosts to destination (www.mysite.com/www.mysite.com/destinationpath)

This used to work on my old site
^/leijonalauma/*$
{host}/component/content/article/184-info/leijonalauma/leijonalauma/4728-leijonalauma.html

I'm using Joomla's default URL-rewrite engine.

Any ideas?

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

More
11 years 5 months ago #453 by admin
Replied by admin on topic Double host on redirect
You are just missing the scheme at the beginning of the destination. Try to use:
http://{host}/component/content/article/184-info/leijonalauma/leijonalauma/4728-leijonalauma.html

Or:
{scheme}://{host}/component/content/article/184-info/leijonalauma/leijonalauma/4728-leijonalauma.html

The second one could be useful if your scheme could be http or https.

Kind regards,
Luigi

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

  • hannma
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 5 months ago #454 by hannma
Replied by hannma on topic Double host on redirect
Great, this worked.

Thx for quick reply!

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

More
11 years 5 months ago #455 by admin
Replied by admin on topic Double host on redirect
U're welcome.

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

Time to create page: 0.096 seconds