Hi. i want to return 410 status for crawlers in dnn.
The perpose of this action is that the google crowler index pages. now some of these pages removed or moved to another path. for that pages i want to return 410 status code and tell google, hey this pages removed ro no longer availeble so google crawler not index them as 404.
For example if user typed /aboutus in url bar and hit enter, should return 410 error.
It should be possible to do this in IIS with the Url Rewrite Module. I have no idea if there can be a rule to send this error only to specific agents, but it should be possible to change a 404 answer to 410.
The better way would be to add the old, invalid Url to the new page (Pages -> Advanced -> SEO) and return a 301 answer (moved permanenty). Then you customers and search engines know the new address. Happy DNNing! Michael
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.