Solved

Url Rewriting

Posted on 2011-03-25
4
336 Views
Last Modified: 2012-05-11
I have a sharepoint 2010 site with lots of pages like
articledetails.aspx?id=1
qadetails.tasp?id=1

etc, etc

I want that the search engines and the user sees in the browser instead of that, something like

/articles/articletitle
/questionsandanswers/questiontitle

0
Comment
Question by:Simbios
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
dimaj earned 500 total points
ID: 35219334
0
 
LVL 7

Expert Comment

by:nbove
ID: 35219343
This would largely be accomplished by setting default pages for directories in IIS and modifying your web pages to inspect form post data instead of inspecting the query string.
0
 

Author Comment

by:Simbios
ID: 35219366
the problem is that the title of the article or the title of the question is on a sharepoint list, so I need to query the database to know the title and then use it on the url rewrites, I dont really understand about httpmodules ,where can I put the code to query the sharepoint list?

My rules as far as I know cant be on a config file because they are too specific.
0
 

Author Comment

by:Simbios
ID: 35223603
I got an idea to simplify the Url Rewritng

On the pages that point to the details pages I decided to pass the title of the article as a querystring

for example

 
articledetails.aspx?id=1&ArticleTile=LorepIpsum

so I need to convert it to

/articles/LorepIpsum

 

it should be easier this way?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
looking for an ASP.net report designer 4 43
asp.net figure out error 3 26
C# XML Get Values 4 37
Json and ajax 1 23
Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question