Welcome to the Small Business Ideas Forum! We are a community of over 100,000 small business folks with over 163,000 posts for you to browse. We pride ourselves on being the friendliest forum you will find and we'd love to have you as a member of our community. Please take a moment and register for a free account. If you need any help, please contact Chris Logan.

Small Business Ideas Forum

Small Business Ideas Forum

A friendly place to share small business ideas and knowledge, ask questions, find help and encourage others that are involved in the small business industry. Topics include small business marketing, generating revenue and small business computing.

Go Back   Small Business Ideas Forum > Small Business Marketing - Online > Search Engine Optimization
Register Search Today's Posts Mark Forums Read

Thread Tools
Old 21st August 2012, 08:36 AM   #1

Join Date: Jul 2012
Posts: 19
Default My Site Url Is Opening With .html And .php Extension. Will It Harm Search Engine Rank

Hi There
I have changes url structure of my exiting site. My site url extension was .php and i rewrited it .html. Now my url is opening with both extension. Will search engine consider it duplicate url. Should i use canonical code.


vizzmedia is offline   Reply With Quote
Register or log in to remove this ad.
Old 21st August 2012, 11:14 AM   #2
torka's Avatar

Join Date: Mar 2006
Location: Triangle area, NC, USA, North America, Earth (usually)
Posts: 4,101

Search Engine Guide Blogger


If the same content is accessible from two or more different URLs, that is indeed duplicate content.

When you say you "rewrote" your site pages from .php to .html extensions, how exactly did you accomplish this? By that I mean: did you physically recode the pages so that the old .php pages now exist as both .html versions and .php versions? Or was this something you accomplished through the back-end of a content management system (such as Wordpress)?

If you physically rewrote the pages and there are now two copies of each page (one .html and one .php) sitting on your web server, you should implement a 301 redirect from the old version of the URL to the new. Depending on your web hosting company, you may be able to do this through their control panel, or you may need to update your .htaccess file to include the redirects. Your hosting company should have instructions in their help section or their support staff should be able to talk you through how to set up these redirects.

Once the redirects are in place, you can safely delete the old .php versions of the pages.

On the other hand, if this "rewrite" was done through the back end of a content management system, we'd need to know which CMS you were using. Typically, pages generated by a CMS would not be available under two URLs in this scenario, so in that case it sounds as though there might be some problem with the configuration. Without knowing the CMS in use, it's impossible to troubleshoot.


Diane Aull - NineYards.com: Helping Businesses Do Business Online
Whether you think you can, or that you can't, you are usually right.
torka is offline   Reply With Quote
Old 29th August 2012, 05:19 AM   #3

Join Date: Aug 2012
Posts: 15

@torka: I do agree with you.

If you have two different url with same title meta and contents may result as duplication page penalty by Google.

Torka already suggest you to remove one of these page or redirect it but you have one another easy option to avoid this issue by using canonical tag for your original page.

DavisJoseph is offline   Reply With Quote


Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Rewriting Which Will Better For Seo Point Of View .php, .html , Without Extension vizzmedia Search Engine Optimization 2 6th August 2012 08:33 AM

Thread Tools

Get Updates
RSS Feeds:
RSS Feed for Search Engine Optimization RSS for this Category Only: Search Engine Optimization

RSS Feed for Small Business Ideas Forum RSS for Entire Forum
Forum Rules

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Small Business Ideas Forum

At Your Business - Small Business Directory
Free Business Forms - Prewritten Documents
Search Engine Guide
Small business guide to search marketing

Small Business Brief
Fetching the Best Small Business Info

Free Links - Free Advertising
Free Guide - Online Directory

Advertise your business here
Contact us for more details!

Semantic Juice
Register now to access free Quick SEO service!

Rocket Lawyer
Sign up for free 7 day trial. Boost your biz!

Buy UPC Codes
Get your products listed online!

All times are GMT -5. The time now is 09:09 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004 - 2018 - Privacy