PDA

View Full Version : Site Redirects To Destination Containing Query



D9r
12-16-2005, 02:16 PM
From within the DA control panel, I'm trying to create a Site Redirect that points to a mapquest map. The input field for destination url doesn't accept the query string. Is there a way to make it work?

» Home » tuckertoday.com » Site Redirects
Add New Redirect

Local URL Path: /maps/caliente
Destination URL: http://www.mapquest.com/maps/map.adp?formt...tucker&state=ga (http://www.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&address=3965+Lawrenceville+Highway&city=tucker&state=ga)


Error Message:
Unable to add redirect

Details

The local url path or the destination url is invalid.

D9r
12-17-2005, 11:00 AM
Anyone? Bueller? Bueller? (http://www.imdb.com/title/tt0091042/)

eugene
12-17-2005, 04:46 PM
You could just do it via html or php.

D9r
12-18-2005, 10:58 PM
Thanks, but I want to write it as a plain-text link in an email and have it actually redirect -- not, if I understand you correctly, type it one way and link it with html to somewhere else.

It should work like this: http://tuckertoday.com/maps/caliente

I just went ahead and added a redirect in the .htaccess file. Sometimes I guess it's better to do things the old-fashioned way rather than try to take short cuts with the DA control panel. ;)

scottnj
12-18-2005, 11:35 PM
in your "/maps/caliente" try createing an "index.php" with
<?php
header('location:http://www.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&address=3965+Lawrenceville+Highway&city=tucker&state=ga');
?>