chuckconnors
Newbie
- Feb 9, 2010
- 8
- 1
Hey guys, I'm a bit confused. Here's what I did for one of my sites (a joke site):
old url format:
/jokes/30.php
new url format after using mod rewrite rules in .htaccess:
/jokes/30-The_Lawyer_and_the_engineer_joke.php
I've cut out the sitename portion to adhere to the forum rules about linking
Now this works fine for all my joke pages. I'm pulling the joke title out of the database and adding it to the jokeid.
The question I have is do I need to somehow do a 301 redirect for all requests coming in from:
/jokes/30.php
and send them to:
/jokes/30-The_Lawyer_and_the_engineer_joke.php
I'm concerned that I will be penalized for duplicate content as the /jokes/###.php files are already indexed. Is that true?
If I do have to use a 301 redirect, can someone tell me how I can do this using the example urls I've mentioned above? I've tried a few things on one page but haven't had any success. I guess I can make one entry per url in the .htaccess file?
Any help would be greatly appreciated. Thanks.
old url format:
/jokes/30.php
new url format after using mod rewrite rules in .htaccess:
/jokes/30-The_Lawyer_and_the_engineer_joke.php
I've cut out the sitename portion to adhere to the forum rules about linking
Now this works fine for all my joke pages. I'm pulling the joke title out of the database and adding it to the jokeid.
The question I have is do I need to somehow do a 301 redirect for all requests coming in from:
/jokes/30.php
and send them to:
/jokes/30-The_Lawyer_and_the_engineer_joke.php
I'm concerned that I will be penalized for duplicate content as the /jokes/###.php files are already indexed. Is that true?
If I do have to use a 301 redirect, can someone tell me how I can do this using the example urls I've mentioned above? I've tried a few things on one page but haven't had any success. I guess I can make one entry per url in the .htaccess file?
Any help would be greatly appreciated. Thanks.