Common alias of homepage should not also be serving

Rule from seo under content category

What is a trooper!

we have submitted your edit to the community for review! We'll review and make it live on the site in the next few hours, the internet thanks you :).

Browse another section of the knowledge base

Suggest an edit


This rule has no content... yet.

Add content to this rule

Or just browse to view rules that have content


Due to various configs of web servers, the homepage of a site could possibly be accessed using numerous alias.

For SEO reasons (and to avoid duplicate content) these alias should ideally redirect to the intended homepage or just returrn a error.

It should be noted most search engines like do handle these edges cases as they see fit but to avoid unexpected behaviour is is recommended to take control to avoid confusion and avoid wasted server load.

How do I fix this ?

Only one of the following may be considered the "true" homepage and all other alias listed should be redirected to the selected homepage:

  • /
  • /index.php
  • /home.php
  • /default.php
  • /index.html
  • /home.html
  • /default.html
  • /index.aspx
  • /home.aspx
  • /default.aspx

This will ensure the site is optimised for search engines like when checking the website.

That will listen on port 80 for HTTP requests and 301 redirect them to HTTPS instead. Your users will now be more secure and love you for it. Good job.


Browse another section of the knowledge base

Signup icon
Ready to see how well your site scores?

Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.

Sign up to get started