Disable Canonical URL or Remove Port Number

Hi All,
             We are using the publishing template of Sharepoint 2013 . This generates  the canonical url as shown
<link rel="canonical" href="http://www.somesite:80/Pages/default.aspx" />
I want to achieve removal of port number from the above link.
If not posssible to either remove the entire link itself
Thanks
Thomson

Hi Thomson,
It is by design that the canonical URL will display port number for SharePoint pages.
And if you have other sites which are using port number other than 80, then the port should be displayed in the URL for requests can be directed to the correct sites.
So the port number should not be removed from the URL.
If you do not want this canonical URL, then you may need to disable the Search Engine Optimization feature in the site collection.
As this feature is enabled by SharePoint Publishing feature, then we need to disabled it using PowerShell command:
Disable-SPFeature -identity 17415b1d-5339-42f9-a10b-3fef756b84d1 -URL
http://sitecollectionURL
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Remove port number of the URL

    Anyone know how I can remove the port of the URL, What do I need to configure to change the url and appears with another name?

    I have a very similar question as well. I am very new to web applications and web development in general, but we have some here that will come up by simply typing in the IP of the host or the word associated with that host in our local DNS environment. You are then directed to whatever site is on port 80 of that host.
    I would like to do the same with my app I have built in App Express - have users type in a "keyword" and they are immediately directed to my application home page. If my application URL requires a specified port 8080, this doesnt happen by simply pointing to the host. Is it as simple as changing the port number for the application?

  • R12.1 url without the port number using dns

    Hi guys
    Thanks in advance,
    What are the steps to setup R12.1 using url with dns so that you don't have to specify the port number while connecting.
    Thanks again

    Hi,
    Please see this thread.
    How to setup webserver in R12 so as to enable users not to enter the port
    Re: How to setup webserver in R12 so as to enable users not to enter the port
    Regards,
    Hussein

  • URL redirect Help port number

    Hi I just recently upgraded to windows 10 from windows 7.  In this process I lost my redirect settings for my help desk which is installed on my local pc.  Can someone point me in the right direction.  Right now my help desk works with my custom url however it has to include the port number.  I do not have IIS installed on windows 10.  I believe previously in windows 7 I had IIS and was using Helicon rewrite to do this.  I just forget the step to do this.  Right now it works with myurl.com:9675 i want this to work with just myurl.com and no port number. 
    This topic first appeared in the Spiceworks Community

    Hi I just recently upgraded to windows 10 from windows 7.  In this process I lost my redirect settings for my help desk which is installed on my local pc.  Can someone point me in the right direction.  Right now my help desk works with my custom url however it has to include the port number.  I do not have IIS installed on windows 10.  I believe previously in windows 7 I had IIS and was using Helicon rewrite to do this.  I just forget the step to do this.  Right now it works with myurl.com:9675 i want this to work with just myurl.com and no port number. 
    This topic first appeared in the Spiceworks Community

  • How to Remove port number for SIP trunk in CME

    Hi,
    I trying to set a SIP trunk with SIP provider, I have CME 7.1
    The trunk is registered now but I can´t make calsl via SIP provider. After some debbugs sip provider's staff told me that the solution is not
    not append the port in the INVITE.
    Is it possible to do this?, How?
    I have found some info about normalization but is relating to CM server not CME.
    regards

    what port number does your provider use for signalling? They need to provide you the port number if its different from the standard 5060..
    You can then configure the signalling ports on your dial-peer as shown  in example below..where port 5081 is used here
    dial-peer voice 1 voip
    destination-pattern .T
    session protocol sipv2
    session target ipv4:10.10.10.24:5081
    Please rate all useful posts
    "opportunity is a haughty goddess who waste no time with those who are unprepared"

  • Sharepoint 2013 - url redirects with port number added

    Hi,
    In our sharepoint 2013 environment, we have a custom application and in which we have a button and when we click on the button the initial url was below
    http://abcd.com/apps/xyz/test.aspx
    After clickin on the button it redirects to the below, where in the custom app they are using query string to append the url.
    http://abcd.com:6001/apps/xyz/test.aspx?EID=7&ListID=1723aasd-ajsfs12346
    And i am getting the web page cannot be displayed error.
    Please help me to resolve this issue. Is there any issue in the custom code or in IIS redirect or server related configuration.
    Any help is much appreciated.

    Hi Krishna,
    Thanks for your reply,
    We have constructed the code in .cs file. And the code is
    private
    void Redirect(int
    id)
    NameValueCollection queryString;
                queryString =
    HttpUtility.ParseQueryString(Request.Url.Query);
                queryString["EID"]
    = id.ToString();
                queryString["List"]
    = List.ID.ToString();
                queryString.Remove("AssignToMe");
    //Response.Redirect(Request.Path + "?" + queryString, true);
    //Response.Redirect(SPContext.Current.Web.Url + "?" + queryString, true);
                Response.Redirect(SPContext.Current.Web.Url
    + "/Pages/Request.aspx" +
    "?" + queryString,
    true);
    Smile Always

  • How can I  change the port number generated in the returned url?

    We have a hardware load balancer listening on port 80 and forwarding requests to weblogic 6.1 sp2 servers on port 8090. The web servers generate urls containing the port number (and ip address of the load balancer). The browser tries to acces the load balancer at port 8090 and fails. So, how can I tell weblogic not to put a port number in the url?
    TIA, Reinier

    Generated WSDL will use the URL of the incoming
    HTTP GET request (request to retrieve wsdl) to create:
    service->port->location->address
    attribute inside the WSDL.
    This attribute is used by the client to send the SOAP
    request.
    So the HTTP GET request to retrieve the WSDL
    should use the address of the load balancer (ie 80).
    Then the generated WSDL will also have a url with
    port 80.
    http://manojc.com
    "reinier" <[email protected]> wrote in message
    news:3ea95116$[email protected]..
    We have a hardware load balancer listening on port 80 and forwardingrequests to weblogic 6.1 sp2 servers on port 8090. The web servers generate
    urls containing the port number (and ip address of the load balancer). The
    browser tries to acces the load balancer at port 8090 and fails. So, how can
    I tell weblogic not to put a port number in the url?
    TIA, Reinier

  • How do setup the URL alias  without the port number 7001?

    Hi all,
    I am using Weblogic 8.1 and have the following url http://solutions.company.com:7001/application.
    I would like to simplify this URL by removing the port number to http://solutions.company.com/application.
    (ie., configuring the system such that it automatically looks at 7001 without
    the user typing it ). One of the ideas that i got was to use apache web server
    and redirect to the weblogic URL. But i would like to know if this can be done
    within weblogic?
    cheers
    -Jams

    Did you ever get an answer to this?? We are attempting to do the same thing.
    Tammy
    "JD" <[email protected]> wrote:
    >
    Hello All,
    I am looking for solution to the same problem, we would like to map
    http://www.company.com
    TO
    http://www.company.com:7001/application/first.jsp
    All help appreciated.
    Thanks
    Jay
    "Jams" <[email protected]> wrote:
    Hi all,
    I am using Weblogic 8.1 and have the following url http://solutions.company.com:7001/application.
    I would like to simplify this URL by removing the port number to http://solutions.company.com/application.
    (ie., configuring the system such that it automatically looks at 7001
    without
    the user typing it ). One of the ideas that i got was to use apacheweb
    server
    and redirect to the weblogic URL. But i would like to know if this can
    be done
    within weblogic?
    cheers
    -Jams

  • Port Number visible in Siebel URL

    Hi all,
    We have just finished deploying our Siebel Application in Production. It is a standard multi-server environment with Clustering and Load Balancing.
    However, we see that Siebel is automatically appending the Network Port Number (:8000), when accessing from an external Web Server.
    The client has requested this port number (:8000) be removed from the URL. We would really appreciate some help on the issue.

    You may have 2 constraints that are difficult to mix:
    1/ Any Browser consider an URL starting with http://server/path is to be send to port 80 of the "server"
    That is why all Web server (IIS, Apache, etc) use to be reached using port 80 by default.
    2/ Local security constraints
    One of those security guy may have told you that they can not accept to open the firewall or reverse-proxy to the port 80 of your virtual IP representing the web server farm
    Conclusion: Please have a discussion with your local security team and see if this has already been discussed.

  • Hiding or remove the port number

    Hi,
    When I enter transaction crm_ic, a new browser displayed. Can we hide or remove the port number so that it looks like conventional URL? For example, if it shows http://crmwebclient.com:8002/sapxxxxx, can we make it http://crmwebclient.com/sapxxxx?
    Any help is much appreciated. Thak you.
    Rgds,
    Hapizorr Rozi Alias

    Hi Hapizorr,
        I think the root / URL is necessarily passed to the ABAP stack and you have parameters to control this value en RZ11 t-code.
        Maybe you can try an external alias to your bsp but.. the server:port is mandatory.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/78/9852bdc06b11d4ad310000e83539c3/frameset.htm">External Aliases</a>
    Regards.
    Manuel

  • How to hide the PORT NUMBER from the URL

    Hi,
    We have Application on Node 1 and Database on Node 2
    Apps Version: 11.5.10.2
    DB: 9.2.0.6
    We recently added a new node to act as web server for iSupport.
    Now we are able to access the url using public Ip-address which looks like
    http://<Internet Ip-Address>:<PORT NUMBER>
    Eg: http://******.com:8000
    But we dont want the *'PORT NUMBER(8000)'* to be displayed.
    How to hide the port number ?..
    Thanks in Advance,
    Mahesh

    Hi Hsawwan,
    Can you plz explain me the steps how to hide the port number from the url as our network administrator is not aware of this.
    Regards,
    Mahesh

  • Hiding the port number from the url

    Hi All,
    In our applications built using Weblogic Portal 10.3, the url to access the application doesnt have the port number. It is simply like http://<server-name>/<context> no port at all. Is this some configuration that is available inside weblogic adminstration console? The domain has both the default port and the SSL port enabled which are running in 7001 and 7002 respectively. Please let me know as how to do this configuration as I am growing haywired on this it has been about a week and have not found an answer yet. Please throw some light on this and let me know if you need further details
    Thanks
    Ashwin

    you should install apache server to handle all the requests on port 80 and froward it to weblogic server using wlp plugin
    please check this link
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/apache.html
    any request http://yourapp/context will be mapped to http://youapp:7001/context

  • Port Number in HTTP Sender URL

    Hello,
    I am trying for a HTTP -> SAP PI 7.11 -> File scenario and now want to develop the URL which will be used by the HTTP client.
    I have the format of the URL to be used
    I want to ask which is the port that should be used in the URL:
    http://<hostname>:<port>/
    In some threads I saw that it should be 80<System_Number> (so if system number = 01 then port number becomes 8001); ABAP port, I assume.
    Is this still valid SAP PI 7.11?
    If yes can I check where this port is maintained (on SAP PI server)?
    ~Thanks.

    Hi,
    7.1 onwards both ports are same
    go to SMICM ->goto(services) -> http port will be listed there
    By default there is an http serive /sap/xi/adapter_plain provided for the HTTP ..so no need to create any addition objects for using http..
    HTH
    Rajesh
    Edited by: Rajesh on Feb 1, 2011 12:09 PM

  • Port number is changing in the URL!

    Hello,
    When i try to execute a webtemplate in the browser, the default port number(ICM profile configured in RZ10 icm/server_port_0 PROT=HTTP,PORT=8080,TIMEOUT=1800)is modifying in the URL to 8100, and unable to display the page. Again when i modify the port number to default portnumber manuall and the page/report is displayed.
    Could you explain why the default port no is modifying in the URL? How can i solve this porblem?
    Should i need to do some more configurations?
    Thanks...

    Hi Amie,
    It is difficult for me to understand the problem. Could you please provide more information about the version of the J2EE Engine you use, the environment - cluster, nodes. If it is possible to copy/paste the HTTP request and Http response. What is this default port number that you mention?
    Could you be so kind please to explain the problem once again in more details ?
    Best Regards,
    Todor

  • Awesome Bar: auto-complete suggestion does not remember port number from URL

    I visit URLs with non-standard ports all the time such as http://localhost:8080.
    When I start typing "localhost" into the address bar, the Awesome Bar suggests only "http://localhost" - i.e. WITHOUT the port 8080 - instead of suggesting the full URL including the port.
    I never visit "localhost" without port 8080 so that entry should not even be in my history at all.
    The Awesome Bar should always remember port numbers when making suggestions.

    Unfortunately that doesn't work. Even with the URL bookmarked, typing "local" to begin the autocomplete still results in the URL being auto-completed without a port number.
    Typing the name of the bookmark itself results in no auto-complete at all, meaning you still have to press the down arrow before hitting "return" to get to the correct URL. So you're back at square one.
    I filed a bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=853898
    Which turned out to be a duplicate of: https://bugzilla.mozilla.org/show_bug.cgi?id=764062

Maybe you are looking for