Forum Moderators: Robert Charlton & goodroi
I had not thought about this, but apparently blue_widgets.html is considered 1 word, where as blue-widgets.html is considered 2 words. So for multi-word titles used as static HTML names, it looks like using a hyphen is far better than using an underscore. A brief look at the SERPS does confirm this.
Hey MattG3, I would not want to redirect to the root(provided I understand those redirects)
Only one, the first redirects to root as it makes sense when having outdated pages.
All others do take what is after the domain name and redirect it to a new server/directory leaving whatsafter the domain name.
so what comes in on
blafasel.com/olddir/page.html
will be redirected to
blafasel.com/newdir/page.html
or blafasel.com/somepage.html
will be redirected to
www.blafasel.com/somepage.html
here are hints how to continue
[webmasterworld.com...]
if you have issues with QUERY_STRING
you can also look for RedirectMatch on apache.org etc.
You can of course also do
RedirectMatch Permanent /yourdir/^(.*)_(.*)$ /yourdir/$1-$2
or
RedirectMatch Permanent /yourdir/^([0-9a-zA-Z]*)_([0-9a-zA-Z]+)$ /yourdir/$1-$2
or whatever fits your pages. These are just examples.
Hey anniej, The new, smaller, non-established site is the one I renamed a bunch of files on. It is only about a month old, and has not had many of the pages indexed yet, and has not had many visitors yet.
The bigger, older, established site, I will not be changing the file names. I need to break up a bunch of the product pages(they have gotten too large over time, as I added more and more products to the pages) and I will use the dotted naming convention for all the new pages I have to create to move the products to. It was not out of paranoia, I have to change the pages, and create new pages anyway, I was only considering the re-naming, while I was changing each page.
Hey Asia_Expat, I chose the dotted naming convention over the dashed, because IMHO it is eaiser to read.
Back to watching, (I have got to stop posting, I have posted more today, than I have in months)
Thanks!
WW_Watcher
[edited by: WW_Watcher at 4:40 am (utc) on April 23, 2006]
Wont I take a hit for switching over? Can I do a 301 without dropping in rank? What would you do?
Thanks!
If you really have to change some pages, then use a single regex redirect from underscore URLs to dot or hyphen URLs to catch all visitors still using old listings, old links, and old bookmarks.
We could argue that hyphens help when the url is in anchor text, but how many times does anyone get a url-link to an inner page? And who uses urls as anchor text in their onsite navigation.
As for the domain name, a little off-topic but it's getting mentioned... I've always felt that the domain name boost is largely about your company name, and that's what gives you the biggest boost. Only about 10% or so, if even that many, of home page inbounds I see are domain name links. Many of my clients have multi-word, non-hyphenated domain names and they do just fine with them.