Hi, I have a site with an index.html and an index.php The .htaccess sends visitors to index.html (as long as it's there, otherewise they go to index.php) however it stays the same domain.com Every x hours I am switching between the two of them (same content, different layout) Does this have a negativ impact on SEO? Regards, Martin
I cant understand why you need a .html and .php index file for changing round content ?? Also, layout changes can be done through CSS if you are using if for your design. But even if you still had just one index file ( either .html or .php ), you could always upload the new file everytime you make any changes. Why do you have a .html and a .php file for this ??
I would think that google would index these as two different pages, so you aren't gaining anything SEO wise. Please explain what is the purpose of the switch?
Thanks for the answers so far. The index.html is a TGP with high click productivity but traffic does not convert very well. Intended for traffic-trades. Index.php is an adult blog with lower click production but better conversions. So during the daytime with the most crap-traffic but high click-prod. I direct the traffic to index.html (the tgp) while I send it to the index.php (blog) during the better-traffic hours of the day.
Make sure your internal links point to http://www.your_domain_name.com and there is no problem since its a tld.
Is it a 302 or 301 redirect? It's a bad idea from an SEO perspective. The following URLs are all considered different pages by search engines: example.com www.example.com/ www.example.com/index.html www.example.com/index.php example.com/index.php