Double host on redirect
-
hannma
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
11 years 11 months ago #452
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 11 months ago #453
by admin
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
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
11 years 11 months ago #454
by hannma
Great, this worked.
Thx for quick reply!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.117 seconds