Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Redirecting Dynamic Urls


  • Please log in to reply
2 replies to this topic

#1 bims

bims

    HR 4

  • Active Members
  • PipPipPipPip
  • 118 posts
  • Location:London, UK

Posted 22 August 2012 - 02:40 PM

Hello,

I am a joomla user and as I no longer use a hotel booking software and I uninstalled it. Unfortunately, this is now causing a lot of 404s as a lot of dynamic urls have been created. This has been flagged in google "webmaster tools" and I'd like to be able to rectify. Can someone help me with how I can redirect any URL concerning Jomres be redirected to another page?

For example:
index.php?option=com_jomres&Itemid=573&lang=en&task=featured_properties

To be redirected to
www.website.com/newpage.html

I am on Joomla 2.5.x

Thanking you in advance.

#2 cfreek

cfreek

    AAAHHHH!!1one1!

  • Active Members
  • PipPipPipPip
  • 166 posts
  • Location:Richmond, Virginia, Earth

Posted 22 August 2012 - 03:51 PM

Assuming you have access to .htaccess, something like this should work:

RewriteCond %{QUERY_STRING} option=com_jomres [NC]
RewriteRule ^(.*)$ http://www.website.com/newpage.html? [R=301,L]

Edited by cfreek, 22 August 2012 - 03:53 PM.


#3 bims

bims

    HR 4

  • Active Members
  • PipPipPipPip
  • 118 posts
  • Location:London, UK

Posted 24 August 2012 - 03:13 PM

Worked a treat! Thank you very much!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!