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
- - - - -

Simple Redirect Non-Existent Id To Real Id


  • Please log in to reply
No replies to this topic

#1 bobmeetin

bobmeetin

    HR 6

  • Active Members
  • PipPipPipPipPipPip
  • 535 posts
  • Location:Colorado

Posted 07 March 2013 - 12:28 PM

ID 10893 is bogus, a typo, but the typo got indexed by google. correct ID is 1093

 

This seems simple enough, redirect bogus to good.  Good is good.

 

 

 

Visit http://www.yourdomai...oducts_id=1093.

 

This takes you directly to the page.   I have tried this several ways, with/without 

 

http://www.yourdomain.net

 

 

 

 

RewriteRule http://www.yourdomai...oducts_id=10893  index.php?main_page=product_info&products_id=1093 [R=301,L]


RewriteRule index.php?main_page=product_info&products_id=10893  index.php?main_page=product_info&products_id=1093 [R=301,L]

 

So yes I am puzzled. The problem is that visiting the 10893 item takes you to a non-existent page on the site.


Edited by Jill, 07 March 2013 - 12:55 PM.
added code tags so that it's readable without live links





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!