Duplicate Page Title
-
The crawl of my website http://www.aboutaburningfire.com revealed an error showing a duplicate page title.
Can someone please explain to me how to fix this? I'm not sure what it means or how to fix it.
|
House Church Chicago, Organic Church, Illinois
http://www.aboutaburningfire.com/ 1 Pending Pending House Church Chicago, Organic Church, Illinois
http://www.aboutaburningfire.com/index.html
|
-
You need to redirect your index.html page to /. You can do this in IIS.
-
You would need to put a 301 redirect using your htaccess. This is a duplicate page issue and just not a duplicate title issue.
-
IIS? Controversial you first think it's on a windows server rather than linux

-
As Eric and Saibose have said, this is a duplicate page issue which needs to be resolved using a redirect. You also need to redirect non-www to www.
However it would depend what kind of server you have as to how to fix it

If you have a Linux server use .htaccess and put this in
RewriteEngine On
Options +FollowSymLinksRewriteCond %{HTTP_HOST} ^aboutaburningfire.com
RewriteRule (.*) http://www.aboutaburningfire.com/$1 [R=301,L]RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://www.aboutaburningfire.com/$1 [R=301,L]If you have a Windows server then I dunno how to change it in IIS, your host should be able to help (NB: You're probably on a Linux server :D)
-
sorry for my ignorance, but can you explain how to set up a 301 redirect?
-
is .htaccess something my hosting company provides in the control panel? Or can I create a php file with the following code:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>and where do I place this file?
-
Its already there on any linux server. You just need to download that flie and open it on notepad and upload it back to the server with the updated code as Barry pointed.
-
This is what I have in the .htaccess file. Do I need to take the "addhandler" code out?
RewriteEngine On
Options +FollowSymLinksRewriteCond %{HTTP_HOST} ^aboutaburningfire.com
RewriteRule (.*) http://www.aboutaburningfire.com/$1 [R=301,L]RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://www.aboutaburningfire.com/$1 [R=301,L]addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php5
addhandler x-httpd-php5-cgi .php -
The php header redirect above would have worked, but much better sorting it in .htaccess as you're doing

Leave the addhandlers in, even if your site isn't using them it may be there for a reason.
The layout you have above should be fine, but test the site as soon as you make the changes to see if anything has broken!

-
thanks guys. I think this answered my question. Is this something I should do on all my websites?
-
Yes, definitely.
Otherwise you could have a duplicate content problem on all your sites and really it keeps things a lot neater.
Don't forget to change the URL in the .htaccess file though to the site it's going on, lol.
If we helped marking a post as answering your question or a thumbs up is always appreciated

-
does this apply to blogsites as well?
-
This post is deleted! -
Russell, you'll want to take a second look at the .htaccess file. http://www.aboutaburningfire.com/index.html gives me a 404 error instead of going to the home page.