wicakhp

wicakhp supports this item

Supported

7 comments found.

Can you give some more details on how this works?

Does it crawl the site for valid links? Do I have to manually enter valid links?

Hi,

To obtain a valid url list automatically, you just have to add a small PHP code inside all of your pages. It would be easier if you already have a header file that included in all of your files. You could also manually insert a valid url to database via database manager (e.g phpMyAdmin).

I dont know what I will do with this,, I just had to have it :-)

Hi,

Based on ’ Failed opening ‘test/suggest404.class.php’’ error, it looks like you put the wrong path. Please make sure the path is correct.

Ok. I got it straight now :-) All is working great. This is a cool little piece of work. and thanks for the quick help. Viper

Great to hear it. :)

If you have any issues with my scripts, don’t hesitate to contact me again.

Thank you.

Hello there, I ask myself three questions before the potential acquisition of your app:

1 / do I have to put a code on each page? 2 / if this code is in PHP or other compatible W3C?

3 / if I enter the address list by hand in the database, should enter a code on each page?

Thank you for your answers.

AP

Hi,

1. To obtain a valid url list automatically, you just have to add a small PHP code inside all of your pages. It would be easier if you already have a header file that included in all of your files. You could also manually insert a valid url to database via database manager (e.g phpMyAdmin).

2. This script is written in PHP and can only be executed inside a PHP script.

3. If you already have a list of valid address, you don’t have to put any code in your pages.

Thank you

This little app does exactly what you ask him. It is a quality product that works very well.

I needed some guidance for its implementation. Its author is hyper reactive. I recommend!

Thanks

Ce petit soft fait très bien ce que l’on lui demande. C’est un produit de qualité qui fonctionne très bien.

J’ai eu besoin de quelques conseils pour sa mise en place. Son auteur est Hyper réactif. Je recommande !

Merci

Thank you for your kind words… :)

If you have any more trouble regarding my script, please don’t hesitate to contact me again.

hsnww

hsnww Purchased

Hi,
not work correctly.
in manager page I got this error
[07-Jul-2016 05:53:48 UTC] PHP Fatal error: Call to a member function get_redirect() on null in /home/islamww/public_html/404manager.php on line 62

Hi,

Please email me with the error details, so I can give you better support.

Thank you

hsnww

hsnww Purchased

All Thanks for Author, Excellent script an d amazing support , :)

Glad to help you.

If you don’t mind, please rate my script. :)

Thank you

Hi, I’m having the same problem as hsnww in 404manager.php after trying to login:

PHP Fatal error: Call to a member function get_redirect() on null in /home/XXXX/public_html/404manager.php on line 69

another error: PHP Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/404manager.php on line 181

Please help

another error: PHP Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/404manager.php on line 181

Please help

Hi,

Please email me with your details so I can better support you. It would be easier if I could take a look at your files.

Thanks

Hi,

Finally, the plugin is working. However, even though I LOVE the idea of this plugin, I’m a bit disappointed at how it works in practice.

For instance, I have a page with this URL /nsi-189-nootropic-antidepressant-promotes-neurogenesis/ (it is already in the 404 valid links list) However, when I go to https://nootropix.com/nsi189 it doesn’t redirect to that page and neither /nootropic-antidepressant/ (it redirects me to /tags/antidepressant !)

Same occurs when for instance if I have URL /where-to-buy-nootropics/ and I type /buy-nootropics/ it redirects, (again!) to /tags/nootropics

I think the problem is that the plugin only searches for a single word. But that’s useless when you have a niche website where that word (in my case “nootropic(s)” appears over and over and over in different contexts.

I would even consider modifying the plugin myself as I already did some small modifications to the plugin (see below) but I need some explanation about how the plugin works and what does what, for instance, levenshtein function which I never used.

Please help me, we can’t leave it this way this script is great if it’s improved a bit.

--Other small fixes to implement in next version--
  1. You should add option to discard the $_GET variables. Otherwise the database will get HUGE, and there will be wrong recommendations with things like

    “Were you looking for: http://example.com/example/?utm_source=facebook&blalabla" (instead of just /example/)

    or “http://example.com/example2/?var=1s52d0f4&var2=1f4s44z” (instead of /example/)

    This is how I’ve fixed it: just update suggest404.class.php put_valid function with this:
        function put_valid($url = ""){
            if ($url == ""){
                $url = $this->get_URL();
                $url = rtrim(strtok($url, '?'), '?'); /*  EDITED */
            }
            if ($this->is_valid($url) == false){
                $mysqli = new mysqli($this->DB['host'], $this->DB['user'], $this->DB['pass'], $this->DB['name']);
                $stmt = $mysqli->prepare("INSERT INTO s404_linkvalid(url) VALUES (?)");
                if ($stmt !== false){
                    $stmt->bind_param("s", $url);
                    $stmt->execute();
                    $stmt->close();
                }
            }
        }
    
  2. It is also a good idea to remove the :443 port when using SSL because it confuses the user, and also a “noindex” header should be added to avoid the 404 page getting indexed.

    Update error404.php with this:

    header("X-Robots-Tag: noindex", true);
    
    include "suggest404.class.php";
    
    $obj = new suggest404('localhost','xxx','xxx','xxx');
    
    $suggest = $obj->suggest_404();
    if ($suggest === false){
        // You can change this url to your default home page
        $url = "https://youdomain.com/";
    } else {
        $url = str_replace(':443','',$suggest);
        if ($surl[strlen($url)-1]==='?')
        $url=substr($url, 0, -1);
    }
    

Hi,

Sorry for the late reply.

The basic idea of levenshtein is: ”... the minimal number of characters you have to replace, insert or delete to transform string1 into string2”.

So it won’t understand any contextual request, like your example above. You could read more here: http://php.net/manual/en/function.levenshtein.php

However you can modify the invalid incoming request to any page you want in the Redirect List. The list is sort by how many hits it got, meaning: how popular the invalid incoming link is. If the invalid incoming link is auto redirected to something you don’t want, you can just edit the outgoing link to your likes.

The $_GET variables is there for site that are not using pretty link/mod rewrite. And I’m using absolute path instead of relative path so it will be easier to integrate with any kind of directory structures.

The script doesn’t alter the incoming links nor the valid links, thus it will redirect the page as is including the SSL port. Fortunately you can change it in the Redirect List

The noindex is a great idea and I may include it in the next update.

Please, feel free to modify the script to your needs.

Thank you

Will This Work With SITESPY Script on codecanyon ?

Sorry for Late Reply . do Your App have any link or any connection with .htaccess file Becuase the script i am using don’t allow any kind of editing in .htaccess or any system based files ?

Hi,

I would have to say; Yes and no.

My script will require your server to open my script whenever a 404 code eror being raised. You can edit the 404 eror setting via htaccess or for some provider it can be setup via server panel. You may want to contact your hosting provider about this matter.

Thanks

ok if let’s Suppose it don’t work with my current script can i use this with any other script ?

by
by
by
by
by
by