New answers tagged

2

Just keep it like that, clean. It's quite easy to remove index.html from a URL with mod_rewrite. Let's say we want to redirect www.example.com/index.html to www.dense13.com: RewriteEngine On RewriteRule ^index\.html$ / [R=301,L] If you're not familiar with .htaccess syntax the RewriteRule directive has three parts, a pattern (^index.html$), a ...


0

If you do choose to do a 301 redirect, you can set headers to stop the browser caching the redirect: <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" </ifModule> <ifModule mod_headers.c> <filesMatch "\$"> Header set Cache-Control "store, no-cache, must-revalidate" </filesMatch> ...


5

It generally makes little difference. A 301 redirect may cause a short term drop in ranking, but nothing to worry about. An internal rewrite keeps the same URLs. You just need to be careful that you don't end up with duplicate content on multiple URLs.


2

mod_rewrite is the module that enables the redirection. 301 redirection should be done if you have a content on page A and not that has been migrated to a different subdomain or another link all-together. So 301 redirect page A -> page B to indicate this to crawler to get complete seo authority passed from page A to B



Top 50 recent answers are included