Jump to content

Recommended Posts

Dashes and underscores are treated equally by google since <insert some date I forgot here> and are generally considered the best solution so go with either of those.

 

I prefer underscores as the normal dash is sometimes used in words. (Though I haven't tested or research if searching for "some-word" would yield better results from a /some-word url than it would from a /some_word url.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-815626
Share on other sites

Representatives of Google have released information.

 

You should always aim for the first one but if you absolutely cant (changing old pages to new pages), just keep it as so. If you are making a new page, try to use the first one.

 

This is the order they would prefer is:

 

1. www.domain.com/it-is-the-url.html

2. www.domain.com/it_is_the_url.html

3. www.domain.com/itistheurl.html

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-819870
Share on other sites

Representatives of Google have released information.

 

You should always aim for the first one but if you absolutely cant (changing old pages to new pages), just keep it as so. If you are making a new page, try to use the first one.

 

This is the order they would prefer is:

 

1. www.domain.com/it-is-the-url.html

2. www.domain.com/it_is_the_url.html

3. www.domain.com/itistheurl.html

 

I would like to question your claims. Google has stated that "-" and "_" do not make a difference. AS a matter of fact, you don't need any spaces. Google finds and compares strings to other string. - You don't need physical breaks. The only url schema google would have a problem with is dynamic variables, as it can't index dynamic urls.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-822393
Share on other sites

I would go for:

 

www.domain.com/it-is-the-url.html

 

As far as I can tell Google treats - and _ differently. If you do a search for "hi_tek" and "hi-tek" you get different results.

 

Also, try Googeling the following:

 

site:wikipedia.org "hi_tek"

site:wikipedia.org "hi-tek"

 

On the one you don't get results.

 

To my knowledge - is equated by Google to be a space, whereas _ is just considered to be itself.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-824317
Share on other sites

As far as I can tell Google treats - and _ differently. If you do a search for "hi_tek" and "hi-tek" you get different results.

 

Also, try Googeling the following:

 

site:wikipedia.org "hi_tek"

site:wikipedia.org "hi-tek"

 

This is because google doesn't "search" urls for relevance. Instead it uses keywords from the url as a way to double check legitimacy of the page and relevance of the webpage content as it pertains to that page. Google's search engine treats "-" as a character of in itself. The hyphen is used in many words, while the underscore is never used within a word. (You had it reversed).

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-826413
Share on other sites

The only url schema google would have a problem with is dynamic variables, as it can't index dynamic urls.

 

Beggin your pardon, but Google can read dynamic URLs.

 

 

 

Yes/no. Google can obviously read and index dynamic urls that have specific links to. However, google will not index dynamic pages when your website isn't very popular, and it would never be able to index more complex schema unless you make sitemap with a SPECIFIC link to each dynamic element.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-832108
Share on other sites

  • 1 month later...
  • 2 weeks later...

I don't really think it makes a difference with dynamic urls, I've had my sites indexed pretty fast, regardless of using dynamic urls. They however didn't rank as well, as when using the title as a part of the url.

 

Google do currently, put more weight into urls with keywords. So using a url like This-is-the-title.html actually gives your site an unfair advantage, above those who use dynamic urls.

 

Either Underscores or dashes would be fine, don't know how Yahoo and Live sees the underscores though.

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-869283
Share on other sites

Either Underscores or dashes would be fine, don't know how Yahoo and Live sees the underscores though.

 

According to Matt Cutts (an engineer on the Google search team), only dashes are used as separators by Google and underscores aren't. That's not to say you should change from underscores to dashes if things are working fine for you though.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-869413
Share on other sites

Either Underscores or dashes would be fine, don't know how Yahoo and Live sees the underscores though.

 

According to Matt Cutts (an engineer on the Google search team), only dashes are used as separators by Google and underscores aren't. That's not to say you should change from underscores to dashes if things are working fine for you though.

 

Nope, thats from 2005. Matt Cutts spoke at WordCamp San Francisco 2007 conference saying that, Google will be going to treat underscores and dashes the same. Thats some time ago now.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-870322
Share on other sites

Google do currently, put more weight into urls with keywords. So using a url like This-is-the-title.html actually gives your site an unfair advantage, above those who use dynamic urls.

 

I would hardly call that an unfair advantage, an advantage, or advencement yes, but not an unfair one. A tiny bit of planning at the start of your project can give you a dynamic site (dynamic URIs) using normal URIs.

 

Take Codeigniter the framework for example;

 

http://www.example.com/about/the-team

 

A simple htaccess file gets rid of the index.php file in the URI and gives you a fully dynamic site. The above will load the 'about' controller and run the 'the-team' method.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-871065
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Google do currently, put more weight into urls with keywords. So using a url like This-is-the-title.html actually gives your site an unfair advantage, above those who use dynamic urls.

 

I would hardly call that an unfair advantage, an advantage, or advencement yes, but not an unfair one. A tiny bit of planning at the start of your project can give you a dynamic site (dynamic URIs) using normal URIs.

 

Take Codeigniter the framework for example;

 

http://www.example.com/about/the-team

 

A simple htaccess file gets rid of the index.php file in the URI and gives you a fully dynamic site. The above will load the 'about' controller and run the 'the-team' method.

 

 

So would

http://www.example.com/article1

 

better than

http://www.example.com/article1.php

 

??

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-896207
Share on other sites

Nope, thats from 2005. Matt Cutts spoke at WordCamp San Francisco 2007 conference saying that, Google will be going to treat underscores and dashes the same. Thats some time ago now.

 

Would it be safe to use underscores then? How about dots? I need a seperator in addition to dashes.

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-896276
Share on other sites

Yeah, think from a computer's point of view. If somebody searched for "article1", "article1" would be a closer match than "article1.php".

 

To add to that, although it may be a slightly better match, I highly doubt there's ever a situation where that small difference would win you a hit over someone else.

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-896277
Share on other sites

Nope, thats from 2005. Matt Cutts spoke at WordCamp San Francisco 2007 conference saying that, Google will be going to treat underscores and dashes the same. Thats some time ago now.

 

Would it be safe to use underscores then? How about dots? I need a seperator in addition to dashes.

 

Guess what? Separators were already addressed once in this excruciatingly long topic. A stunning two pages! How will I ever manage to work through all that text? And on top of that, having to watch a one minute long video, which was linked to, that also explains it!

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-896363
Share on other sites

  • 3 weeks later...

1.Make your URL as short as possible.

This is the url for a page on a site I've just done. I've changed the domain name, just because...

 

www.example.com/our_services/fiduciary_services_for_private_clients

 

Now there's a page called 'Fiduciary Services for Private Clients' that come under the heading of 'Our Services'. I could easily have made this something like the following;

 

www.example.com/services.html

 

Now is shorter always better?

 

2.Limit parameter in URL.

 

Can you explain what you mean by this?

 

4.Don’t change your URL easily.

 

Did you mean, don't change your URL often?

Link to comment
https://forums.phpfreaks.com/topic/154993-best-url-for-seo/#findComment-912278
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.