By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,945 Members | 1,648 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,945 IT Pros & Developers. It's quick & easy.


P: 1
Hi All,

The question is : if i rewrite the page page1.php to page1.html in .htaccess so that the google and other search engines can see it as : page1.html always.. also in link building..

now my concern is will google/other search engine will ever visit the .php address as well? if so it will be duplication of same content on different page one with .html and one with .php..

with example : is actual url but i want to represent them as

so i did url rewrite rule in .htaccess as :
RewriteRule ^page1\.html$ page1.php [NC]

now confusion is : i can access two urls for same content of page1.php
1. and 2.

and so will google and all search enginges.....

will it be case of duplicate content for google and all? if yes how to solve it?

ps: i have consulted my SEO person but i think he is confused... cos he said dont ever do that cos it is bad practice???????? i mean whole world doing url-rewrite and all the paths represent some .php or .html or .asp or .aspx files.... how it can be bad practice..? something is missing either with my url_redirection or his SEO concept..

please can you clearify on this how google will take this case? as duplicate content on page1.html and page1.php or something else?

Apr 20 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.