WordPress.org

Support

Support » How-To and Troubleshooting » Need Rewrite Rule for Images after moving WP

Need Rewrite Rule for Images after moving WP

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think this rule may work for you:

    RewriteEngine on
    RewriteBase /
    RewriteRule ^smith/images/(.*)$ /images/$1

    It should redirect ANY request for /smith/images/ to /images/, so say: /smith/images/hi.gif -> /images/hi.gif. This assumes that the .htaccess will be in your root directory.

    Good luck,
    Michael

    Thanks Michael! I will try it out, thanks for your answer, I appreciate it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need Rewrite Rule for Images after moving WP’ is closed to new replies.
Skip to toolbar