dash (hyphen) in page alias

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

dash (hyphen) in page alias

Post by kermit »

dash, hyphen, whatever you call it. i think it's technically called a hyphen-minus. at any rate, they don't seem to be allowed in page alias field. it converts them to underscores. (0.12.final)
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
netfast

Re: dash (hyphen) in page alias

Post by netfast »

yeah I noticed that as well.

I want a '-' not a '_' for seo purposes. Se's apparently (according to some debate over at an seo forum where it was tested) prefer the '-' instead. Now it will be a negligble but a couple of sites I have set up have the '-' instead of '_' as a page alias and I would be hesitant in converting those sites over to future cmsms if this is right.

I will post here when I have found a fix if you want kermit.

http://forum.cmsmadesimple.org/index.ph ... 850.0.html for why it is probably happening.
Last edited by Guest on Sun Mar 12, 2006 11:36 pm, edited 1 time in total.
netfast

Re: dash (hyphen) in page alias

Post by netfast »

Ok got a temporary fix for it. Rough and if I get a chance can work on a config control option but this probably should be handled by core code as there will be people who have sites with page aliases using a hyphen instead of an underscore.

for my temporary fix see my post at:
http://forum.cmsmadesimple.org/index.ph ... 850.0.html
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: dash (hyphen) in page alias

Post by kermit »

my issue is with not allowing an acceptable character when manually editing a page alias, the dash (aka minus-hyphen or ascii 45); not with how the system uses underscores to replace spaces when auto-generating an alias, which i don't mind at all, and actually makes sense to me (consider dashes appearing in the 'menu text', from which an auto-generated alias is made).


imho, the current hype about using dashes instead of underscores, purely for a search engine's benefit, is a bit overrated. either one is just as accessible and easy to parse as the other...


it is, however, of a benefit to PEOPLE, to use dashes instead of underscores in many cases. dashes are easier to type and to relay (as part of a url) verbally. underscores are also prone to being overlooked or mistaken for spaces, visually, when part of an underlined link.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: dash (hyphen) in page alias

Post by Ted »

Ok, so here is what I did for 0.12.1.  Hypens will not be replaced, but, all other characters will still be changed to _.  I just wanted to keep the same basic functionality but allowing - does make a lot of sense.

Thanks!
Locked

Return to “[locked] Quality Assurance”