HandyCache форум

Главная категория => English forum => Тема начата: pankaj17939 от 21 апреля 2014, 11:55:00



Название: Google Plus issue
Отправлено: pankaj17939 от 21 апреля 2014, 11:55:00
I have issue with google plus images
With different browser the image download are of different quality and size
For one image their are multiple downloads are taking place

I want a redirecting filter for the same
multiple URL
http://server.com/folder1/folder2/folder3/folder4/(image quality folder 5)/image.xyz

http://lh4.googleusercontent.com/-W6byz5H9jeY/U1RpBobBuUI/AAAAAAAAEtE/UNBmsq9X1zI/w506-h281/China_girl_bubble.jpg

http://lh4.googleusercontent.com/-W6byz5H9jeY/U1RpBobBuUI/AAAAAAAAEtE/UNBmsq9X1zI/w640-h400-p-k/China_girl_bubble.jpg

http://lh4.googleusercontent.com/-W6byz5H9jeY/U1RpBobBuUI/AAAAAAAAEtE/UNBmsq9X1zI/w1024-h768-p-k/China_girl_bubble.jpg


the original url

http://lh4.googleusercontent.com/-W6byz5H9jeY/U1RpBobBuUI/AAAAAAAAEtE/UNBmsq9X1zI/China_girl_bubble.jpg


want all multiple url to to redirect to original url


multiple URL
http://server.com/folder1/folder2/folder3/folder4/(image quality folder 5)/image.xyz
http://*.googleusercontent.com/*/*/*/*/(image quality folder 5)/*
redirect to
http://server.com/folder1/folder2/folder3/folder4/image.xyz
http://*.googleusercontent.com/*/*/*/*/*


Название: Re: Google Plus issue
Отправлено: stealzy от 21 апреля 2014, 18:18:02
Copy this and paste by context menu in Redirect list
#5#~#True#~#(\w{1,3}\.googleusercontent\.com/.+/)(?:w\d{1,4}-h\d{1,4}(?:-p-k)?/)([^/]+\.)(jpe?g|png|gif)#~#\1\2\3#~#True#~#True


Название: Re: Google Plus issue
Отправлено: pankaj17939 от 22 апреля 2014, 07:47:51
Thanks stealzy

Posted on: 22 April 2014, 07:45:29

I also get another alternavite

Redirection
#5#~#True#~#^http://(.*).googleusercontent.com/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)#~#http://\1.googleusercontent.com/\2/\3/\4/\5/\7#~#False#~#True





Название: Re: Google Plus issue
Отправлено: stealzy от 22 апреля 2014, 08:33:20
1)HC trims [ http:// ] & [www.], so you don't need write it
2) Feel the difference:
( [^/]+/[^/]+/[^/]+/[^/]+/ )            \2
(.*)/(.*)/(.*)/(.*)/                             \2/\3/\4/\5/