Page 2 of 2

Re: Alias Bug :: Please Help

Posted: Sun Jan 25, 2009 3:45 am
by JeremyBASS
I'd think this would/should work...

RewriteRule ^(.*)-(.*)\.html$ %{HTTP_HOST}/$1/$2.html [R=301,L]

but... in the mysite.com/TV/TV-help.html you replace the - for / you be going to mysite.com/TV/TV/help.html

so it'd be like going to help.html which is different then TV-help.html ...


??

I'd think that would produce a 404... ?? I'd think..  ;)

Good luck...

jeremyBass

Re: Alias Bug :: Please Help

Posted: Tue Jan 27, 2009 2:11 am
by EGS
Well if the CMSMS developers won't add this in and make 1.5.3 then this needs to be moved to feature requests, which is pretty sad! I bet it's an easy fix for you programmers! :(

Re: Alias Bug :: Please Help

Posted: Tue Jan 27, 2009 2:37 am
by JeremyBASS
I know I don't want to see aliases diaper... I love them... but would like some mod to use URLs instead of the alias to do there magic... EGS I don't think you'll find many of the ones using this a lot siding with you... there are tons of cool thing alias allow you to do... but I could be wrong, but it's My2Cents ;)

cheers
jeremyBass

Re: Alias Bug :: Please Help

Posted: Tue Jan 27, 2009 6:02 pm
by EGS
I'm not asking for aliases to be removed, just fixed! Pages can have the same name so long as they're in different categories of the Hierarchy system...

And pages that aren't using the SEO'd feature of CMSMS should just have links fixed from page=alias to category=category&page=alias or something...

!

Re: Alias Bug :: Please Help

Posted: Tue Jan 27, 2009 6:09 pm
by tyman00
We've already got people complaining about the URLS being jumbled with junk when Pretty URL's are not enabled, now we should add another parameter to the mix? I just don't understand how this is a "bug" when that's the way the alias system has been handled for as long as I can remember. I personally wouldn't want two pages to share the same alias (regardless of the hierarchy position), it reduces confusion. So what happens when I want to move a page from one hierarchy item to another hierarchy item that already has a page with that alias?

Re: Alias Feature Request :: Please Help

Posted: Tue Jan 27, 2009 7:30 pm
by jmcgin51
I agree; this is a feature request, not a bug.  EGS - if you want this feature in a future version, feel free to submit it as a feature request in the Forge.  Here's the link: http://dev.cmsmadesimple.org/feature_request/list/6

Re: Alias Bug :: Please Help

Posted: Tue Feb 03, 2009 6:51 pm
by Pierre M.
tyman00 wrote: Maybe I am oversimplifying it, but what about those people that don't use pretty url's? Your aliases need to be uinique...

index.php?page="alias"

End of story????
I see your point. Right. This is a 1.x design feature (shortcut).

Here is my (compatible?) point : URLs should be (stable and) unique too and aliases should be 301/2 redirects to URLs :
index.php?url=/TV/features
index.php?url=/TV/warranty
index.php?url=/PC/features
index.php?url=/PC/warranty

or with pretty URLs :
/TV/features.html
/TV/warranty.html
/PC/features.html
/PC/warranty.html

even with aliases-shortcuts to them :
/TV-features 301 to /TV/features.html
/TV-warranty 301 to /TV/warranty.html
/PC-features 301 to /PC/features.html
/PC-warranty 301 to /PC/warranty.html
or 302 as configuration preference.

Don't ask me where to point /features to :-)

Pierre M.