As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [url-rewriting]

URL rewriting is the technique used to "translate" a user-friendly URL into something the server can understand.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

URL endpoint to retrieve a document in a list based on a key value

I want to setup a document list to be maintained in SharePoint Online, where each document is associated with one or more integer and/or string keys (in that list or as a separate SP List), and ...
Pontus Gagge's user avatar
0 votes
1 answer
393 views

Change /SitePages/Home.aspx URL

I have would like to have the url as short as possible on a modern SharePoint environment. As such, I created the site "z". However, then the Home page would become https://domain.com/sites/...
WG-'s user avatar
  • 165
0 votes
1 answer
540 views

How to enable Cors with URL Rewrite Sharepoint 2016?

I am getting CORS policy error. I am trying to use URL Rewrite plug in. I have IIS 10. I tried the examples(links) below, but it still didn't work. So What can i do more? https://techcommunity....
f_gulay's user avatar
  • 641
0 votes
1 answer
75 views

Trying to add the current page url as &Source= to the new document link

With multiple list views on same page, I am trying to add the current page url as &Source= to the new document link. So just looking to pull the current page URL and add it as the &Source to ...
akapital's user avatar
1 vote
0 answers
54 views

Rearrange managed navigation but keep existing URLs

We have a site that has been used across our company for a couple of years. It uses managed navigation to create friendly urls and includes a lot of published content and several different discussion ...
Rothrock's user avatar
  • 2,920
3 votes
2 answers
372 views

Search page not showing after URL rewrite on reverse proxy

Our SharePoint 2016 on-premise farm have setup Internet access. Our reverse proxy have setup URL rewrite from 'https://www.mysharepoint.com' (Internet URL) to https://server_wfe1/ (our web front end ...
Mark L's user avatar
  • 4,068
0 votes
1 answer
309 views

404 Error for http//

I'm getting the below error for our root domain and all subsites when they are typed in the format http://domain.co.uk or https://domain.co.uk HTTP Error 404. The requested resource is not found. ...
NightM0de's user avatar
1 vote
1 answer
92 views

URL Rewrite so a domain.com is directed to domain.com/page.aspx

I've been scratching my head trying to learn how to do URL rewrite. Essentially I'm trying to achieve when user visit https://sp.company.com/ is redirected to https://sp.company.com/sites/public/...
David L.'s user avatar
  • 129
1 vote
1 answer
186 views

Cannot upload any file or image in SharePoint 2013 with Outbound rules in URL Rewrite

I had added a Outbound rule in IIS and i cannot upload any file or image to document library. it's show error below http://server/site/_layouts/15/UploadEx.aspx?List=%7b65AB3E28-245D-40F6-8A50-...
Tuy Cường Nguyễn's user avatar
1 vote
1 answer
34 views

Sharepoint 2010 - image url directed to wrong location only for certain users (permissions?)

I'm new to Sharepoint, so apologies in advance for my lack of knowledge on the software. My company is using SP 2010 and on the home page of our site, there is a small help icon in the top-right ...
Jormungandr14's user avatar
1 vote
1 answer
621 views

Redirect search results to parent of item

We have a site with training materials. The content comes from a cross-site publishing library in a different site collection and the urls are rewritten to point to the local site. We have put ...
Rothrock's user avatar
  • 2,920
3 votes
1 answer
674 views

SharePoint URL Rewrite

I am stuck and having hard time solving the issue. If someone can help that would be really great! My scenario: I have one simple public web site (https://www.contoso.com/) hosted in IIS in Server A ...
Rahul Kumar's user avatar
2 votes
1 answer
404 views

Rewritten paths not working in Search results do work in CSWP

We have a catalog set up for cross-site publishing and have connected it up with our user site. We've set up the managed catalog to rewrite the urls to the local site. We use content search webparts ...
Rothrock's user avatar
  • 2,920
0 votes
1 answer
144 views

Managed navigation with pinned terms

I have a list of training courses which are tagged with a LearningTopic managed metadata column. Values include thinks like Word, Excel, Photoshop, Phone Skills. This LearningTopic termset is used by ...
Rothrock's user avatar
  • 2,920
0 votes
1 answer
111 views

How to access files outside the document root, or outside the document library

This is probably a v. dumb question but I'm new and I'm trying to understand if something is possible: I would like to link to files which are outside the sharepoint document root. Is it possible to ...
val's user avatar
  • 101
1 vote
0 answers
86 views

Cross-site publishing item page breaking if friendly url has hyphen

Using cross-site publishing with managed navigation and friendly urls. I had a term with a space in it, Dark tan, which SP automatically changed to a url location of dark-tan. For the category pages ...
Rothrock's user avatar
  • 2,920
0 votes
2 answers
681 views

SharePoint 2013 Mask original URL?

This is a bit of a tough one. We have a SharePoint 2013 sub-site that we either need to move to a root site collection or somehow mask the URL so that the user only sees a specifc address in the ...
surfnode's user avatar
  • 439
3 votes
2 answers
120 views

SharePoint 2013 - How to seperate urls and page headings

We just got updated to SharePoint 2013 platform and I have now for 2 days been fighting with what seems to be a typical Microsoft issue :( When creating pages or wiki pages the url seems to be 100% ...
stine's user avatar
  • 31
3 votes
1 answer
1k views

URL rewriting for Office 365

Is there any way for URL rewriting in Office 365? If yes, share the steps for the same and useful links.
DRS's user avatar
  • 722
1 vote
1 answer
168 views

Double curly braces {{x}} in URL crashes sharepoint

It seems as if all SharePoint sites has this vulnerability. If you put anything like {{whatever}} in the url the site returns a 500. I.e http://www.example.com/{{abc}} If you perform a lot of ...
Eric Herlitz's user avatar
0 votes
1 answer
2k views

Vanity URLs or masking mysiteName/sitepages/ to just the URL

All my pages are having the urls www.domain.com/mysiteName/sitepages/Home.aspx www.domain.com/mysiteName/sitepages/1.aspx www.domain.com/mysiteName/sitepages/2.aspx www.domain.com/mysiteName/...
user1621009's user avatar
1 vote
1 answer
84 views

Different Quick Launch on Pages

I have a site collection with 6 pages at the root. I have set up a term set navigation for better urls. On one of those pages (not subpages) I would like to use other links in the quick launch like ...
Florian Leitgeb's user avatar
1 vote
2 answers
48 views

How do I rewrite the domain in Sharepoint 2010 when "www" is missing in the request path?

I need http://example.com/photogallery to be redirected to http://www.example.com/photogallery (adding the "www"). For some reason it always redirects to http://www.example.com/Pages/default.aspx. I ...
Andy Raddatz's user avatar
0 votes
1 answer
403 views

How to format a redirect URL that references a list item?

In a previous post I was looking for the formatting required to take a user back to a custom view of a list (instead of the default view for that list). Jinxed was nice enough to provide me with a ...
Logan2847's user avatar
  • 149
0 votes
0 answers
829 views

default url access denied - sharepoint 2013

when trying to access the site from the default URL for ex: http://mysite.site.net it give an ACCESS REQUIRED error even for the system account but when i try to open any site (URL) under this url ex: ...
Johnny Zghaib's user avatar
0 votes
1 answer
271 views

Set a page as the default document root page

At the suggestion of my SharePoint instructor, I've created a Team site collection on my SharePoint site. In order to customize the layout, I've enabled the Publishing feature on my site collection ...
scullytr's user avatar
0 votes
2 answers
4k views

“The resource cannot be found.” error 404 when there is a “dot” at the end of the url in sharepoint

I'm trying to handle “The resource cannot be found.” error 404 when there is a dot at the end of url in sharepoint 2010 site. I found this link https://stackoverflow.com/questions/429963/the-resource-...
Mahmoud Farahat's user avatar
1 vote
0 answers
276 views

URL Masking in SharePoint 2010

I currently host a few dozen marketing sites on SP2010. They run on a single WebApp with Host-Named Site Collections for each client. I have a few instances now that a client may have a special ...
user1359111's user avatar
0 votes
2 answers
269 views

SharePoint 2007 Changing of Site Collection URL

I want to change the URL of Site Collection _http://teamnet.com/old to _http://teamnet.com/new. I found some solution to do the changing of URL via backing up the site collection stsadm -o backup -...
Aung Thurein Tun's user avatar
0 votes
2 answers
217 views

Site Template Urls

I have a SharePoint site, and saved it as a Template. My problem is, I have a third part WebPart that references in his settings, the URL of the site. When I create a new site using the template, ...
Guilherme de Jesus Santos's user avatar
0 votes
2 answers
721 views

Recycling the Application Pool creates 401 errors

I am using the Rewrite Module on IIS 7. When I restart the Application Pool I get a Authentication Required window that doesn't except any credentials that it is given and when you click cancel it ...
iambriansreed's user avatar
0 votes
1 answer
756 views

With multiple AAMs, how to redirect to preferred SSL (UAG) mapping?

Initially, our SPF server was an intranet-only appliance. We had a couple of Alternate Access Mappings: http:/ /intranet/ http:/ /intranet.mycompany.local/ We really encouraged the first one - as it ...
bkwdesign's user avatar
  • 526
0 votes
1 answer
165 views

How to remap username links to different locations based on page address?

On this page I found out how to remap username links to custom pages. However, I on certain pages I need to remap to an administrator's user info page. How can I modify the url rewrite rule to ...
bgmCoder's user avatar
  • 3,551
3 votes
1 answer
1k views

SharePoint 2010 - 301 URL Rewrite

My requirement is to implement 301 redirect. I have tried using URL Rewrite using iis and Web.config. But both iis & web.config is taking more size. Kindly suggest the possibilities to implement ...
Chandrasekhar Reddy's user avatar
7 votes
2 answers
765 views

IIS URL Rewriting ... Left Navigation selected link is not highlighted

When URL rewriting is implemented then the left navigation is not highlighting the selected link. Example: Actual Link - /company/pages/home.aspx Rewriting Link - /company/home When using the ...
Yasir's user avatar
  • 71
2 votes
0 answers
328 views

Regex pattern URL rewrite

I need to redirect our old urls like the following using the IIS 7.5 url rewrite tool: http://www.mywebsite.com/mypage.htm or http://www.mywebsite.com/first+level/second+level/mypage.htm (urls can ...
akhanaton's user avatar
  • 131
2 votes
1 answer
563 views

Get single field item value from Custom List and set it on same item but another field

I'm new in Sharepoint, and I have an issue with a custom list in Sharepoint 2007. The thing is... I have a custom list with pre-loaded data, and I need to get a unique code from a field item, to put ...
Mayer M's user avatar
  • 23
1 vote
1 answer
1k views

Sharepoint Redirects if not specifying /pages/default.aspx

Hope someone can help. I have a Sharepoint web app which I've given a new URL (Host header). Now, whenever I browse to http://newurl, it does a redirect to http://oldurl and then to http://newurl/...
Fox's user avatar
  • 2,676
2 votes
1 answer
253 views

Use short Urls within a public facing site

My public SharePoint 2010 site has long (readable) Urls. Thats fine. But now we want to create some very short Urls for some specific campaigns. We want to use www.ourdomain.nl/campaign1 and that has ...
Tys's user avatar
  • 197
1 vote
1 answer
892 views

How to replace spaces in a dynamically generated URL with dashes?

I have a page that takes a URL parameter, matches it to a field in a list, and displays a different page for each list item. I want the parameter values to be easy for humans to read. For this reason,...
mcook's user avatar
  • 65
1 vote
0 answers
255 views

How to Url Rewrite in Custom Field Type?

I'm creating a custom field. I'd like to pass some data to my control when the FieldRenderingControl property is getting. How could I do? I think about Url Rewriting but in the get, I can't access ...
Ziba Leah's user avatar
  • 1,987
5 votes
3 answers
2k views

How to use a vanity URL with Sharepoint 2010

We have a web application at x-x.com and a site collection at /sites/test (https://x-x.com/sites/test/) We have set up two vanity urls in our DNS so that in theory a user can type https://vanity1/...
MikeC's user avatar
  • 1,112
2 votes
5 answers
2k views

Any recommendations for SharePoint 2010 short url packages?

My company is working on migrating our current Dreamweaver/.NET based public website into SharePoint 2010. One system we current use is short urls, such as mysite.com/go/installguide which might go to ...
QMKevin's user avatar
  • 1,242
2 votes
2 answers
4k views

Windows Authentication & IIS URL Rewrite Module 2.0

I'm trying to use the IIS URL Rewrite Module 2.0 to prettify SharePoint 2010 URLs for the Internet zone of an extended SharePoint application. I have the zone set up to allow anonymous users. As long ...
Amy T's user avatar
  • 121
0 votes
2 answers
628 views

Access sitecollectionimages images as root directory [duplicate]

Possible Duplicate: Support for URL rewriting? I have some files under SharePoint 2010's SiteCollectionImages library. But I need to access them as root, for eg http://abc.com/image123.gif must ...
vasya10's user avatar
  • 862
5 votes
2 answers
3k views

How to check for performance in URL Rewriting

I am coming at this from a different angle, probably, but mostly the question I am being asked is if we implement URL Rewrite to handle redirecting older URL's into SharePoint is there a performance ...
MichaelF's user avatar
  • 1,161
57 votes
5 answers
11k views

Support for URL rewriting?

Is there anything built into SharePoint 2010 that will handle this? If not, can anyone suggest where to start to implement something that will allow me to rewrite URLs so they are more SEO and user ...
Abe Miessler's user avatar
  • 6,735