Page 1 of 1

can't use same alias under different folder

Posted: Tue Aug 24, 2010 12:32 pm
by sherlock
hi guys
i am just implementing the pretty seo friendly URL function on my website
the problem I just got into is the following:
when I named an alias the same way as one but in a different folder, I got an error message that same alias name already exist, however from information architecture point of view it should allow it
to illustrate it more clearly, here is an example

let's suppose we have a website selling used and new cars of different brands

URL of Mercedes main page: www.example.com/mercedes/
URL of second hand Mercedes page: www.example.com/mercedes/[b]second-hand[/b]/
URL of new Mercedes page: www.example.com/mercedes/[b]new[/b]/

now, let's take another brand:
URL of Audi main page: www.example.com/audi/
URL of second hand Audi page: www.example.com/audi/[b]second-hand[/b]/
URL of new Audi page: www.example.com/audi/[b]new[/b]/

in this example, in case Mercedes pages are all created, then I couldn't create the Audi pages with same 'new' or 'second-hand' subfolders despite they would have other parent directory then of Mercedes

i know, this can be done other way, like starting with the category then brand (ex. /second-hand/mercedes/ , /new/mercedes/, /second-hand/audi/ , /new/audi/) but we would face the same problem, same alias under different folders

i hope it makes clear for everyone
there are many cases when you would like to organise your pages as in the example I provided above

any hints, advise and help is welcome

let's clarify this issue somehow

thanks

Re: can't use same alias under different folder

Posted: Tue Aug 24, 2010 6:31 pm
by Rolf
Hi,

The page_alias is unique within CMSMS
So it is not possible to have more then one page with the name new

You have to look in the direction of new-mercedes and new-audi

Hope this helps,

Rolf  :)

Re: can't use same alias under different folder

Posted: Wed Aug 25, 2010 3:39 am
by JohnnyB
this will be a nice URL for people to read and perhaps good for SEO by reinforcing the brand name...

URL of second hand Mercedes page: www.example.com/mercedes/[b]second-hand-mercedes/[/b]
URL of new Mercedes page: www.example.com/mercedes/[b]new-mercedes/[/b]

Re: can't use same alias under different folder

Posted: Wed Aug 25, 2010 6:51 am
by replytomk3
What's the fuss? Create a page alias for a second "new" page by yourself (not automatically).

I thought that CMSMS would be intelligent enough to name second "new" page with an alias like "new-2".

Re: can't use same alias under different folder

Posted: Wed Aug 25, 2010 7:08 am
by sherlock
mww wrote: this will be a nice URL for people to read and perhaps good for SEO by reinforcing the brand name...

URL of second hand Mercedes page: www.example.com/mercedes/[b]second-hand-mercedes/[/b]
URL of new Mercedes page: www.example.com/mercedes/[b]new-mercedes/[/b]
yes, you are right regarding the reinforcement of the brand, still, I find this a weakness of the CMS
I personally consider, the CMS should allow use of same folder under different category folder

Re: can't use same alias under different folder

Posted: Wed Aug 25, 2010 7:12 am
by sherlock
replytomk3 wrote: What's the fuss? Create a page alias for a second "new" page by yourself (not automatically).

I thought that CMSMS would be intelligent enough to name second "new" page with an alias like "new-2".
well, 'new-2' 'new-3' and so on, would be an option, but still, in order to make as clear and logical, short, SEO friendly, easy to follow URLs, I think, this should be implemented by the CMSMS team

any other thoughts on this issue is still welcome
I am pretty confident, there are other SEO guys just like me, who would like to have this flexibility of the URL naming and categorisation

Re: can't use same alias under different folder

Posted: Wed Aug 25, 2010 3:22 pm
by replytomk3
Well, then like Rolf said, page aliases must be unique. Therefore the team cannot "implement" this.

Re: can't use same alias under different folder

Posted: Wed Aug 25, 2010 7:57 pm
by Dr.CSS
You are also not understanding a fundamental part of a CMS, the 'pages' aren't in 'folders' like a flat file site they are stored in the DB and hence every page has to have a unique alias...

Re: can't use same alias under different folder

Posted: Thu Aug 26, 2010 8:29 am
by sherlock
Dr.CSS wrote: You are also not understanding a fundamental part of a CMS, the 'pages' aren't in 'folders' like a flat file site they are stored in the DB and hence every page has to have a unique alias...
i understand it pretty well, however since my website at the moment is a 'flat file site' as you said, now I will have to 301 redirect all those pages for which I can not implement same URL structure in the CMS
I personally like this CMS, it is very useful for me. My problem arised with use of unique alias.
I still think there is a solution but probably it would take some hard coding

Anyway, thanks for all the replies I got

I will remain with a lot of 301 redirects of my current pages to the new ones :) 

Re: can't use same alias under different folder

Posted: Thu Aug 26, 2010 9:08 am
by nockenfell
Look at the module MultiDomains. There you can register easy many redirects.

Re: can't use same alias under different folder

Posted: Thu Aug 26, 2010 9:16 am
by sherlock
nockenfell wrote: Look at the module MultiDomains. There you can register easy many redirects.
thanks a lot, I already installed this module last week, just didn't have time to go through it
I will see what I will implement, probably in .htaccess or the 301 redirect plugin function, will see

thanks again

Re: can't use same alias under different folder

Posted: Thu Aug 26, 2010 9:18 am
by owr_bgld
http://dev.cmsmadesimple.org/projects/movedpages

MovedPages - very easy to use

you have only to put in the old url and the alias it's going to

Re: can't use same alias under different folder

Posted: Thu Aug 26, 2010 9:26 am
by sherlock
owr_web wrote: http://dev.cmsmadesimple.org/projects/movedpages

MovedPages - very easy to use

you have only to put in the old url and the alias it's going to
thanks a lot :)
this is really a great community