Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Url rewriting / SEOUrl rewriting / SEO
Previous
 
Next
New Post
11/9/2016 10:18 AM
 

Hi all!

We are currently relaunching a website for a client. This client has an older DNN running with URL's in this form:

http://www.domain.de/Serviceangebote/Ausbildung/Lehrstellensuche/tabid/68/Default.aspx

In the new website we have this address for the same page:

http://www.domain.de/service/lehrstellen (which is not on Tabid 68)

To not loose all the Google rankings we want to remap the old url to the new one but we did not find a way to get this done because the "tabid/68" part of the old url always brings us to an admin page in the new installation (which is not really good...)

So, how can I achieve this ?


Best wishes from Germany
Torsten Weggen

dotnetnuke.blog. DNN Usergroup German Speaking Area Eurepean Network of DotNetNuke Professionals
 
New Post
11/9/2016 4:41 PM
 
there is a mechanism in DNN, which prioritized tabid in urlredirect, AFAIK.
You may try using X3 UrlManagement to tweak AUM settings, but to be honest, I am not sure whether you are able override the redirect rule for tabid.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
11/9/2016 6:06 PM
 

I think I found a solution.

I entered a record in the TabUrl table like this:

TabId = 95 (the TabId in the new portal)
SeqNr = 0
Url = /Serviceangebote/Ausbildung/Lehrstellensuche/tabid/68
HttpStatus= 301

and recycled the App-Pool

when I entered then in the browser the old url:

http://www.domain.de/Serviceangebote/Ausbildung/Lehrstellensuche/tabid/68/

it works fine. But when I added Default.aspx at the end (which is the url Google has indexed) I got the same old problem -> Redirect to tabid = 68. Adding Default.aspx to the record in TabUrl does not work. So I thought if I can rid of the Default.aspx it should work. I did this by installing IIS URL Rewrite module and adding this snippet to the web.config (in system.webServer):

<rules>
<rule name="All Redirect">
    <match url="^(.*\/)*Default\.aspx$" />
    <action type="Rewrite" url="{R:1}" />
</rule>

Need some more testing but seems to work!




Best wishes from Germany
Torsten Weggen

dotnetnuke.blog. DNN Usergroup German Speaking Area Eurepean Network of DotNetNuke Professionals
 
New Post
11/10/2016 4:02 AM
 
sounds good!

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Url rewriting / SEOUrl rewriting / SEO


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW