Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...URL RewriteURL Rewrite
Previous
 
Next
New Post
1/19/2012 9:09 PM
 

I am trying to get it to use exactly what I write in the page name, for example:

/services/ductrenovations.aspx

changed to

/services/duct-renovations.aspx

I have turned Friendly URL on and off, but to no avail nothing changes. In the page name I can have duct renovations, ductrenovations, and duct-renovations. It all is written the same way as /services/ductrenovations.aspx

Any help would be appreciated to get my urls to look exactly the same as the page name: /services/duct-renovatiions.aspx

 
New Post
1/20/2012 4:18 AM
 

It looks like DNN will not allow it.  From experiment, it looks like somewhere deep in the core special characters are squeezed out of the pagename.

I discovered, in my test bed site, that I cannot have a page called Forum-Stuff and ForumStuff.  I get this error message "The Page Name you chose is already being used for another page at the same level of the page heirarchy."

I'd bet this has the same root cause as your problem.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
1/20/2012 9:45 AM
 
Correct these are similar issues. I can have the page name as Forum-Stuff, but the url does not reflect that (url: /forumstuff/). Similar to the reason that when you try to have two different pages with the same name except just using some sort of delimitor. It is clearing out the delimitor such as a dash (-) or underscore (_). I have gone into the web.config file and checked the regex which is by default regexMatch="[^a-zA-Z0-9 _-]" I tried removing the _- to see if that would leave them in so it would look like this regexMatch="[^a-zA-Z0-9]" but still not working.

When looking in the database at table dbo.Tabs there is a column named tabPath so our example would look like this //ForumStuff I saw this in another post somewhere it is removing the extra characters when importing and exporting. The reason I know it is on the export because I have changed it in the table (this is assuming this is where it is pulling from to populate the url).

I really want to know where it is pulling it out at if anyone has any ideas. I saw a thread that was started in '09 wanting the same thing, but nothing ever came out of it.
 
New Post
1/20/2012 2:45 PM
 

There is a good third party module that can do this for you; iFinity URL Master. I use it on a few sites and it gives you a lot of control over things like space replacement, all lower even extentionless urls.


Here is an example: http://dnnosphere.com/tutorials/articleid/23/vertical-tabs-for-active-social


Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
1/20/2012 3:07 PM
 
Thank you, but I did not want to go with a third party.

So I was mistaken in a previous post you can change the url in the database. So for a temporary fix you can go into your database and the dbo.Tabs table there is a column called tabPath if you change it in there it will work. So this is what it looked like in there //services/ductrenovations changed to //services/duct-renovations IT WORKS! However, I don't know how it holds if you do updates to the page via the page module on the admin menu. I will look and see if I can't find where it is changing it in the import and get it fixed in the source. Once I do I will give you all my solution.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...URL RewriteURL Rewrite


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out