28, May 2012

Characters that should not be in an URL - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web site promotion  >  Search Engine Optimization
Topic: Characters that should not be in an URL
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Characters that should not be in an URL  (Read 1091 times)
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1525
6359 credits
Members referred : 8


Gimme all your cookies!!!


« on: Dec 04, 2005, 06:16:28 pm »

What characters should not be in an URL? I have always thought that an URL should only have alphanumeric charaters (numbers and letters). But with my directory and the way that it is built, some funny characters have crept in and I have to remove them. So I was just wondering how it would affect the rankings in SE with odd characters in the URL like : and '.


Last blog : Canonical URL Links / Tags
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Dec 05, 2005, 10:49:55 am »

You don't have to remove anything.

You can use urlencode() in php

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Internet Junkie
*****
Gender: Male
Posts: 1525
6359 credits
Members referred : 8


Gimme all your cookies!!!


« Reply #2 on: Dec 05, 2005, 12:00:45 pm »

Yeah, I thought that you may say that. I was going to use it but wanted more control, so I started my own function to remove the unwanted characters...


Last blog : Canonical URL Links / Tags
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #3 on: Dec 05, 2005, 12:03:49 pm »

This could be slower than urlencode.

If you finally do this, maybe you can make your own function which will also use urlencode

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I wish I was an Oscar winner
**
Posts: 90
560 credits
Members referred : 0


« Reply #4 on: Dec 16, 2005, 01:06:07 am »

I would stick with alphanumerics, hyphens, underscores, and forward slashes, although I think a search engine can crawl any character, so long as it can load for you.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=927
Tags : search engines Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web site promotion  >  Search Engine Optimization
Topic: Characters that should not be in an URL
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 11:45:52 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.