WordPress.org

Ready to get started?Download WordPress

Forums

SEO Rank Reporter
[resolved] Not adding sites (links) with www. prefix ! (9 posts)

  1. v-bmv
    Member
    Posted 3 years ago #

    When i add a url with the www. prefix and press check rank this plugin will not add the www. prefix...only http://mysite.com/demopost and Rank Checker will only work if the url contains http://www.mysite.com/

    What is the problem ?
    I use WP 3.1 and latest version of this plugin.

  2. kathywhatley
    Member
    Posted 3 years ago #

    I am having the same problem with SEO Rank Reporter. I always put in the www when I am putting in a new keyword, but sometimes it will add the www and sometimes it won't.

    I too and using the latest version of WP and the plugin.

    My site is: http://www.downloadformovie.com

    Anyone know?

    Thanks.

  3. David Scoville
    Member
    Plugin Author

    Posted 3 years ago #

    I'm looking into this problem.

  4. formerfatguy
    Member
    Posted 3 years ago #

    same here. If I use the add multiple keywords, the first one has the www, the rest dont.

    If I delete the ones that dont and add it by itself, it adds the www (most of the time)

    but still, on occasion, it will not add the www, regardless of how I add.

    same thing happens if i use the "add to report" button from the searched keyword list. Sometimes it adds the www, sometimes it doesnt'

    very odd

    love to have a fix

    btw, I fixed *most* of the keywords by adding them individually as opposed to the "add multiple"

  5. David Scoville
    Member
    Plugin Author

    Posted 3 years ago #

    I appreciate the feedback. I've been working on this during nights but still have a little more to do.

  6. smbotans
    Member
    Posted 2 years ago #

    i had the same problem and after experimenting a bit, this is what i did and it seemed to work

    1. go to PLUGIN, look for SEO RANK REPORTER and click on EDIT

    2. on the right where it says PLUGIN FILES, make sure that seo-rank-reporter/seo-rank-reporter.php is highlighted

    3. look for: function kw_rank_checker($target_key,$entered_url,$first_time)

    4. replace:

    $original_entered_url = $entered_url;

    with

    $original_entered_url = $entered_url;
    $entered_url_www = $entered_url;

    5. replace the following:

    //if (substr($entered_url, 7, 4) == "www." && substr($entered_url, 0, 7) == "http://" ) {
    $entered_url_www = $entered_url;
    $entered_url = substr_replace($entered_url_www, "", 7, 4);
    } elseif (substr($entered_url, 7, 4) != "www." && substr($entered_url, 0, 7) == "http://" ) {
    $entered_url_www = substr_replace($entered_url, "www.", 7, 0);
    }
    if (substr($entered_url, 8, 4) == "www." && substr($entered_url, 0, 8) == "https://" ) {
    $entered_url_www = $entered_url;
    $entered_url = substr_replace($entered_url_www, "", 8, 4);
    } elseif (substr($entered_url, 8, 4) != "www." && substr($entered_url, 0, 8) == "https://") {
    $entered_url_www = substr_replace($entered_url, "www.", 8, 0);
    }

    with

    //if (substr($entered_url, 7, 4) == "www." && substr($entered_url, 0, 7) == "http://" ) {
    // $entered_url_www = $entered_url;
    // $entered_url = substr_replace($entered_url_www, "", 7, 4);
    //} elseif (substr($entered_url, 7, 4) != "www." && substr($entered_url, 0, 7) == "http://" ) {
    // $entered_url_www = substr_replace($entered_url, "www.", 7, 0);
    //}
    //if (substr($entered_url, 8, 4) == "www." && substr($entered_url, 0, 8) == "https://" ) {
    // $entered_url_www = $entered_url;
    // $entered_url = substr_replace($entered_url_www, "", 8, 4);
    //} elseif (substr($entered_url, 8, 4) != "www." && substr($entered_url, 0, 8) == "https://") {
    // $entered_url_www = substr_replace($entered_url, "www.", 8, 0);
    //}

    6. click on UPDATE FILE button

    and you are done!

    i STRONGLY suggest that you do a CTRL-ALL to select the whole file content first and then do a COPY into a blank text file (eg. notepad) so you can restore it just in case you made a mistake or it did not work for you

    of course, i take no responsibility for the consequences of this 'hack' :-)

    hope this helps

    serge

  7. smbotans
    Member
    Posted 2 years ago #

    just noticed an error and cannot edit the post ... ggrr!!!

    in 5. above,the first // should not be there in your original code

    i have also found a way to change google.com ranking check to google.com.au or google.co.uk as i needed to do this for 2 customers

    if interested to know how i changed it, let me know

    serge

  8. smbotans
    Member
    Posted 2 years ago #

    on more thing, you will need to enter the url correctly with http:// and www. as the part of the code altered deals with omitted http://

    serge

  9. David Scoville
    Member
    Plugin Author

    Posted 2 years ago #

    I've updated the plugin and this issue should be resolved. Let me know if you still have problems.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic