WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. vbk100
    Member
    Posted 1 year 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?

    Thanks

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

  2. Jacob Dunn
    Member
    Plugin Author

    Posted 1 year 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:

    {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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags