PB Responsive Images
[resolved] Rewrite URL for SLIR (2 posts)

  1. vbk100
    Posted 2 years ago #

    The base URL for SLIR. This plugin will attempt to use mod_rewrite to set this automatically. Otherwise, you'll need to set this manually using your preffered rewrite method.

    Can you please let me know the rewrite url for this. I think not all the webhosts permit to do it even manually( I mean .htaccess files will not be updated on shared hosts). Any solution for that?



  2. Jacob Dunn
    Plugin Author

    Posted 2 years ago #

    Sure thing - this is actually in the contextual help in the top right of the settings page as well, for easier reference. Here you go:

    RewriteRule ^slir(.*)$ /wp-content/plugins/pb-responsive-images/slir/index.php?r=$1 [L]

    With this rule in place, your base url can then be set to {base-url}/slir/

    If you don't have mod-rewrite available, the rewrite URL should have set itself to a non-rewrite URL. If the rewrite above doesn't work, and your images are breaking, paste the following into the SLIR rewrite field:


    That will put the fallback solution in place - the URLs won't be as good looking, but it's better to have it working, at least.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic