Create url directories in mojo.Supported?

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
8/14/2009 8:11:59 AM
Gravatar
Total Posts 7

Create url directories in mojo.Supported?

Hi all, hope you guys can help me.

I'm testing mojo for a project and I wonder if mojo supports the creation of "url directories". I mean, I need to create a site with urls like this one (for SEO):

somesite.com/cars/ (that points to a page that list some cars)

and

somesite.com/cars/ford-mustang-1980.aspx (a specific car)

I know I can create a cars.aspx page, then create the ford-mustang-1980.aspx page using "cars" as parent page. But then I have: somesite.com/cars.ASPX and not just the directory "somesite.com/CARS"

Any idea?

Many thanks.

8/14/2009 8:18:19 AM
Gravatar
Total Posts 18439

Re: Create url directories in mojo.Supported?

Hi,

No we do not support extra segments in the url. Please see our information about Search Engine Optimization. Not only would extra segments not work well with our feature that supprts multiple sites based on folder names, but I do not believe longer urls are better for seo than shorter urls and I think its a bad idea to convey site hierarchy in the url of a cms because the power of a cms is the ability to move pages around and we do not want urls that change.

Best,

Joe

8/14/2009 8:18:22 AM
Gravatar
Total Posts 7

Re: Create url directories in mojo.Supported?

GREAT! SOLVED.

Creating an url like somesite.com/cars/default.aspx for the "cars directory-page".

Hope it helps.

8/14/2009 8:20:13 AM
Gravatar
Total Posts 18439

Re: Create url directories in mojo.Supported?

I can only say it was not designed for that if it works for you great but your mileage may vary as I do not test that scenario and don't recommend it either.

Best,

Joe

8/14/2009 9:10:38 AM
Gravatar
Total Posts 7

Re: Create url directories in mojo.Supported?

Joe, didn't see your response before. Many thanks for your time and for this awesome software.

Actually my "solution" doesn't work at all (in IIS7 at least, should be the same on IIS6), since there is no default.aspx file on "cars directory". IIS returns a 404 error when somesite.com/cars url is requested.

From a user point of view I think is easier to remember an url like somesite.com/cars that somesite/cars.aspx.

Are you planning to port the web project to an MVC project? I see you've already included a starting MVC project on your source. Is there any URL to see a project roadmap?

Thanks again!

 

8/14/2009 9:31:05 AM
Gravatar
Total Posts 18439

Re: Create url directories in mojo.Supported?

Hi,

In IIS 7 you can easily use extensionless urls and have somesite.com/cars instead of cars.aspx

Make sure your app pool is configured as Integrated not Classic.

Long term yes I would like to move to MVC but its going to take a while and until I reach profitability I'm not really free to work on that as much as I would like. MVC 2 looks much better than MVC 1 so its not a big hurry, it may be better to wait and let it mature a little more.

Really what needs to happen first is I need to implement the Repository pattern and re-factor our business objects moving much of the code that talks to the data layer out of the Business objects and into Repository business objects so that we can more easily use Dependency injection by passing in Repository objects. Then efforts on the MVC side could progress somewhat independently of the WebForms side of things and using the same business objects and repositories.

There is a roadmap page but it mainly covers near term plans. I'm working my ay through the things on that list and will have to update it at some point soon since many of the planned thigns are now completed.

Best,

Joe

 

You must sign in to post in the forums. This thread is closed to new posts.