Version: 5.0.59
URL: http://www.photographydirectory.org
|
emmeten
Member Usergroup: Customer Joined: Nov 17, 2008 Total Topics: 14 Total Posts: 32 |
Posted 08/01/09 - 1:39 AM:
Hi Paul, I'm renaming some categories and I've added a redirect 301 to the htaccess but the url comes out not friendly Here is what I'm doing I have a category CARS at http://www.photographydirectory.org/photographers/cars/ I've renamed it CAR PHOTOGRAPHY and the new url is http://www.photographydirectory.or...ographers/car-photography/ Then I've added to the htaccess the following: Redirect 301 /photographers/cars/ http://www.photographydirectory.or...ographers/car-photography/ It works but the url appear as http://www.photographydirectory.or...atname=photographers/cars/ I need to remove the ?rewritten=1&action=displaycat&catname=photographers/cars/ from the url How can I do? |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 08/03/09 - 4:03 PM:
A 301 redirect means you want the destination in the URL instead of using real rewriting. You're choosing to do redirects instead of rewrites. |
|
emmeten
Member Usergroup: Customer Joined: Nov 17, 2008 Total Topics: 14 Total Posts: 32 |
Posted 08/03/09 - 11:49 PM:
got it! thanks Paul, I resolved with the RewriteRule RewriteEngine On RewriteRule ^olddir/(.*)$ http://sitename.com/newdir/$1 [R=301,L] |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print