• Cor

    (@willemszooncor)


    This plugin fulfills a great need in a networked multi-language site!
    However, as it is it only works with subdirectory networks.
    I have been looking under the hood and find that with some few lines of code the plugin could also work for subdomain network sites.
    We could add a conditional statement:
    if(defined('SUBDOMAIN_INSTALL')){}
    We only need to strip the slashes before and after the subdirectory name and insert it before the present URL rather than after.

    Could this be realized ?..

  • The topic ‘Subdomain vs Subdirectory’ is closed to new replies.