Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

suthra
Joined: Mar 25, 2004
# Posts: 37

View the profile for suthra Send suthra a private message

Posted: 2006-Apr-13 08:24
Edit Message Delete Message Reply to this message

I have this problem and thought of posting

Our old urls was like:
mysite.com/js/listings.php?emp=abcd-100&pg=12

I rewrote this urls to:
mysite.com/india/abcd-100/12/


All But yahoo searchengine still crawls our old url (It also crawls our new URL sad )

Now i want to redirect all old urls to the New rewritten URL
Like:
mysite.com/js/listings.php?emp=abcd-100&pg=12 to:
mysite.com/india/abcd-100/12/

Here emp and pg values are dynamic

Pls help smile



SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3603

View the profile for SportsGuy Send SportsGuy a private message

Posted: 2006-Apr-13 12:43
Edit Message Delete Message Reply to this message

Read through THIS thread... wink



suthra
Joined: Mar 25, 2004
# Posts: 37

View the profile for suthra Send suthra a private message

Posted: 2006-Apr-15 06:02
Edit Message Delete Message Reply to this message

Hi SPortsguy thanks for that link., My query is somewhat different.

I want to redirect a rewritten URL .,
ie.,
I when someone types my old URL it should redirect to my New Rewritten Url smile




suthra
Joined: Mar 25, 2004
# Posts: 37

View the profile for suthra Send suthra a private message

Posted: 2006-Apr-19 06:33
Edit Message Delete Message Reply to this message

Neone ?smile



SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3603

View the profile for SportsGuy Send SportsGuy a private message

Posted: 2006-Apr-19 13:09
Edit Message Delete Message Reply to this message

OK, you're talking about URL-rewriting - different animal - sorry for the misleading info earlier...

There are software applications you can install on your server to handle this for you. You must create the new URL, use the new URL in your navigation and program the software to understand (it's easy - one doc) that when a user clicks the NEW URL, they want the content that resides at the OLD URL.

be careful, though.

The spiders will have indexed the OLD URL and when they see the NEW URL, they'll index that too - now you'll have dupe content - two URLs, same content - not good.

I'm working on this right now at work for our websites.

Looks liek the way to go will be to do as above, then insert a robots.txt file on the root for the domain. THAT .txt file will instruct the spiders to NOT index anything below (insert a directory here).

This should, over time, allow the engines to drop the old URLs form the index and keep the newer URLs, since they CAN spider those.

It takes a bit to wrap your head around this, but it should work.

...and thus far, I have not found anything which would simply rewrite URLs on the fly for you - at least nothing which wouldn't be considered a spammy trick by the engines.

Applications as I mentioned above function only when you tell it:

new URL = old URL

You cannot simply say, "Hey, take a look at the old URL and send everyone who asks for it to this new URL." Your site's navigation must use the NEW URLs for the application to function properly and do what you want - which is to leave the content at the old URL, but *show* a new URL to everyone.

We're doing this to simply show cleaner URLs to humans and spiders (which I still personally think borders on spammy, but...)

If I'm missing something on this front gang, please let me know - happy to learn of new things on this while I'm still working on it.

Duane



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10465

View the profile for g1smd Send g1smd a private message

Posted: 2006-Apr-19 20:41
Edit Message Delete Message Reply to this message

You got it. That is the correct way to do things.



suthra
Joined: Mar 25, 2004
# Posts: 37

View the profile for suthra Send suthra a private message

Posted: 2006-May-11 06:15
Edit Message Delete Message Reply to this message

Thanks sportsman for the reply., What is that software you were talking about.,

Further, I already did a mod rewrite to all my dynamic urls to look like:
mysite.com/india/abcd-100/12/

All searchengines except yahoo removed the old urls from their database and have listed my new urls.,

But yahoo alone, now have Both the URLs (Dynamic and rewritten urls) in their listings., I fear that this may lead to duplicate content.


All i need now is to 301 redirect all my dynamic urls to my New rewritten url smile Or a way to remove all the Old Dynamic urls from Yahoo's index .



SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3603

View the profile for SportsGuy Send SportsGuy a private message

Posted: 2006-May-11 14:07
Edit Message Delete Message Reply to this message

Software is: Qwerksoft - Google them. wink

If your mod-rewrite is working, run with it - just make sure you're passing things around properly, or you *might* get tagged for some improper (as the engines see it) redirecting.

As for Yahoo having both URLs - do some research, but I think you'l find that it's just going to take them time to update their cache. Putting up the 301s should help speed that for them by "showing" them there's been a permanent move there.



suthra
Joined: Mar 25, 2004
# Posts: 37

View the profile for suthra Send suthra a private message

Posted: 2006-May-12 09:31
Edit Message Delete Message Reply to this message

Thanks a lot sportsguy for your polite replies and help. I will look into it smile


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions