WordPress.org

Support

Support » Plugins and Hacks » PB Responsive Images » [Resolved] [Plugin: PB Responsive Images] Rewrite URL for SLIR

[Resolved] [Plugin: PB Responsive Images] Rewrite URL for SLIR

  • 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?

    Thanks

    http://wordpress.org/extend/plugins/pb-responsive-images/

Viewing 1 replies (of 1 total)
  • Plugin Author Jacob Dunn

    @spacemanspud

    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:

    {plugin-url}/slir/?r=

    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.

    Enjoy!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: PB Responsive Images] Rewrite URL for SLIR’ is closed to new replies.
Skip to toolbar