Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    I just visited your blog and when I try to visit /wordpress I get a “page not found” error.

    Why do you have that setting? Why aren’t both addresses to the homepage?

    Thread Starter poslundc

    (@poslundc)

    I didn’t want WordPress installed in the root directory of my website. I followed the instructions here: https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    As I understand it, URL links are meant to be constructed using form_option(‘siteurl’) as the prefix instead of hard-coding it, in order to ensure they are pointing to the correct directory. I tried having a look at the WordPress Mobile Pack code to see if I could fix this myself, but it was a bit too overwhelming for me.

    Dan.

    Thread Starter poslundc

    (@poslundc)

    Anyone?

    Thread Starter poslundc

    (@poslundc)

    Bump… this is still broken in the most recent release.

    The image encoder is affected as well.
    To fix the image encoder, replace “get_option(‘home’)” with “get_option(‘siteurl’)” in wpmp_transcoder.php

    @poslundc, quick fix for your admin pages:
    mobile_admin.php
    line 35
    change to
    header("Location: $base/wp-login.php?redirect_to=" . urlencode($base) . "%2Fwordpress" . "%2Fwp-admin%2F");

    line 185
    change to
    "<strong><a href='$base/wordpress/wp-admin/post.php?action=edit&post=$post->ID'>" . get_the_title() . "</a></strong>" .

    mobile.php
    line70
    change to
    $base = get_option('siteurl');

    …I’m still tracking down all the spots in mobile_admin where changes need to be made… testing these on the fly… stay tuned… developers may fix this before we do…

    line 271
    line 325
    line 432
    add wordpress there too

    These fixes only apply if you have your install in /wordpress/ subfolder!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] Different site URL from blog address’ is closed to new replies.