homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

Dynamic Folders in URLs

Msg#: 4436460 posted 12:30 am on Apr 3, 2012 (gmt 0)

Hey guys,

Hope you're all really well, and many apologies if this is something you've already covered.

I have a website that seems to be rather out of control with the way site content can be accessed.

For example, one piece of content can be found through an infinite number of ways.

Normal http://www.example.com/section/content-name

Adding a site category

Just adding my own username!

The last one is particularly interesting. As long as it's before 'section' in the URL, I can add anything I want. Of course I've had fun with that, poking fun with rude words and the like, but clearly it's something I'd like to resolve.

If this has been covered in a previous thread, please let me know and I'll run away.

Thanks for your time, guys.



WebmasterWorld Administrator 10+ Year Member

Msg#: 4436460 posted 12:36 am on Apr 3, 2012 (gmt 0)

What CMS software are you running? Depending how the software is written might determine how to correct this issue.


Msg#: 4436460 posted 12:54 am on Apr 3, 2012 (gmt 0)

It's a proprietary CMS, so it's quite clunky. Is there another way I can determine how it's written?


WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4436460 posted 6:43 am on Apr 3, 2012 (gmt 0)

The rewriterules need the pattern matching to be tightened up. All elements of the requested URL need to be passed to the CMS for evaluation.

The CMS needs to "know" what the correct URL for a page is, and issue a redirect if the content is accessed by asking for an incorrect URL.


Msg#: 4436460 posted 6:50 am on Apr 3, 2012 (gmt 0)

Hey g1smd...

That's a great response, and exactly what I was after. Thanks for taking the time to reply.

Cheers guys!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved