WordPress.org

Ready to get started?Download WordPress

Forums

Permalink Finder Plugin
[resolved] Problem cache (15 posts)

  1. dwnmedia sarl
    Member
    Posted 1 year ago #

    Hello

    i set up this plugin on my website but would like to disabled it but after doing that my permalinks are not redirecting as before (i have set some redirectpermanent redirections in my .htaccess file)

    Do you how to fore to clear the cache from permalinks ?

    Thanks
    KR

    http://wordpress.org/extend/plugins/permalink-finder/

  2. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    The permalink finder has no cache. It does all lookups on the fly. If you have disabled or uninstalled it, then everything goes back the way it was.

    Keith

  3. dwnmedia sarl
    Member
    Posted 1 year ago #

    Hi m8

    But it seems that there is still a "cache" or something related to redirections

    do you know how or where to force to clean the cache from redirections ?

    I have set many permanent redirection in the .htaccess but before it worked without this permanent redirections...

  4. dwnmedia sarl
    Member
    Posted 1 year ago #

    for exemple, yesterday before i set up the plugin permalink i set a permanent redirection like that :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/

    and when trying to access to http://www.mysite.com/project/a/ it redirected correctly to http://www.mysite.com/b/a/

    after i set up the plugin & deactived it i have to set some permanents redirection like :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/
    RedirectPermanent /b/project/a/ http://www.mysite.com/b/a/

    I have now to set 2 entries for every redirections after i have disabled the permalink finder

    It's like that there is still a cache or something

    I hope you understand my problem with these exemples :/

  5. dwnmedia sarl
    Member
    Posted 1 year ago #

    WHO knows how to completly purge/deleted the redirections's cache?

    I want to come back to 0 with default WordPress permalinks and then put again my first permanent redirections

    I don't want to have this 2 entries for every redirections, it seems like this is redundant...

  6. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    My plugin works only when there is a page not found error.

    It then does a look-up on the database for a similar page and redirects to it.

    It does not change the permalink structure. It does not change the .htaccess file.

    I think you may have installed another permalink plugin. Is this possible?

    Using FTP, go into the plugins folder under content and delete the permalink-finder-plugin folder if it exists, just to make sure that things are completely clear.

    You can reset the permalinks by going into settings and then clicking permalinks. You can then change the permalink structure to something and save. And then put it back the way you want it and save. This will reset the permalink structure back the way you want it. This is completely done by wordpress and you don't need a plugin to do it.

    Keith

  7. dwnmedia sarl
    Member
    Posted 1 year ago #

    Hi thanks for this reply

    but my question really was if there is a sort of CACHE and how to flush it please ?

    .htaccess is rightly configured but as explained :
    for exemple, yesterday before i set up the plugin permalink i set a permanent redirection like that :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/

    and when trying to access to http://www.mysite.com/project/a/ it redirected correctly to http://www.mysite.com/b/a/

    after i set up the plugin & deactived it i have to set some permanents redirection like :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/
    RedirectPermanent /b/project/a/ http://www.mysite.com/b/a/

    I have now to set 2 entries for every redirections after i have disabled the permalink finder

    Thank you m8 hope understanding

  8. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    There is no cache. After you disabled the permalink finder, everything is exactly the way it was before you installed it.

    Keith

  9. dwnmedia sarl
    Member
    Posted 1 year ago #

    Ok there is no cache but how do you explained that :

    for exemple, yesterday before i set up the plugin permalink i set a permanent redirection like that :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/

    and when trying to access to http://www.mysite.com/project/a/ it redirected correctly to http://www.mysite.com/b/a/

    after i set up the plugin & deactived it i have to set some permanents redirection like :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/
    RedirectPermanent /b/project/a/ http://www.mysite.com/b/a/

    I have now to set 2 entries for every redirections after i have disabled the permalink finder

    ?

  10. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    I cannot explain.

    Permalink finder doesn't work after it is disabled. It never changes redirections and only works when a page is not found. It can't do anything when it is disabled.

    All I can think of is that you installed another permalink plugin.

    Keith

  11. dwnmedia sarl
    Member
    Posted 1 year ago #

    But m8, could you agree that IF i put in the .htaccess file a redirection like that :

    RedirectPermanent /project/a/ http://www.mysite.com/b/a/

    When browsing to my website URL : http://www.mysite.com/project/a/ it has normally to redirect me to http://www.mysite.com/b/a/

    I don't understand why it redirects by default to something like :

    http://www.mysite.com/b/project/a/

    i need to create 2 entries for each URL that i want to finally to be redirected
    it is a really strange thing...

    i don't have any other plugin for redirections

  12. dwnmedia sarl
    Member
    Posted 1 year ago #

    in fact i was wrong
    apparently the redirect permanent could only redirect a parent directory with a exact URL like :

    Redirect Permanent /project http://www.mysite.com/b/a/
    this example will work, but in case of sub-directory :

    Redirect Permanent /project/a/ http://www.mysite.com/b/a/

    i will be forced to put a second entry like that :
    Redirect Permanent /b/project/a/ http://www.mysite.com/b/a/

    to finally have the http://www.mysite.com/project/a/ redirected to http://www.mysite.com/b/a/

    perhaps there is an another way to do dynamically rewrite url or something else

  13. dwnmedia sarl
    Member
    Posted 1 year ago #

    So i enabled permalinks finder plugin again

    Sorry it was not a problem related with the plugin but with Redirect Permanent on the .htaccess file

    I don't know if someone here knows how to dynamically redirect a 2 directories (parent/sub-directory) to an exact URL because with the instruction Redirect Permanent we can't manage this without putting 2 entries

  14. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    I am glad it was just a technical issue. You could use htaccess to do a complicated regular expression. Unfortunately, I've never been good at regular expression syntax, so the easy way has to be the two separate entries.

    Keith

  15. dwnmedia sarl
    Member
    Posted 1 year ago #

    OK thanks

    i mark this topic as resolved because it was not related with your plugin

    have a nice day

    KR

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.