Solved

Url Rewriting

Posted on 2011-03-25
4
327 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

789 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