Echo address after domain
Hey all,
Just trying to figure something out and hoped one of you might know the answer...
I'm trying to return an rss link from a custom search result, i.e.:
Search URL:
http://www.domain.co.uk/?search-clas...-10=&sa=search
Feed URL:
http://www.domain.co.uk/feed/?search-class=DB_CustomSearch_Widget-db_customsearch_widget&widget_number=preset-default&cs-cp_state-0=Kent&cs-all-1=&cs-cp_price-2=&cs-cp_year-3=&cs-cp_ad_type-4=&cs-cp_exterior_colour-5=&cs-cp_mileage-6=&cs-cp_transmission-7=&cs-cp_engine_upgrades-8=&cs-cp_exhaust_upgrade-9=&cs-cp_part_exchange-10=&sa=search
I need this to happen automatically in the page, so I'm looking for echo code to return just the search string (i.e. without the domain):
?search-class=DB_CustomSearch_Widget-db_customsearch_widget&widget_number=preset-default&cs-cp_state-0=Kent&cs-all-1=&cs-cp_price-2=&cs-cp_year-3=&cs-cp_ad_type-4=&cs-cp_exterior_colour-5=&cs-cp_mileage-6=&cs-cp_transmission-7=&cs-cp_engine_upgrades-8=&cs-cp_exhaust_upgrade-9=&cs-cp_part_exchange-10=&sa=search
Thanks
Tom