Hi everyone, I have no idea how to use htaccess at the moment. I have some research to do. But, I need some quick help with something. I recently re-designed a site using a different script. This of course changed some of the URL's indexed with Google. I don't want to lose the rankings of a certain page. WARNING: The following links lead to adult related content. I need to know how to 301 permanent redirect the following: www.justfilthy.com/categories.php?cat_id=12 needs to be 301 reredirected to: http://justfilthy.com/pussy-tattoos/index.php How can I do that? I couldn't find out anywhere. I tried to learn it on my own before asking, but can't figure it out. Please, any help would be greatly appreciated. Just so you know, I was able to find how to redirect a .php to .php or .html to .html, but my problem is redirecting a dynamic url to a .php. -boxer126
Use this in your .htaccess: Redirect permanent /categories.php?cat_id=12 http://justfilthy.com/pussy-tattoos/index.php
Thanks manish, but I tried that already. It didn't work. The page www.justfilthy.com/categories.php?cat_id=12 doesn't end in .php or .html so I don't think this method works for that reason. It's a dynamically created page when called. Anybody else know a possible answer to this? Unless I'm missing something. htaccess should redirect right away, correct? -boxer126