Clicking a link takes me to the home page

  • Adrianw

    #7868

    If on the iPhone in Safari I tap lightly in the link to a post (continue reading) for example, I am taken to the home page and not the destination of the link.

    For example, the “continue reading” link at the bottom of each excerpt on the home page

    In Chrome I sometimes see an error message = too many redirects.but otherwise I get the same problem.

    If I do a long press, a dialogue pops up offering me the choice to open the link or open in a new window.

    In this case it will take me to the correct post.

    Note: I usually use WP Super Cache but for this test I disabled the cache and still have the problem

    Adrian

    Admin

    Syahir Hakim

    #39630

    Seems like something is causing the unnecessary redirects on your site. Try disabling your plugins (except the GM Neo Helper and Mobile Smart of course) to see if it’s a conflict with one of them.

    Adrianw

    #39631

    I will disable my plugins one by one but I have a lot of plugins so it will take a while.

    So far:

    WP Touch is disabled

    Jetpack mobile plugin is disabled

    WP Supercache is disabled

    I tried disabling, without success

    Page Links To

    PC Hide Pages

    Question:

    My WordPress installation is in a subdirectory /web of my site’s home URL.

    So I have the following settings under the General tab

    WordPress Address (URL) http://compton.parish.hants.gov.uk/web

    Site Address (URL) http://compton.parish.hants.gov.uk

    Enter the address here if you want your site homepage to be different from the directory you installed WordPress.

    So there is already some redirection to handle that.

    Is it possible that that is causing the problem?

    Although other mobile sites are fine.

    I have been using WP Touch for over a year and it doesn’t have redirection problems.

    Adrianw

    #39632

    Testing a little further it seems that if I do a very light short tap on a link I am taken to the home page.

    If I press and hold (but not too long) then I am taken to the page where I expect to go.

    However I can’t really explain this excerpt from the apache log

    86.xxx.xxx.xxx - - [03/Aug/2013:14:06:42 +0100] "GET /sport-and-leisure/walking/ HTTP/1.1" 302 - "http://compton.parish.hants.gov.uk/" "Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25"

    86.xxx.xxx.xxx - - [03/Aug/2013:14:06:57 +0100] "GET /sport-and-leisure/walking/ HTTP/1.1" 200 57806 "http://compton.parish.hants.gov.uk/" "Mozilla/5.0 (iPhone; CPU iPhone OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25"

    Why would the same request get a 302 response at one point and a 200 when I issue it again?

    Admin

    Syahir Hakim

    #39633

    302 response code is typical for redirection, which is why I was suggesting that something is causing your site to do unnecessary redirection. Can you try disable all plugins at once (except those needed by GM Neo) so that we can rule in / out plugins issue?

    Adrianw

    #39634

    I had previously turned off the caching in WP Super Cache, and deleted the cache.

    But after I actually deactivated WP Super Cache, the problem seemed to go away.

    I reactivated WP Super Cache and turned on caching and it still seems to be working OK.

    The following advanced option of Super Cache needs to be selected or the desktop version is always displayed

    Mobile device support. (External plugin or theme required. See the FAQ for further details.)

    I will mark this item resolved. If anything changes, I’ll re-open it.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.