Developer forum

Forum » CMS - Standard features » Simple internal 301 redirect

Simple internal 301 redirect

Jonas Jørgensen
Reply

Hi I have an issue with a simple 301 redirect,  from a subpage to domain index.

I have tried several combinations in the ”Direct Path” module, with no success.

The subpage I want to redirect is this one:

Title: Boligadvokat Henrik Nøhr - Odense – fyn

Url: erfaren-boligadvokat.dk/boligadvokat-henrik-noehr-odense-fyn

ID: Default.aspx?ID=193

 


To the domains frontpage:

Title: Boligadvokat I Odense Århus Kolding Vejle - faste priser

Url: http://erfaren-boligadvokat.dk

ID: Default.aspx?ID=190

 

Have I misunderstood the whole idea behind the direct path module or just used it wrong?


I have tried to insert the titles, and different combinations.


Replies

 
Nicolai Høeg Pedersen
Reply

If the page "boligadvokat-henrik-noehr-odense-fyn" exists, you will not get a redirect. Direct paths only works for URLs that could not be found.

You can also add the text "boligadvokat-henrik-noehr-odense-fyn" in "Use in URL" on the page properties (ID=193) and set page shortcut to the frontpage (ID=190)

 
Jonas Jørgensen
Reply

Ahh so I have to delete the page and then use the module..

 
Nicolai Høeg Pedersen
Reply

Yes, or rename the page or give it another URL. Or if you have the page, on the page you can make a shortcut - that will make the page 301 redirect to the new location.

BR Nicolai

 

You must be logged in to post in the forum