1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / URL Redirection Issue

URL Redirection Issue

5 posts, 0 answered
  1. Salman
    Salman avatar
    18 posts
    Registered:
    07 Nov 2007
    09 Feb 2008
    Link to this post
    Hi,
    I'm having an issue with URL Redirection.

    I created a page under few page groups like this:
    http://www.bbb.com/Products/One/

    In above URL, both Products and One are page groups. In One page group, i created a page Default.aspx. Now, i want the URL to be shown exactly like this: http://www.bbb.com/Products/One/

    But, the problem is that URL changes to http://www.bbb.com/products/one/default.aspx

    You can see two problems in above URL.

    1. default.aspx is appended at the end of the URL.
    2. All characters in the URL are converted into lower case.

    However, i want the URL to look exactly like this: http://www.bbb.com/Products/One/ Instead of http://www.bbb.com/products/one/default.aspx

    I tried URL rewriting of Default.aspx by adding the URL like:
    ~/Products/One/

    But, it gives error that optional URL should be unique. Now, please provide me some solution of this problem. A quick response will be highly appreciated.

    Have a great weekend.

    Yours Truly,
    Salman
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    12 Feb 2008
    Link to this post
    Hello Salman,

    Currently, it's impossible not to append default.aspx to the URL. By design, we decided to implement it this way because of the search engines and the rankings of the links and pages. Implemented that way, when someone accesses http://www.bbb.com/products/one/ from a search engine, this will increase the page rank of http://www.bbb.com/products/one/default.aspx also, so both links gain higher rank. If default.aspx is not appended, only the the rank of short URL will be increased.

    Considering your case, we agree that it is up to the web developer to decide how links and URLs are going to be presented. That's why we recognize there is such a demand, and we'll change this in some of the upcoming releases of Sitefinity. The capitalization to lower-case is specific for the URL-rewriter that we are using now, and this will be changed along with the URL redirection.

    As for the message stating that the optional URL should be unique, it is shown because the page group ~/Products/One/ already exists as an URL in the database, therefore you cannot add it as a redirection URL.

    Let us know if you have more inquires.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Salman
    Salman avatar
    18 posts
    Registered:
    07 Nov 2007
    12 Feb 2008
    Link to this post
    Dear Goergi,

    Thanks for your reply. I would like to object on your Page Rank related comments:

    Currently, it's impossible not to append default.aspx to the URL. By design, we decided to implement it this way because of the search engines and the rankings of the links and pages. Implemented that way, when someone accesses http://www.bbb.com/products/one/ from a search engine, this will increase the page rank of http://www.bbb.com/products/one/default.aspx also, so both links gain higher rank. If default.aspx is not appended, only the the rank of short URL will be increased.

    I am sure, you would be aware ot Canocalization issue. Google treats both http://www.aspose.com/products/one/ and http://www.aspose.com/products/one/default.aspx as separate pages (websites). So, with your redirection, only this URL http://www.aspose.com/products/one/default.aspx will get the whole benefit from google in terms of Page Rank but not http://www.aspose.com/products/one/ because with sitefinity, such URL will never work and it will simply redirect to http://www.aspose.com/products/one/default.aspx .

    This URL redirection is good for those companies who just launch their website from scratch and then your solution will work great for them being more SEO friendly.

    However, for companies whose web pages already have higher pare ranks without default.aspx in the URLs, their pages will potentially loose their Page Ranks.

    Let's check their URLs:
    http://www.telerik.com/ PR 7 (and it doesn't redirect to http://www.telerik.com/default.aspx that also has PR 7)

    But, check this one too http://www.telerik.com/Default.aspx PR 0 (seems like PR is not shared with this URL as it was unable to get any benefits from search engines)

    I may be wrong too but i would like to know your thoughts about it.

    Thanks for your help.

    Have a good day.

    Yours Truly,
    Salman
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    13 Feb 2008
    Link to this post
    Hi Salman,

    I am truly glad to have this discussion with you.

    "This URL redirection is good for those companies who just launch their website from scratch and then your solution will work great for them being more SEO friendly.
    However, for companies whose web pages already have higher pare ranks without default.aspx in the URLs, their pages will potentially loose their Page Ranks."

    Well, it is really a thin moment here, but we use HTTP/ 301 Redirect Header directive for redirecting, and this is known as the only proper way for redirecting to a new URL without losing the rank of the previous. When using HTTP 301 Redirect, both URLs keep their pagerank (or the second assigns the rank of the first). There's an excellent short article about this kind of redirection, I believe you might like it too- http://www.seomoz.org/blog/rewriting-the-beginners-guide-to-seo-rewriting-server-hosting-issues

    As for the page rank of www.telerik.com/Default.aspx , you are right that this link didn't get any hits from the search engine, therefore its rank is 0.

    You noticed that when going to the home page, default.aspx is not appended at the end of the URL. Sitefinity supports this only for a home page, not for page groups as is your case. There is actually one setting that you can apply to append even the home page to the URL like every other page in the web-site.

    If the following setting is made to the property:
    redirectToHomePage="False" 

    ..in the web.config file, the <cms> section will NOT cause the home page to be appended after the URL. The default setting for this is "True".


    The final result should look like this : 
    <cms redirectToHomePage="False" defaultProvider="Sitefinity" pageExtension=".aspx" projectName="demo" 
    disabled="false" pageEditorUIMode="Overlay"


    As I mentioned in my previous message, we consider supporting not to have redirection. The same goes for the case sensitivity. We think it really gives additional abilities to you, our dear customers.

    Let me know, if you need any further assistance.


    Sincerely yours,
    Georgi
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Salman
    Salman avatar
    18 posts
    Registered:
    07 Nov 2007
    21 Feb 2008
    Link to this post

    Dear Georgi,

    I typed a reply to your post but after clicking Post Reply, it showed me a message that my request could not be processed due to an error.

    Anyways, i try to write again.

    First of all, sorry for replying later, i was out of station and then got busy a lot that i could reply to your post. In my later posts, i have already admitted that your redirection is SEO friendly using 301. However, the redirection of http://www.mydomain.com/page-group/ to http://www.mydomain.com/page-group/default.aspx is not good for comapnies having their sites already developed. But, it's extremely great for companies who are going to build their sites newly on the top of Sitefinity. In our case, we have different type of URL Schema that could not work with Sitefinity. However, Sitefinity is built well by keeping good SEO sense in mind. The only thing that a person has to decide is that on which URL he wants the traffic to have: http://www.mydomain.com/page-group/ or http://www.mydomain.com/page-group/default.aspx ?

    If http://www.mydomain.com/page-group/ is used then with Sitefinity redirection behavior, it will be redirected to http://www.mydomain.com/page-group/default.aspx using a 301 so, benefit (PR) of http://www.mydomain.com/page-group/ is also passed to http://www.mydomain.com/page-group/default.aspx . So, it's better to use http://www.mydomain.com/page-group/ than http://www.mydomain.com/page-group/default.aspx because this way, both URLs will get benefit.

    Anyways, we have already sorted out these issues and i just thought it better to reply to your post. This issue is closed from our side and i thank you for your help.

    Have a good day.

    Best Regards,
    Salman
Register for webinar
5 posts, 0 answered