how can I remove .aspx from my address bar

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/22/2010 1:16:49 AM
Gravatar
Total Posts 55

how can I remove .aspx from my address bar

Hi all,

 

As I know in mojoportal main page is Default.aspx and loads my pages like ?pageid=x

so I guess it would be possible to remove .aspx ending from my page but how I dont know..

I tried friendly url mapping from admin menu but it does not work

How can I do this?

Thanks

9/22/2010 7:09:36 AM
Gravatar
Total Posts 18439

Re: how can I remove .aspx from my address bar

http://www.mojoportal.com/extensionless-urls.aspx

Hope it helps,

Joe

9/22/2010 11:51:41 AM
Gravatar
Total Posts 55

Re: how can I remove .aspx from my address bar

Thank you Joe for your reply

 

I did everything as written there but it's not opening pages without .aspx, when I create new page without .aspx

extension and trying to view page it says The page cannot be found, and I have to delete the page

I am running it on windows server.

in web.config is following comment

    <!--
            AllowChangingFriendlyUrlPattern should almost always be false
            which means friendly urls will end with .aspx which is required in
            most configuration. The only time this would ever be changed to true is
            when running on Mono if Mono is set to handle all requests then page names don't
            have to end with .aspx
        -->

But in your link it says it's possible on windows server also...

 

Thanks

6/6/2012 2:48:11 PM
Gravatar
Total Posts 5

Re: how can I remove .aspx from my address bar

I'm relatively new to mojoPortal, but love it.  I was able to get the .ASPX extension removed from my pages and went back to the existing pages and changed those URLs manually.  However, I can not find a way to remove the .ASPX extension from products in my web store.  There doesn't appear to be a setting at the store level nor the offering level.  Am I missing something easy, is it buried in config settings somewhere or is there not a way to do this without customizations?  Thanks.  Jeff

6/7/2012 4:37:28 PM
Gravatar
Total Posts 18439

Re: how can I remove .aspx from my address bar

Hi Jeff,

We don't currently have a way for you to edit the product urls from the ui. If you create new products after changing to extensionless urls the new products will not have the .aspx.

You could actually edit the friendly url record for the products under Administration > Advanced Tools > Url Manager. But you would need to make corresponding changes directly in the database in the ws_Product table.

Hope that helps,

Joe

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