chmpdog Posted August 18, 2011 Share Posted August 18, 2011 I set up a subdomain for my website using godaddy and this code in my htacess: RedirectMatch 301 ^/photo/(.*)$ http://photo.urbanfishingshow.com/$1 It works great redirecting except one minor issue. If you go to the website http://photo.urbanfishingshow.com/Season-1-Episode-2-Fly-Fishing-for-Huge-Browns/ it will redirect to the non dynamic version http://photo.urbanfishingshow.com/index.php?uri=Season-1-Episode-2-Fly-Fishing-for-Huge-Browns automatically. Any ideas how to fix this and keep the url dynamic with the redirect? Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/245145-301-redirect-with-dynamic-url/ Share on other sites More sharing options...
requinix Posted August 18, 2011 Share Posted August 18, 2011 That RedirectMatch has nothing to do with your problem. What's the rest of the .htaccess for the photo.urbanfishingshow.com site? Quote Link to comment https://forums.phpfreaks.com/topic/245145-301-redirect-with-dynamic-url/#findComment-1259145 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.