Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have implemented a 301 permanent redirect using the url rewriting config in Umbraco v 3.0.5
The old pages are not belong to Umbraco web site . Only the new one.
When i try to get into the old url (to check if the 301 is working) i got this error: (this only one example but it happend for all the urls)
its 301 in the rewriting config file looks like this:
<add name="301xxx_2" redirect="Domain" ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite" virtualUrl="http://www.apy.co.il/askDetails.aspx?hotel=1542" redirectMode="Permanent" destinationUrl="http://www.apy.co.il/ProviderDetails.aspx?Prvdr=1179" />
What i did wrong?
If you have installed Umbraco and have some custom made .aspx sites you need to be able to link to then you must add them in the umbraco web.config file.
You need to do this in this section
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx" />
here you can add the pages that is not created as nodes in umbraco like...
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,/yourdefaultpage.aspx" />
This should do the trick for you.
As far as I know you don't need to use the url redirect stuff.
Thank you for your fast reply.
I am not sure I understand. (Sorry, but my programmer which build all our sites in umbraco, left. so i am not familiar with it so much and actually feel lost :-) )
I create a new site using umbraco for my client.
This client had an old web site which contained the old urls.
Today his domain redirect to our server (ip).
So, because the new pages are already in the Umbraco, what you mean by "custom made .aspx sites " and "add them in the umbraco " ?
Oh in that sense...
ok, then I can understand that you're a bit puzzled about it.
What I thaught was that you have some .aspx pages in the umbraco installation...so that in the root of your installation on the file system you would have somepage.aspx...But since this is not the case let's forget about that completely...
Must admit that I'm no expert in url redirects...but I know there is another way around it...but need to do some research on it first since I can't remember all the steps involved as I'm writing this.
Will return if it comes to mind. Otherwise there are plenty other bright heads in here who can surely help you out :-)
Have you know someone specific which i can post directly to him with this quastion?
The problem is that the new website is already on air and the old urls used in google organic SEO so if google will scan the new site the client will lose all his advantage .
An effective way to draw attention to a post is to post a link to it on twitter describing what the problem is about and then using the #umbraco hashtag.
If you use twitter I think you should try this out.
I have played a bit around with the method I'm thinking about but I don't think it will be usefull in your scenario unfortunately :-/ - So I'm also interested to see how this issue can be resolved :-)
I put in twitter but nobody help me.
Do you have someone specific which I can ask?
I really stuk with this serious problem.
We ran into a similar problem. As far as I could tell the problem is caused by the query string part of the virutal url:
To get around the issue, we changed our virtual urls so that we replaced the "?" symbol with "(.*)". This seems to be working for us, but I am not sure if it is best practice or not.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted