?
avatar peteruoi
peteruoi
3 May 2018

Steps to reproduce the issue

You have to host 2 sites in the same server

enable system-redirect plugin

  • collect urls:enabled

  • Include Domain Name in Expired URL:enabled

then go to component redirects after some hours and watch what urls have been collected.

In my case i see urls:
in the domain 1 site i see
http://domain2.com/somthing-from-domain3 or

in the domain 2 site i see
http://domain1.com/something-from-domain3

etc

Expected result

No urls from other domains

Actual result

urls with mixed words from different domains

System information (as much as possible)

joomla 3.8.7.
host with ispconfig platform

Additional comments

I have observed this for quite a long time so i don't know when it happened and i thought that it maybe was a hosting issue.
However reading this #17349
and especially @rvalitov comment

In my case I use ISPConfig - a well-known hosting panel. It creates symlinks to website's root documents like /var/clients/client1/website3/web, besides they are also accessible with the domain name, for example, /var/www/www.example.com/web. And this causes the JFolder::create hell!

I thought maybe it's a joomla 's issue.

So do you think it's another issue similar or the #20280 should fix my issue too?
In this case you can close this:)

@rvalitov sorry for pinging does my issue makes sense?
It's really weird...

avatar peteruoi peteruoi - open - 3 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2018
Category com_redirect
avatar rvalitov
rvalitov - comment - 3 May 2018

Hi! I use the latest ISPConfig with latest PHP 7.0.x, and I didn't face this issue. So, I'm not sure if it's related to #20280.

Some ideas:

  • Please, check that you use latest Apache and it does not has any errors in its log related to the website configurations.
  • ISPConfig also has redirect options, may be the problem is there? Besides, ISPConfig has alias options, are they enabled?
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2018
Status New Discussion
avatar peteruoi
peteruoi - comment - 3 May 2018

I use latest ispconfig with php 7 too. It 's a standard installation nothing fancy. However if you haven't noticed it in your joomla components redirect after enabling collect urls then i guess it 's something with my ispconfig installation.
Thanks for your time!

avatar peteruoi peteruoi - change - 3 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-03 09:33:17
Closed_By peteruoi
avatar peteruoi peteruoi - close - 3 May 2018
avatar rvalitov
rvalitov - comment - 3 May 2018

Sorry, I didn't completely understand your issue. I was thinking that you mean the URL rewrite options in the settings:

image

I will test the redirect plugin now, it is disabled on my websites. The settings below are correct?

image

avatar rvalitov
rvalitov - comment - 3 May 2018

Should I enable this plugin at least on 2 websites? Does it happen when you use HTTPS (SSL) or only HTTP?

avatar peteruoi
peteruoi - comment - 3 May 2018

i have both http:// and https:// sites so i don't think it matters.
Yes these are the right settings to reproduce! Yes enable the redirect plugin at least in two sites!
Thanks again!

avatar rvalitov
rvalitov - comment - 4 May 2018

@peteruoi I enabled the plugin on both websites, but the list of links is empty:

image

I tried to open different web pages at both websites, but the list is still empty. Do you have an idea how to populate it with data?

avatar rvalitov
rvalitov - comment - 21 May 2018

I made a few tests. All results in the table are similar to the following 2 fields:

image

My conclusions:

  • The Expired URL field sometimes contains domain name, sometimes not - even if the Include Domain Name option is enabled. This is a bug?
  • If I simply access some arbitrary URL on the website which does not exist in order to populate the table of the Redirects plugin, then in this case the Expired URL always does not include the domain name.
  • The Referring Page can be empty or can contain a valid referring page. The referring page can be from another domain which is a correct behavior.

@peteruoi Do you have problems with the Expired URL field or Referring Page field? Did you check that your websites use different databases?

Add a Comment

Login with GitHub to post a comment