Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

SEO Tycoon


You are currently viewing our SEO Tycoon as a guest. Please register to participate.
Login



Freelance Jobs

Reply
rewritten url index twice problem
Old 10-05-2008, 01:16 AM rewritten url index twice problem
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
I posted a while back and got no solution.

Now I am using webmaster tools on google and shows the duplicate content and it's all the rewritten urls that are rewritten as directories.

It indexes /directory/ and /directory, but I only want /directory/ .. Is there anyway to fix this? Maybe a redirect for EACH of the rewrites? How'd I go about that?

Help
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
 
Register now for full access!
Old 10-06-2008, 07:52 AM Re: rewritten url index twice problem
Average Talker

Posts: 19
Name: Raj S
Trades: 0
The post you have done is not giving a clear picture of the issue. Could you please re-direct us by giving an example?
__________________

Please login or register to view this content. Registration is FREE
- Extreme ethical Clothing that transforms
lightningfast is offline
Reply With Quote
View Public Profile Visit lightningfast's homepage!
 
Old 10-06-2008, 08:30 AM Re: rewritten url index twice problem
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
Sorry I'm not clear.

http://www.url.com/directory
and
http://www.url.com/directory/

they are both indexed but are rewritten urls themselves, so how do I make sure the user/search engine is always pointed to the one with the ending / ?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-06-2008, 10:43 AM Re: rewritten url index twice problem
juliensimon's Avatar
No melon, no lemon

Posts: 1,570
Name: Julien
Location: Vancouver, BC
Trades: 0
simply do a 301 redirect from the directory to the directory/
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
juliensimon is offline
Reply With Quote
View Public Profile Visit juliensimon's homepage!
 
Old 10-06-2008, 11:30 AM Re: rewritten url index twice problem
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
How do I do that with rewritten urls?

e.g

RewriteRule ^([a-z0-9]+)-([a-z0-9-_]+)/?$ /page.php?id=$1&cat=$2
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-06-2008, 12:06 PM Re: rewritten url index twice problem
juliensimon's Avatar
No melon, no lemon

Posts: 1,570
Name: Julien
Location: Vancouver, BC
Trades: 0
RewriteRule ^product.php?id=([0-9]+)(/)?$ product/$1 [R=301]

http://www.301-redirect.net/en/301-r...ite-rules.html

I hope this helps.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
juliensimon is offline
Reply With Quote
View Public Profile Visit juliensimon's homepage!
 
Old 10-06-2008, 12:58 PM Re: rewritten url index twice problem
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
RewriteRule ^([a-z0-9]+)-([a-z0-9-_]+)/?$ /games.php?id=$1&game=$2
RewriteRule ^games.php?id=([a-z0-9]+)&game=([a-z0-9-_]+)(/)?$ $1-$2 [R=301]

doesn't work, forgive my inexperience with this.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Reply     « Reply to rewritten url index twice problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.66891 seconds with 12 queries