Page MenuHomePhabricator

Google redirect searches to home page
Closed, DeclinedPublic

Description

Author: omid_h28

Description:
I type something in google and i got my website's result, I click at one result and google redirect me to my wiki homepage instead of the page i wanted! note that this wont happen in my other non-wiki pages, please help me


Version: 1.19
Severity: blocker

Details

Reference
bz39471

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:57 AM
bzimport set Reference to bz39471.
bzimport added a subscriber: Unknown Object (MLST).

omid_h28 wrote:

And this is same for my visitors not just by me

What is your website's name? I doubt this is a MediaWiki issue.

omid_h28 wrote:

(In reply to comment #2)

What is your website's name? I doubt this is a MediaWiki issue.

But this only happen with mediawiki pages

From that google query, the second entry (Necro'lic - دانشنامه گیم ماتریس) to http://www.gamematris.com/wiki/index.php?title=%D8%B5%D9%81%D8%AD%D9%87%D9%94_%D8%A7%D8%B5%D9%84%DB%8C worked fine and did not redirect to your wiki's home page.

omid_h28 wrote:

hey i checked you from Piwik and i saw you enter my index, my wiki is Farsi so (صفحه اصلی) means home page and if you click on that link that you gave in last comment you will see where it will go, (صفحه اصلی)

Issue: Urls like http://www.gamematris.com/wiki/index.php/Foo redirect to the
homepage
http://www.gamematris.com/wiki/index.php?title=%D8%B5%D9%81%D8%AD%D9%87%D9%94_%D8%A7%D8%B5%D9%84%DB%8C

Seems that you have problems with the PATH_INFO. It's as if MediaWiki wasn't
passed the /Foo, thus it thinks it's at
http://www.gamematris.com/wiki/index.php and sends you to the main page.

What's your web server? Do you have any special configuration? (such a
.htaccess rewriting the urls)

omid_h28 wrote:

(In reply to comment #7)

Issue: Urls like http://www.gamematris.com/wiki/index.php/Foo redirect to the
homepage
http://www.gamematris.com/wiki/index.php?title=%D8%B5%D9%81%D8%AD%D9%87%D9%94_%D8%A7%D8%B5%D9%84%DB%8C

Seems that you have problems with the PATH_INFO. It's as if MediaWiki wasn't
passed the /Foo, thus it thinks it's at
http://www.gamematris.com/wiki/index.php and sends you to the main page.

What's your web server? Do you have any special configuration? (such a
.htaccess rewriting the urls)

No i didn't changed anything, I donno why this problem happened. My webserver is linux but i have to note that phpunname function is disabled in this server

omid_h28 wrote:

I check mediawiki directory and saw the error_log modified 2 minutes ago, how can i see error_log?

Open it? If you're seeing the file, just open it as any other file...

omid_h28 wrote:

(In reply to comment #10)

Open it? If you're seeing the file, just open it as any other file...

[23-Jun-2012 12:04:46] PHP Warning: phpinfo() has been disabled for security reasons in /home/gamemat1/public_html/wiki/includes/installer/Installer.php on line 1226
[23-Jun-2012 12:04:46] PHP Warning: php_uname() has been disabled for security reasons in /home/gamemat1/public_html/wiki/includes/GlobalFunctions.php on line 2448
[23-Jun-2012 12:04:46] PHP Warning: escapeshellarg() has been disabled for security reasons in /home/gamemat1/public_html/wiki/includes/GlobalFunctions.php on line 2766

does this errors made problem?

This is obviously not a (complete) bug report; rather it's a support issue. Bugzilla is not a support venue.

Please use MediaWiki-General on freenode or the mediawiki-l mailing list.

http://webchat.freenode.net/?&nick=omid&prompt=1&channels=%23mediawiki
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

omid_h28 wrote:

Can you take a look at my latest errors ?

-Aug-2012 22:27:56] PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so' -
/usr/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open
shared object file: No such file or directory in Unknown on line 0
[18-Aug-2012 22:27:56] PHP Warning: PHP Startup: Unable to load dynamic
library '/usr/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so' -
/usr/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: cannot open
shared object file: No such file or directory in Unknown on line 0
[18-Aug-2012 22:27:56] PHP Warning: PHP Startup: Unable to load dynamic
library '/usr/lib/php/extensions/no-debug-non-zts-20060613/ixed.5.2.lin' -
/usr/lib/php/extensions/no-debug-non-zts-20060613/ixed.5.2.lin: cannot open
shared object file: No such file or directory in Unknown on line 0

(In reply to comment #13)

Can you take a look at my latest errors ?

No. take it to the list or IRC. Do not comment here again about this issue unless someone from the list or IRC directs you to come back here. Thanks.

I said in comment 12:

Please use MediaWiki-General on freenode or the mediawiki-l mailing list.

http://webchat.freenode.net/?&nick=omid&prompt=1&channels=%23mediawiki
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l