开发者

Why my url redirect to another one?

开发者 https://www.devze.com 2023-04-05 09:04 出处:网络
I put a rule to rewrite some links. This url http://www.steffiandmihanta.com/images/servane/ms-servane-5_n_nette_h540.jpg

I put a rule to rewrite some links.

This url

http://www.steffiandmihanta.com/images/servane/ms-servane-5_n_nette_h540.jpg 

redirects to

http://www.steffiandmihanta.com/main/wp-content/themes/MS-MangoBerry/timthumb.php?src=https://s3-eu-west-1.amazonaws.com/steffiandmihanta/main/wp-content/gallery/开发者_开发技巧servane/ms-servane-5_n_nette.jpg&q=100&h=540

My htaccess is :

RewriteRule ^images/(.*)_h(.*).jpg$ http://www.steffiandmihanta.com/main/wp-content/themes/MS-MangoBerry/timthumb.php?src=https://s3-eu-west-1.amazonaws.com/steffiandmihanta/main/wp-content/gallery/$1.jpg&q=100&h=$2 [NC,L]

How can I modify it not to redirect to the ugly url ?

Thanks


Maybe you mean this:

RewriteRule ^images/(.*)_h(.*).jpg$ http://www.steffiandmihanta.com/main/wp-content/themes/MS-MangoBerry/timthumb.php?src=https://s3-eu-west-1.amazonaws.com/steffiandmihanta/main/wp-content/gallery/$1.jpg&q=100&h=$2 [L,QSA]
0

精彩评论

暂无评论...
验证码 换一张
取 消