# Redirect non-www to www

# Add a trailing slash (/) to a URL
rewrite ^([^.]*[^/])$ $1/ permanent;

# Specific redirections
if ($args ~* ^p=45950$){ rewrite ^//?$ /p-45950/? permanent; }
if ($args ~* ^refPageViewId=50bc6ee844e5e0fe$){ rewrite ^//?$ /refPageViewId-50bc6ee844e5e0fe/? permanent; }
if ($args ~* ^refPageViewId=519b7c5bd43fcf6c$){ rewrite ^//?$ /refPageViewId-519b7c5bd43fcf6c/? permanent; }
if ($args ~* ^refPageViewId=529884aef701959c$){ rewrite ^//?$ /refPageViewId-529884aef701959c/? permanent; }
if ($args ~* ^refPageViewId=5ade71c2076e7451$){ rewrite ^//?$ /refPageViewId-5ade71c2076e7451/? permanent; }
if ($args ~* ^refPageViewId=5b3c708305ddf464$){ rewrite ^//?$ /refPageViewId-5b3c708305ddf464/? permanent; }
if ($args ~* ^refpageviewid=5be9640e02607425$){ rewrite ^//?$ /refpageviewid-5be9640e02607425/? permanent; }
if ($args ~* ^refPageViewId=5d57a43411b70da2$){ rewrite ^//?$ /refPageViewId-5d57a43411b70da2/? permanent; }
if ($args ~* ^refPageViewId=5d61639ff606741d$){ rewrite ^//?$ /refPageViewId-5d61639ff606741d/? permanent; }
if ($args ~* ^refPageViewId=5d61f70c21bacec4$){ rewrite ^//?$ /refPageViewId-5d61f70c21bacec4/? permanent; }
if ($args ~* ^refPageViewId=5d62107d70880dca$){ rewrite ^//?$ /refPageViewId-5d62107d70880dca/? permanent; }
if ($args ~* ^refPageViewId=5d632dd73281f0c1$){ rewrite ^//?$ /refPageViewId-5d632dd73281f0c1/? permanent; }
if ($args ~* ^refPageViewId=5d6f4bb996fd7429$){ rewrite ^//?$ /refPageViewId-5d6f4bb996fd7429/? permanent; }
if ($args ~* ^refPageViewId=5d810a9b11d12580$){ rewrite ^//?$ /refPageViewId-5d810a9b11d12580/? permanent; }
if ($args ~* ^refPageViewId=5d856a31b25b0990$){ rewrite ^//?$ /refPageViewId-5d856a31b25b0990/? permanent; }
if ($args ~* ^refPageViewId=5ea4c9c5b63b0d8a$){ rewrite ^//?$ /refPageViewId-5ea4c9c5b63b0d8a/? permanent; }
if ($args ~* ^refPageViewId=5f77414cf0482916$){ rewrite ^//?$ /refPageViewId-5f77414cf0482916/? permanent; }
if ($args ~* ^refPageViewId=5f7b30125314ea28$){ rewrite ^//?$ /refPageViewId-5f7b30125314ea28/? permanent; }
if ($args ~* ^refPageViewId=5f871420b1fd09a8$){ rewrite ^//?$ /refPageViewId-5f871420b1fd09a8/? permanent; }
if ($args ~* ^refPageViewId=5f871decd3ac0da2$){ rewrite ^//?$ /refPageViewId-5f871decd3ac0da2/? permanent; }
if ($args ~* ^refPageViewId=5f8f8022f2682605$){ rewrite ^//?$ /refPageViewId-5f8f8022f2682605/? permanent; }
if ($args ~* ^refPageViewId=5f94f8ea42102ac4$){ rewrite ^//?$ /refPageViewId-5f94f8ea42102ac4/? permanent; }
if ($args ~* ^refPageViewId=5faf08fd40aaced0$){ rewrite ^//?$ /refPageViewId-5faf08fd40aaced0/? permanent; }
if ($args ~* ^refPageViewId=612a11f4f462c1de$){ rewrite ^//?$ /refPageViewId-612a11f4f462c1de/? permanent; }
if ($args ~* ^refPageViewId=616b352cd6b3f0d1$){ rewrite ^//?$ /refPageViewId-616b352cd6b3f0d1/? permanent; }
if ($args ~* ^refPageViewId=61834907a20fcee4$){ rewrite ^//?$ /refPageViewId-61834907a20fcee4/? permanent; }
if ($args ~* ^refPageViewId=61836a6653f30998$){ rewrite ^//?$ /refPageViewId-61836a6653f30998/? permanent; }
if ($args ~* ^refPageViewId=627a19ad57c125b0$){ rewrite ^//?$ /refPageViewId-627a19ad57c125b0/? permanent; }
if ($args ~* ^refPageViewId=629c1c6d92c43823$){ rewrite ^//?$ /refPageViewId-629c1c6d92c43823/? permanent; }
if ($args ~* ^refPageViewId=64e3734ca5dd5a7c$){ rewrite ^//?$ /refPageViewId-64e3734ca5dd5a7c/? permanent; }
if ($args ~* ^refPageViewId=64e90d2a271b060e$){ rewrite ^//?$ /refPageViewId-64e90d2a271b060e/? permanent; }
if ($args ~* ^refPageViewId=651a6e12d639ced0$){ rewrite ^//?$ /refPageViewId-651a6e12d639ced0/? permanent; }
if ($args ~* ^refPageViewId=662cde8ee3b55ca0$){ rewrite ^//?$ /refPageViewId-662cde8ee3b55ca0/? permanent; }
if ($args ~* ^refPageViewId=66330516b542c18e$){ rewrite ^//?$ /refPageViewId-66330516b542c18e/? permanent; }
if ($args ~* ^refPageViewId=6633502ec0f25a69$){ rewrite ^//?$ /refPageViewId-6633502ec0f25a69/? permanent; }
if ($args ~* ^refPageViewId=66443dbb97c15767$){ rewrite ^//?$ /refPageViewId-66443dbb97c15767/? permanent; }
if ($args ~* ^refPageViewId=673b53da85e35ea2$){ rewrite ^//?$ /refPageViewId-673b53da85e35ea2/? permanent; }
if ($args ~* ^refPageViewId=6742fd53d72fcf64$){ rewrite ^//?$ /refPageViewId-6742fd53d72fcf64/? permanent; }
if ($args ~* ^refPageViewId=6747947235250650$){ rewrite ^//?$ /refPageViewId-6747947235250650/? permanent; }
if ($args ~* ^refPageViewId=6752e21550695ede$){ rewrite ^//?$ /refPageViewId-6752e21550695ede/? permanent; }
if ($args ~* ^refPageViewId=676a00c034705c8e$){ rewrite ^//?$ /refPageViewId-676a00c034705c8e/? permanent; }
if ($args ~* ^refPageViewId=676a0738f27805c6$){ rewrite ^//?$ /refPageViewId-676a0738f27805c6/? permanent; }
if ($args ~* ^refPageViewId=676b08e0b3a85ecd$){ rewrite ^//?$ /refPageViewId-676b08e0b3a85ecd/? permanent; }
if ($args ~* ^refPageViewId=676b2c57102d5ea7$){ rewrite ^//?$ /refPageViewId-676b2c57102d5ea7/? permanent; }
if ($args ~* ^refPageViewId=6779a7c680ac37ff$){ rewrite ^//?$ /refPageViewId-6779a7c680ac37ff/? permanent; }
if ($args ~* ^refPageViewId=677ba874b41d5cb8$){ rewrite ^//?$ /refPageViewId-677ba874b41d5cb8/? permanent; }
if ($args ~* ^refPageViewId=677da194a28d749b$){ rewrite ^//?$ /refPageViewId-677da194a28d749b/? permanent; }
if ($args ~* ^refPageViewId=677dd42c3796ced8$){ rewrite ^//?$ /refPageViewId-677dd42c3796ced8/? permanent; }
if ($args ~* ^refPageViewId=679725de73ad5ecd$){ rewrite ^//?$ /refPageViewId-679725de73ad5ecd/? permanent; }
if ($args ~* ^refPageViewId=67a30e5c973d5e71$){ rewrite ^//?$ /refPageViewId-67a30e5c973d5e71/? permanent; }
if ($args ~* ^refPageViewId=68fc1308537f57a2$){ rewrite ^//?$ /refPageViewId-68fc1308537f57a2/? permanent; }
if ($args ~* ^refPageViewId=68fc9a3cd0c10674$){ rewrite ^//?$ /refPageViewId-68fc9a3cd0c10674/? permanent; }
if ($args ~* ^refPageViewId=68fca4d700990603$){ rewrite ^//?$ /refPageViewId-68fca4d700990603/? permanent; }
if ($args ~* ^refPageViewId=68fec18090d85eae$){ rewrite ^//?$ /refPageViewId-68fec18090d85eae/? permanent; }
if ($args ~* ^refPageViewId=690966ec31590593$){ rewrite ^//?$ /refPageViewId-690966ec31590593/? permanent; }
if ($args ~* ^refPageViewId=690a5ef1872a0627$){ rewrite ^//?$ /refPageViewId-690a5ef1872a0627/? permanent; }
if ($args ~* ^refPageViewId=691d1a3c34ff0649$){ rewrite ^//?$ /refPageViewId-691d1a3c34ff0649/? permanent; }
if ($args ~* ^refPageViewId=6921d612375f37f3$){ rewrite ^//?$ /refPageViewId-6921d612375f37f3/? permanent; }
if ($args ~* ^refPageViewId=692444cae2810664$){ rewrite ^//?$ /refPageViewId-692444cae2810664/? permanent; }
if ($args ~* ^refPageViewId=69244d8e300d0664$){ rewrite ^//?$ /refPageViewId-69244d8e300d0664/? permanent; }
if ($args ~* ^refPageViewId=6944900b57435ea8$){ rewrite ^//?$ /refPageViewId-6944900b57435ea8/? permanent; }
if ($args ~* ^refPageViewId=694677f2e79805ca$){ rewrite ^//?$ /refPageViewId-694677f2e79805ca/? permanent; }
if ($args ~* ^refPageViewId=694e1e55258b05a0$){ rewrite ^//?$ /refPageViewId-694e1e55258b05a0/? permanent; }
if ($args ~* ^refPageViewId=6950c464767c5eb3$){ rewrite ^//?$ /refPageViewId-6950c464767c5eb3/? permanent; }
if ($args ~* ^refPageViewId=6955230e80ad5ecd$){ rewrite ^//?$ /refPageViewId-6955230e80ad5ecd/? permanent; }
if ($args ~* ^refPageViewId=695cc150c0375b11$){ rewrite ^//?$ /refPageViewId-695cc150c0375b11/? permanent; }
if ($args ~* ^refPageViewId=69f07f0d249c5cb8$){ rewrite ^//?$ /refPageViewId-69f07f0d249c5cb8/? permanent; }
if ($args ~* ^refPageViewId=69f28ec135adcf34$){ rewrite ^//?$ /refPageViewId-69f28ec135adcf34/? permanent; }
if ($args ~* ^refPageViewId=69f296554280cf34$){ rewrite ^//?$ /refPageViewId-69f296554280cf34/? permanent; }
if ($args ~* ^refPageViewId=69f8f59c00dd05a0$){ rewrite ^//?$ /refPageViewId-69f8f59c00dd05a0/? permanent; }
if ($args ~* ^refPageViewId=69fb4a6ac3b26fc5$){ rewrite ^//?$ /refPageViewId-69fb4a6ac3b26fc5/? permanent; }
if ($args ~* ^refPageViewId=69fcd1d2d1e66fb3$){ rewrite ^//?$ /refPageViewId-69fcd1d2d1e66fb3/? permanent; }
if ($args ~* ^refPageViewId=6a06f00372095c2f$){ rewrite ^//?$ /refPageViewId-6a06f00372095c2f/? permanent; }
if ($args ~* ^refPageViewId=6a0fb21243c95a0f$){ rewrite ^//?$ /refPageViewId-6a0fb21243c95a0f/? permanent; }
if ($args ~* ^refPageViewId=6a0fd1f6f36e5a0f$){ rewrite ^//?$ /refPageViewId-6a0fd1f6f36e5a0f/? permanent; }
if ($args ~* ^refPageViewId=6a16330260285c65$){ rewrite ^//?$ /refPageViewId-6a16330260285c65/? permanent; }
if ($args ~* ^refPageViewId=6a18573943de5b9a$){ rewrite ^//?$ /refPageViewId-6a18573943de5b9a/? permanent; }
if ($args ~* ^refPageViewId=6a244acd32d45980$){ rewrite ^//?$ /refPageViewId-6a244acd32d45980/? permanent; }
if ($args ~* ^refPageViewId=6a24518825a55980$){ rewrite ^//?$ /refPageViewId-6a24518825a55980/? permanent; }
if ($args ~* ^refPageViewId=6a257aa232775a40$){ rewrite ^//?$ /refPageViewId-6a257aa232775a40/? permanent; }
if ($args ~* ^refPageViewId=6a29085ef6bd5b1d$){ rewrite ^//?$ /refPageViewId-6a29085ef6bd5b1d/? permanent; }
if ($args ~* ^refPageViewId=6a363d59b04a5a04$){ rewrite ^//?$ /refPageViewId-6a363d59b04a5a04/? permanent; }
if ($args ~* ^refPageViewId=6a437f9b945b5e96$){ rewrite ^//?$ /refPageViewId-6a437f9b945b5e96/? permanent; }
if ($args ~* ^refPageViewId=6a4daf7d34ed0650$){ rewrite ^//?$ /refPageViewId-6a4daf7d34ed0650/? permanent; }
if ($args ~* ^refPageViewId=6a545341f0cc5c16$){ rewrite ^//?$ /refPageViewId-6a545341f0cc5c16/? permanent; }
if ($args ~* ^refPageViewId=6a554d7e22f35cb8$){ rewrite ^//?$ /refPageViewId-6a554d7e22f35cb8/? permanent; }
if ($args ~* ^refPageViewId=6a557533c7fa5cb8$){ rewrite ^//?$ /refPageViewId-6a557533c7fa5cb8/? permanent; }
if ($args ~* ^refPageViewId=6b473e0ac02e8018$){ rewrite ^//?$ /refPageViewId-6b473e0ac02e8018/? permanent; }
if ($args ~* ^refPageViewId=6b54a89063e757a6$){ rewrite ^//?$ /refPageViewId-6b54a89063e757a6/? permanent; }
if ($args ~* ^refPageViewId=6b54cc5f504157a6$){ rewrite ^//?$ /refPageViewId-6b54cc5f504157a6/? permanent; }
if ($args ~* ^refPageViewId=6b5e0ac0a6c15c76$){ rewrite ^//?$ /refPageViewId-6b5e0ac0a6c15c76/? permanent; }
if ($args ~* ^refPageViewId=6b5fe12e27ee05ac$){ rewrite ^//?$ /refPageViewId-6b5fe12e27ee05ac/? permanent; }
if ($args ~* ^refPageViewId=6b6049bfc25305ac$){ rewrite ^//?$ /refPageViewId-6b6049bfc25305ac/? permanent; }
if ($args ~* ^refPageViewId=6b60cc0431585d8c$){ rewrite ^//?$ /refPageViewId-6b60cc0431585d8c/? permanent; }
if ($args ~* ^refPageViewId=6b67790682268248$){ rewrite ^//?$ /refPageViewId-6b67790682268248/? permanent; }
if ($args ~* ^refPageViewId=6b6ba624c3b85cef$){ rewrite ^//?$ /refPageViewId-6b6ba624c3b85cef/? permanent; }
if ($args ~* ^refPageViewId=6b7762ac437f56b6$){ rewrite ^//?$ /refPageViewId-6b7762ac437f56b6/? permanent; }
if ($args ~* ^refPageViewId=6b85d0aa72906fcd$){ rewrite ^//?$ /refPageViewId-6b85d0aa72906fcd/? permanent; }
if ($args ~* ^refPageViewId=6b87f96d21148280$){ rewrite ^//?$ /refPageViewId-6b87f96d21148280/? permanent; }
if ($args ~* ^refPageViewId=6b998d1302d9063b$){ rewrite ^//?$ /refPageViewId-6b998d1302d9063b/? permanent; }
if ($args ~* ^refPageViewId=6b9bae7375cd81c7$){ rewrite ^//?$ /refPageViewId-6b9bae7375cd81c7/? permanent; }
if ($args ~* ^refPageViewId=6ba48b29a2df5836$){ rewrite ^//?$ /refPageViewId-6ba48b29a2df5836/? permanent; }
if ($args ~* ^refPageViewId=6d26b9cdd08f81fa$){ rewrite ^//?$ /refPageViewId-6d26b9cdd08f81fa/? permanent; }
if ($args ~* ^refPageViewId=6d3acd14254f0668$){ rewrite ^//?$ /refPageViewId-6d3acd14254f0668/? permanent; }
if ($args ~* ^refPageViewId=6d50f15066690597$){ rewrite ^//?$ /refPageViewId-6d50f15066690597/? permanent; }
if ($args ~* ^refPageViewId=70e026bcf5a759fd$){ rewrite ^//?$ /refPageViewId-70e026bcf5a759fd/? permanent; }
if ($args ~* ^refPageViewId=70fb8b9146cc57f4$){ rewrite ^//?$ /refPageViewId-70fb8b9146cc57f4/? permanent; }
if ($args ~* ^refPageViewId=70fd184a34817ffa$){ rewrite ^//?$ /refPageViewId-70fd184a34817ffa/? permanent; }
if ($args ~* ^refPageViewId=71062a8484c0818c$){ rewrite ^//?$ /refPageViewId-71062a8484c0818c/? permanent; }
if ($args ~* ^refPageViewId=71100d2a412c9c82$){ rewrite ^//?$ /refPageViewId-71100d2a412c9c82/? permanent; }
if ($args ~* ^refPageViewId=7116fa51b6f682ce$){ rewrite ^//?$ /refPageViewId-7116fa51b6f682ce/? permanent; }
if ($args ~* ^refPageViewId=712c86bed07b81b2$){ rewrite ^//?$ /refPageViewId-712c86bed07b81b2/? permanent; }
if ($args ~* ^refPageViewId=720f1a9293820612$){ rewrite ^//?$ /refPageViewId-720f1a9293820612/? permanent; }
if ($args ~* ^refPageViewId=721879b2876481f9$){ rewrite ^//?$ /refPageViewId-721879b2876481f9/? permanent; }
if ($args ~* ^refPageViewId=7236102c777e057b$){ rewrite ^//?$ /refPageViewId-7236102c777e057b/? permanent; }
if ($args ~* ^refPageViewId=723fc51941e59c49$){ rewrite ^//?$ /refPageViewId-723fc51941e59c49/? permanent; }
if ($args ~* ^refPageViewId=7247f75a0553c1d4$){ rewrite ^//?$ /refPageViewId-7247f75a0553c1d4/? permanent; }
if ($args ~* ^refPageViewId=7251b62451f05764$){ rewrite ^//?$ /refPageViewId-7251b62451f05764/? permanent; }
if ($args ~* ^refPageViewId=7252ad40c3680684$){ rewrite ^//?$ /refPageViewId-7252ad40c3680684/? permanent; }
if ($args ~* ^refPageViewId=7269c47d94858238$){ rewrite ^//?$ /refPageViewId-7269c47d94858238/? permanent; }
if ($args ~* ^refPageViewId=726fe29505b782f8$){ rewrite ^//?$ /refPageViewId-726fe29505b782f8/? permanent; }
if ($args ~* ^refPageViewId=73cad127b3c7828a$){ rewrite ^//?$ /refPageViewId-73cad127b3c7828a/? permanent; }
if ($args ~* ^refPageViewId=75152a41a367068c$){ rewrite ^//?$ /refPageViewId-75152a41a367068c/? permanent; }
if ($args ~* ^refPageViewId=75152daec51e068c$){ rewrite ^//?$ /refPageViewId-75152daec51e068c/? permanent; }
if ($args ~* ^refPageViewId=7522df4fa2e0829e$){ rewrite ^//?$ /refPageViewId-7522df4fa2e0829e/? permanent; }
if ($args ~* ^refPageViewId=75240a120141578b$){ rewrite ^//?$ /refPageViewId-75240a120141578b/? permanent; }
if ($args ~* ^refPageViewId=7545d250811f58cc$){ rewrite ^//?$ /refPageViewId-7545d250811f58cc/? permanent; }
if ($args ~* ^refPageViewId=754c7b3974cb9c70$){ rewrite ^//?$ /refPageViewId-754c7b3974cb9c70/? permanent; }
if ($args ~* ^refPageViewId=77062a0da67982ff$){ rewrite ^//?$ /refPageViewId-77062a0da67982ff/? permanent; }
if ($args ~* ^refPageViewId=770d734c61335e2f$){ rewrite ^//?$ /refPageViewId-770d734c61335e2f/? permanent; }
if ($args ~* ^refPageViewId=771675f956d182ec$){ rewrite ^//?$ /refPageViewId-771675f956d182ec/? permanent; }
if ($args ~* ^refPageViewId=7723c0fd528d059c$){ rewrite ^//?$ /refPageViewId-7723c0fd528d059c/? permanent; }
if ($args ~* ^refPageViewId=7724905930d205cd$){ rewrite ^//?$ /refPageViewId-7724905930d205cd/? permanent; }
if ($args ~* ^refPageViewId=7731c95b502e5cb9$){ rewrite ^//?$ /refPageViewId-7731c95b502e5cb9/? permanent; }
if ($args ~* ^refPageViewId=78fc9f4485412066$){ rewrite ^//?$ /refPageViewId-78fc9f4485412066/? permanent; }
if ($args ~* ^refPageViewId=7ab488fd90bb38ff$){ rewrite ^//?$ /refPageViewId-7ab488fd90bb38ff/? permanent; }
if ($args ~* ^refPageViewId=7ab8f366e0811733$){ rewrite ^//?$ /refPageViewId-7ab8f366e0811733/? permanent; }
if ($args ~* ^refPageViewId=7acd3d7c9039826f$){ rewrite ^//?$ /refPageViewId-7acd3d7c9039826f/? permanent; }
if ($args ~* ^refPageViewId=7ad0880e176982c2$){ rewrite ^//?$ /refPageViewId-7ad0880e176982c2/? permanent; }
if ($args ~* ^refPageViewId=7ad58ff9a622388c$){ rewrite ^//?$ /refPageViewId-7ad58ff9a622388c/? permanent; }
if ($args ~* ^refPageViewId=7ad5b19402a8388c$){ rewrite ^//?$ /refPageViewId-7ad5b19402a8388c/? permanent; }
if ($args ~* ^refPageViewId=7ad5eadce050388c$){ rewrite ^//?$ /refPageViewId-7ad5eadce050388c/? permanent; }
if ($args ~* ^refPageViewId=7adb55cba6593af3$){ rewrite ^//?$ /refPageViewId-7adb55cba6593af3/? permanent; }
if ($args ~* ^refPageViewId=7adc77acb6dc1fe0$){ rewrite ^//?$ /refPageViewId-7adc77acb6dc1fe0/? permanent; }
if ($args ~* ^refPageViewId=7adc7c4656491fe0$){ rewrite ^//?$ /refPageViewId-7adc7c4656491fe0/? permanent; }
if ($args ~* ^refPageViewId=7ae0c086e3b13931$){ rewrite ^//?$ /refPageViewId-7ae0c086e3b13931/? permanent; }
if ($args ~* ^refPageViewId=7ae0c65233053931$){ rewrite ^//?$ /refPageViewId-7ae0c65233053931/? permanent; }
if ($args ~* ^refPageViewId=7ae0cc5246783931$){ rewrite ^//?$ /refPageViewId-7ae0cc5246783931/? permanent; }
if ($args ~* ^refPageViewId=7ae188ea02e982e7$){ rewrite ^//?$ /refPageViewId-7ae188ea02e982e7/? permanent; }
if ($args ~* ^refPageViewId=7ae7228da0e505c2$){ rewrite ^//?$ /refPageViewId-7ae7228da0e505c2/? permanent; }
if ($args ~* ^refPageViewId=7ae738ce421405c2$){ rewrite ^//?$ /refPageViewId-7ae738ce421405c2/? permanent; }
if ($args ~* ^refPageViewId=7aede1b1d631073f$){ rewrite ^//?$ /refPageViewId-7aede1b1d631073f/? permanent; }
if ($args ~* ^refPageViewId=7af42053b7be05a2$){ rewrite ^//?$ /refPageViewId-7af42053b7be05a2/? permanent; }
if ($args ~* ^refPageViewId=7afaf05d8735205e$){ rewrite ^//?$ /refPageViewId-7afaf05d8735205e/? permanent; }
if ($args ~* ^refPageViewId=7afb87fb800d821b$){ rewrite ^//?$ /refPageViewId-7afb87fb800d821b/? permanent; }
if ($args ~* ^refPageViewId=7afe89fe025c07bf$){ rewrite ^//?$ /refPageViewId-7afe89fe025c07bf/? permanent; }
if ($args ~* ^refPageViewId=7b047c4753a33aff$){ rewrite ^//?$ /refPageViewId-7b047c4753a33aff/? permanent; }
if ($args ~* ^refPageViewId=7b0d0a79839c3b1e$){ rewrite ^//?$ /refPageViewId-7b0d0a79839c3b1e/? permanent; }
if ($args ~* ^refPageViewId=7b0d5ae570df3b1e$){ rewrite ^//?$ /refPageViewId-7b0d5ae570df3b1e/? permanent; }
if ($args ~* ^refPageViewId=7b0d6528b4723b1e$){ rewrite ^//?$ /refPageViewId-7b0d6528b4723b1e/? permanent; }
if ($args ~* ^refPageViewId=7b0e49ec034a05d2$){ rewrite ^//?$ /refPageViewId-7b0e49ec034a05d2/? permanent; }
if ($args ~* ^refPageViewId=7b106e6466fa05dc$){ rewrite ^//?$ /refPageViewId-7b106e6466fa05dc/? permanent; }
if ($args ~* ^refPageViewId=7b10b37893cb05dc$){ rewrite ^//?$ /refPageViewId-7b10b37893cb05dc/? permanent; }
if ($args ~* ^refPageViewId=7b17f72182ea9c1e$){ rewrite ^//?$ /refPageViewId-7b17f72182ea9c1e/? permanent; }
if ($args ~* ^refPageViewId=7ce3592463fc7f9e$){ rewrite ^//?$ /refPageViewId-7ce3592463fc7f9e/? permanent; }
if ($args ~* ^refPageViewId=7ce5710ee797242d$){ rewrite ^//?$ /refPageViewId-7ce5710ee797242d/? permanent; }
if ($args ~* ^refPageViewId=7ce95b97d0fc6fe9$){ rewrite ^//?$ /refPageViewId-7ce95b97d0fc6fe9/? permanent; }
if ($args ~* ^refPageViewId=7cee8e29713781d5$){ rewrite ^//?$ /refPageViewId-7cee8e29713781d5/? permanent; }
if ($args ~* ^refPageViewId=7cef8c5a352d82b0$){ rewrite ^//?$ /refPageViewId-7cef8c5a352d82b0/? permanent; }
if ($args ~* ^refPageViewId=7d01cb5cc0672d26$){ rewrite ^//?$ /refPageViewId-7d01cb5cc0672d26/? permanent; }
if ($args ~* ^refPageViewId=7d073f4db427822c$){ rewrite ^//?$ /refPageViewId-7d073f4db427822c/? permanent; }
if ($args ~* ^refPageViewId=7d20d42e50db0587$){ rewrite ^//?$ /refPageViewId-7d20d42e50db0587/? permanent; }
if ($args ~* ^refPageViewId=7d2774601243825c$){ rewrite ^//?$ /refPageViewId-7d2774601243825c/? permanent; }
if ($args ~* ^refPageViewId=7d2782b0c5f7825c$){ rewrite ^//?$ /refPageViewId-7d2782b0c5f7825c/? permanent; }
if ($args ~* ^refPageViewId=7d287208873c3b1a$){ rewrite ^//?$ /refPageViewId-7d287208873c3b1a/? permanent; }
if ($args ~* ^refPageViewId=7d48403932769c6a$){ rewrite ^//?$ /refPageViewId-7d48403932769c6a/? permanent; }
if ($args ~* ^refPageViewId=7d506f15e74305ab$){ rewrite ^//?$ /refPageViewId-7d506f15e74305ab/? permanent; }
if ($args ~* ^refPageViewId=7d50e8bb62e28205$){ rewrite ^//?$ /refPageViewId-7d50e8bb62e28205/? permanent; }
if ($args ~* ^refPageViewId=7d52c081f29807a4$){ rewrite ^//?$ /refPageViewId-7d52c081f29807a4/? permanent; }
if ($args ~* ^refPageViewId=7d55029b763b0784$){ rewrite ^//?$ /refPageViewId-7d55029b763b0784/? permanent; }
if ($args ~* ^refPageViewId=7d55216414dd0784$){ rewrite ^//?$ /refPageViewId-7d55216414dd0784/? permanent; }
if ($args ~* ^refPageViewId=7d552788348e0784$){ rewrite ^//?$ /refPageViewId-7d552788348e0784/? permanent; }
if ($args ~* ^refPageViewId=7d5601df516b38fe$){ rewrite ^//?$ /refPageViewId-7d5601df516b38fe/? permanent; }
if ($args ~* ^refPageViewId=80a46bc8d75338ac$){ rewrite ^//?$ /refPageViewId-80a46bc8d75338ac/? permanent; }
if ($args ~* ^refPageViewId=80aac4b820ed39b6$){ rewrite ^//?$ /refPageViewId-80aac4b820ed39b6/? permanent; }
if ($args ~* ^refPageViewId=80af05c911bf07d7$){ rewrite ^//?$ /refPageViewId-80af05c911bf07d7/? permanent; }
if ($args ~* ^refPageViewId=80b5bca8c27c241c$){ rewrite ^//?$ /refPageViewId-80b5bca8c27c241c/? permanent; }
if ($args ~* ^refPageViewId=80b6f742f19e2046$){ rewrite ^//?$ /refPageViewId-80b6f742f19e2046/? permanent; }
if ($args ~* ^refPageViewId=80bf002e65b80850$){ rewrite ^//?$ /refPageViewId-80bf002e65b80850/? permanent; }
if ($args ~* ^refPageViewId=80c4046fb7ef825d$){ rewrite ^//?$ /refPageViewId-80c4046fb7ef825d/? permanent; }
if ($args ~* ^refPageViewId=80c9225aa05c07f2$){ rewrite ^//?$ /refPageViewId-80c9225aa05c07f2/? permanent; }
if ($args ~* ^refPageViewId=80cbebe123ab3b3b$){ rewrite ^//?$ /refPageViewId-80cbebe123ab3b3b/? permanent; }
if ($args ~* ^refPageViewId=80cc035157b73b3b$){ rewrite ^//?$ /refPageViewId-80cc035157b73b3b/? permanent; }
if ($args ~* ^refPageViewId=80d3e80401e7825c$){ rewrite ^//?$ /refPageViewId-80d3e80401e7825c/? permanent; }
if ($args ~* ^refPageViewId=80d6149872126f9e$){ rewrite ^//?$ /refPageViewId-80d6149872126f9e/? permanent; }
if ($args ~* ^refPageViewId=80fa4e48460a2010$){ rewrite ^//?$ /refPageViewId-80fa4e48460a2010/? permanent; }
if ($args ~* ^refPageViewId=8103d34270032d0a$){ rewrite ^//?$ /refPageViewId-8103d34270032d0a/? permanent; }
if ($args ~* ^refPageViewId=8106ea3054d582f6$){ rewrite ^//?$ /refPageViewId-8106ea3054d582f6/? permanent; }
if ($args ~* ^refPageViewId=81073f33a3ec82f6$){ rewrite ^//?$ /refPageViewId-81073f33a3ec82f6/? permanent; }
if ($args ~* ^refPageViewId=81081f1a22902042$){ rewrite ^//?$ /refPageViewId-81081f1a22902042/? permanent; }
if ($args ~* ^s=wp-admin$){ rewrite ^//?$ /s-wp-admin/? permanent; }
if ($args ~* ^refPageViewId=5f871decd3ac0da2$){ rewrite ^/blog/?$ /blog/refPageViewId-5f871decd3ac0da2/? permanent; }
if ($args ~* ^refPageViewId=616b352cd6b3f0d1$){ rewrite ^/blog/?$ /blog/refPageViewId-616b352cd6b3f0d1/? permanent; }
if ($args ~* ^refPageViewId=61834907a20fcee4$){ rewrite ^/blog/?$ /blog/refPageViewId-61834907a20fcee4/? permanent; }
if ($args ~* ^refPageViewId=629c1c6d92c43823$){ rewrite ^/blog/?$ /blog/refPageViewId-629c1c6d92c43823/? permanent; }
if ($args ~* ^refPageViewId=6633502ec0f25a69$){ rewrite ^/blog/?$ /blog/refPageViewId-6633502ec0f25a69/? permanent; }
if ($args ~* ^refPageViewId=6b473e0ac02e8018$){ rewrite ^/blog/?$ /blog/refPageViewId-6b473e0ac02e8018/? permanent; }
if ($args ~* ^refPageViewId=80a46bc8d75338ac$){ rewrite ^/blog/?$ /blog/refPageViewId-80a46bc8d75338ac/? permanent; }
if ($args ~* ^attorney=Frank\+A\.\+Longest$){ rewrite ^/contact-us/?$ /contact-us/attorney-Frank-A_-Longest/? permanent; }
if ($args ~* ^attorney=N\.\+Madison\+Wall\%2C\+II$){ rewrite ^/contact-us/?$ /contact-us/attorney-N_-Madison-Wall--II/? permanent; }
if ($args ~* ^attorney=Peter\+T\.\+Blaetz$){ rewrite ^/contact-us/?$ /contact-us/attorney-Peter-T_-Blaetz/? permanent; }
if ($args ~* ^attorney=W\.\+Clary\+Holt$){ rewrite ^/contact-us/?$ /contact-us/attorney-W_-Clary-Holt/? permanent; }
if ($args ~* ^attorney=W\.\+Phillip\+Moseley$){ rewrite ^/contact-us/?$ /contact-us/attorney-W_-Phillip-Moseley/? permanent; }

# Create pretty URLs
rewrite ^/([^/]+)/$ /$1.html last;
rewrite ^/([^/]+)/([^/]+)/$ /$1/$2.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4/$5.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4/$5/$6.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4/$5/$6/$7.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4/$5/$6/$7/$8.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4/$5/$6/$7/$8/$9.html last;
rewrite ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /$1/$2/$3/$4/$5/$6/$7/$8/$9/$10.html last;
# End: Create pretty URLs

# Redirect all extensions to html
if ($is_args = ''){
	rewrite ^([^.]*)\.shtml$ $1.html permanent;
	rewrite ^([^.]*)\.phtml$ $1.html permanent;
	rewrite ^([^.]*)\.jhtml$ $1.html permanent;
	rewrite ^([^.]*)\.htm$ $1.html permanent;
	rewrite ^([^.]*)\.php$ $1.html permanent;
	rewrite ^([^.]*)\.aspx$ $1.html permanent;
	rewrite ^([^.]*)\.asp$ $1.html permanent;
	rewrite ^([^.]*)\.jsp$ $1.html permanent;
	rewrite ^([^.]*)\.apk$ $1.html permanent;
}
# End: Redirect all extensions to html
