URL Redirect Help Need - YYCELS

  • ace1rashid
  • Born
  • Born
  • ace1rashid
  • Posts: 3

Post 3+ Months Ago

Hi There,

I have some old urls that need to be redirected to the home page.

Example:

Old URL is ==> "/upper_subcat.php?id=Ng==&cat_id=Mg=="
Old URL is ==> "/upper_subcat.php?id=OA==&cat_id=Mg=="
New URL is ==> "/index.html"

Can someone help me with this.
Thanks a bunch!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • RedBMedia
  • Proficient
  • Proficient
  • User avatar
  • Posts: 315

Post 3+ Months Ago

in your htaccess file put something like:

Code: [ Select ]
Options +FollowSymlinks
RewriteEngine on
redirect 301 /upper_subcat.php?id=Ng==&cat_id=Mg== http://www.YourDomain.com/index.html
redirect 301 /upper_subcat.php?id=Ng==&cat_id=OA== http://www.YourDomain.com/index.html  
  1. Options +FollowSymlinks
  2. RewriteEngine on
  3. redirect 301 /upper_subcat.php?id=Ng==&cat_id=Mg== http://www.YourDomain.com/index.html
  4. redirect 301 /upper_subcat.php?id=Ng==&cat_id=OA== http://www.YourDomain.com/index.html  

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 56 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.