Solved

rewrite question

Posted on 2003-12-10
4
248 Views
Last Modified: 2010-08-05
I've recently been helped by my web host to do a url rewrite.  It's not the first time, so each new one has to be respidered.  The last time used underscores to represent where spaces would be between words.  The database was based on cities and states.  Because some cities have multiple states..  that is, there are different states with a city by the same name, I discovered after the last rewrite that people were being sent to the correct city in the wrong state sometimes.  

So now, that problem is resolved, but I'm wondering if the manner in which it was resolved will be productive or counterproductive to my efforts to be search engine friendly.  now, detail pages read www.mydomain.com/keyword.city_name.AB.html   where AB=the two-letterabbreviation for the state.

It works, it has the cityname, but it has all these "."s

How does that compare to having a city name following www.mydomain.com/keyword/city.html  ?

In that case, the detail page was twice removed in directories from the home page.  Should I seek a better solution?
0
Comment
Question by:linque
  • 2
4 Comments
 
LVL 6

Assisted Solution

by:DoppyNL
DoppyNL earned 125 total points
ID: 9918929
I don't know what keyword is, but I suspect it is a search parameter of some kind?!?

I would use this format:
http://www.mydomain.com/AB/city/keyword/
I would even drop the .html ! (doesn't matter for search engine's, as they suspect you are returning something like an index.html

But in reality it doesn't really matter in what order those parameters are, crawlers really aren't that smart as humans are. They simply look at links that point to pages and so on.
if there is a . or not in the url doesn't matter, it will simply be seen as a part of a dir-name or file-name.

a plus to use a / instead of a . is that some crawlers might realise that it is a sub-dir and may suspect a relation between those subpages; causing a better ranking on other subdirs...

Do keep away from these characters though:
? = & ' " ` ; : { } < > ( ) ! @ # % * [ ] \ + (space)
why? because they can cause all kinds of troubles.
Some are used in crawler software wich causes problems with indexing your pages
Some are used on forums, wich cause problems when displaying urls
Some are common characters wich causes word processing software to cut of your url to early.
Some are `banned` by crawlers because they show that the page is dynamic
and more


>> In that case, the detail page was twice removed in directories from the home page.
What do you mean with this?
0
 
LVL 24

Accepted Solution

by:
duz earned 125 total points
ID: 9918967
linque -

>...productive or counterproductive...

I haven't got a definitive answer for this one! I can say that I have seen sites in top positions with   www.mydomain.com/keyword.keyword.keyword/ directory names so they must be ok in some circumstances. On the other hand the conventional opinion is that using "."s in a directory name as far as search engine bots are concerned is asking for trouble.

>How does that compare to having a city name following www.mydomain.com/keyword/city.html  ?

Subject to the jury being still out on the "."s it should be better because the pages are now one less down from the root directory.

My inclination would be to leave it as it is and see what the bots do with it from the server logs but there has to be a small element of risk associated with that approach.

Sorry I can't be more helpful :(

- duz

0
 

Author Comment

by:linque
ID: 9919072
Thank you both!   And your comments are always very helpful duz!

I just wish the changes did not result in lost time as they seem to.  I'll probably sit it out as you suggested, duz.  
0
 
LVL 24

Expert Comment

by:duz
ID: 9919659
DoppyNL -

>> In that case, the detail page was twice removed in directories from the home page.
>What do you mean with this?

I think linque is working on the correct assumption that, everything else being equal, shallow directory depth is crawler friendly and gets indexed faster although the depth makes no difference to the index itself. The google algo of course considers link depth and not directory depth.

- duz

0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A step by step SEO guide to creating content that drives traffic and maximizes page views by using the right tricks, tools and keyword analysis. You are the subject matter expert.   You have forgotten more about your area of expertise than most …
[Part 2 of a 6 part series called SEO Basics: 5 SEO Secrets for Creating Content that Drives Traffic (http://www.experts-exchange.com/Web_Development/Internet_Marketing/Search_Engine_Optimization_SEO/A_8369-SEO-Basics-5-SEO-Secrets-for-Creating-Cont…
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now