.htaccess redirect
3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 25, 2011 (RSS)
By KCMedia - October 24, 2011
Hi
I am trying to redirect one url
/used-motorcycles.php?manufacturer=Gasoline to http://www.gasolinecustomgarage.com.au
but i have tried this and it wont work anyone help me why
Redirect /used-motorcycles.php?manufacturer=Gasoline http://www.actionmc.com.au/index.php
I am trying to redirect one url
/used-motorcycles.php?manufacturer=Gasoline to http://www.gasolinecustomgarage.com.au
but i have tried this and it wont work anyone help me why
Redirect /used-motorcycles.php?manufacturer=Gasoline http://www.actionmc.com.au/index.php
Thanks
Craig
KC Media Solutions
www.kcmedia.biz
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] .htaccess redirect
By Jason - October 25, 2011
Hi Craig,
If this is the only instance where you'll need to do a redirect, you could do this directly in the php of used-motorcycles.php
At the top of the page you could do this:
Hope this helps
If this is the only instance where you'll need to do a redirect, you could do this directly in the php of used-motorcycles.php
At the top of the page you could do this:
if (strtolower(@$_REQUEST['manufacturer']) == "gasoline") {
redirectBrowserToURL("http://www.gasolinecustomgarage.com.au ");
exit;
}
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] .htaccess redirect
By KCMedia - October 25, 2011
Hi Jason
thanks for that is worked.
thanks for that is worked.
Thanks
Craig
KC Media Solutions
www.kcmedia.biz
Craig
KC Media Solutions
www.kcmedia.biz