Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
suthra
Joined: Mar 25, 2004
# Posts: 37
|
Posted: 2006-Apr-13 08:24
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 )
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
|
 |
SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3603
|
Posted: 2006-Apr-13 12:43
Read through THIS thread...
|
 |
suthra
Joined: Mar 25, 2004
# Posts: 37
|
Posted: 2006-Apr-15 06:02
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
|
 |
suthra
Joined: Mar 25, 2004
# Posts: 37
|
Posted: 2006-Apr-19 06:33
Neone ?
|
 |
SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3603
|
Posted: 2006-Apr-19 13:09
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
|
Posted: 2006-Apr-19 20:41
You got it. That is the correct way to do things.
|
 |
suthra
Joined: Mar 25, 2004
# Posts: 37
|
Posted: 2006-May-11 06:15
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 Or a way to remove all the Old Dynamic urls from Yahoo's index .
|
 |
SportsGuy
Staff
Joined: Aug 30, 2002
# Posts: 3603
|
Posted: 2006-May-11 14:07
Software is: Qwerksoft - Google them.
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
|
Posted: 2006-May-12 09:31
Thanks a lot sportsguy for your polite replies and help. I will look into it
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- 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
|
|