Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-29-2011, 01:54 PM   #1
Active Warrior
 
Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
Default is mydomain.com and mydomain.com/index.php the same?

is mydomain.com and mydomain.com/index.php the same?

I see them listed separately on my sitemap?
If yes, will Google treat it as duplicated content?

Thanks
PrincessJasmine is offline   Reply With Quote
Old 11-29-2011, 02:16 PM   #2
SEO Enthusiast
War Room Member
 
dadamson's Avatar
 
Join Date: Oct 2010
Location: Australia
Posts: 1,843
Blog Entries: 3
Thanks: 52
Thanked 345 Times in 262 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via ICQ to dadamson Send a message via AIM to dadamson Send a message via MSN to dadamson Send a message via Yahoo to dadamson Send a message via Skype™ to dadamson
Default Re: is mydomain.com and mydomain.com/index.php the same?

Quote:
Originally Posted by PrincessJasmine View Post
is mydomain.com and mydomain.com/index.php the same?

I see them listed separately on my sitemap?
If yes, will Google treat it as duplicated content?

Thanks
Yes, they are different pages if both URLs exist and you have not 301 redirected them.

Just like www.mydomain.com and mydomain.com are different pages until you add a 301 redirect.

dadamson is offline   Reply With Quote
Old 11-29-2011, 02:39 PM   #3
Active Warrior
 
Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
Default Re: is mydomain.com and mydomain.com/index.php the same?

Quote:
Originally Posted by dadamson View Post
Yes, they are different pages if both URLs exist and you have not 301 redirected them.

Just like www.mydomain.com and mydomain.com are different pages until you add a 301 redirect.
Ahh I see
What should I do at this point?
Who should I redirect?
PrincessJasmine is offline   Reply With Quote
Old 11-29-2011, 02:55 PM   #4
UMS
Peter Sundstrom
War Room Member
 
UMS's Avatar
 
Join Date: Apr 2010
Location: New Zealand
Posts: 1,856
Blog Entries: 1
Thanks: 177
Thanked 503 Times in 370 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: is mydomain.com and mydomain.com/index.php the same?

When you go you your main domain, does it redirect to index.php?

UMS is online now   Reply With Quote
Old 11-29-2011, 03:51 PM   #5
Active Warrior
 
Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
Default Re: is mydomain.com and mydomain.com/index.php the same?

Quote:
Originally Posted by UMS View Post
When you go you your main domain, does it redirect to index.php?
No, it doesnt.
PrincessJasmine is offline   Reply With Quote
Old 11-30-2011, 06:07 AM   #6
Programmer
War Room Member
 
Join Date: Nov 2007
Posts: 159
Thanks: 0
Thanked 5 Times in 5 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: is mydomain.com and mydomain.com/index.php the same?

I would redirect index.php to your website domain root. Always try minimize duplicate URLs. (This also helps focus the backlink juice instead of spreading it out.)

That said, the sitemappper tool should be able to automatically figure out that the index.php URL most likely is a duplicate. (Infact otherwise Google Webmaster Tools will often in similar cases issue warnings about URLs GWT thinks may be duplicates.)

Sitemapper is offline   Reply With Quote
Old 12-11-2011, 02:04 PM   #7
Active Warrior
 
Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
Default Re: is mydomain.com and mydomain.com/index.php the same?

Update:

I just tried using 301 redirect on my index.php page to my domain.
Placed the following code on my index.php

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.mydomain.com" );
?>

I then tried accessing website immediately after, and received an error message
"redirect issue: loop" (or something like that).

I am wondering if I did anything wrong here?
From my understanding, I didnt really created any loop, and was trying to redirect index.php to my website domain root.

I am very confused here. Please help. Thanks!
PrincessJasmine is offline   Reply With Quote
Old 12-11-2011, 03:00 PM   #8
Plundering the Web
War Room Member
 
paulgl's Avatar
 
Join Date: Feb 2007
Location: , , .
Posts: 4,851
Thanks: 804
Thanked 1,200 Times in 887 Posts
Default Re: is mydomain.com and mydomain.com/index.php the same?

They are not different pages, they are the same thing.

99.9999999999999999999% of people with website
do not have to worry about a thing. Many servers
can have multiple urls going to the main index page.
domain.com, www .domain.com, www .domain.com/,
domain.com/, etc. etc. etc.

It's no big deal. Google is smart enough to judge which
version to show in SERPs. It doesn't even matter if you
make backlinks with any range of them. You don't
really need to 301 anything, but it makes webmasters
feelgood.

Does it "look" like multiple pages to "google"?
Yes, but not in the sense that people should panic
about a thing.

If your server is set up so that index.php is where
people go to when typing in domain.com. like warriorforum.com,
then it matters not. It's the same friggin' page.

And if your server is set up for index.php to indeed be
where the visitor goes, then you are actually at
domain.com/index.php even though the browser just
shows domain.com.

This is just something in the past that used to make
webmasters panic after hearing google thinks it's
a different page. It does not matter one iota.

What would matter is if people typed in domain.com
and it went nowhere. Then that would be a server
issue that can be solved very easily. The flip side
is true as well. Some servers do not know what to
do with www .domain.com. Luckily, must servers go
to the index page no matter what a person types.

But getting to same page on multiple urls DOES NOT
mean there are multiple pages, and google is smart
enough to know that. In fact, the point is beyond
being moot in 2012.

Paul

How to Make Money off Facebook: Login to your account. Deactivate your account. Get your butt to work.
paulgl is online now   Reply With Quote
Old 12-27-2011, 08:44 AM   #9
links needed
 
Join Date: Nov 2011
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Contact Info
Send a message via Skype™ to Crank
Default Re: is mydomain.com and mydomain.com/index.php the same?

What if people put links to your www. domain.com, domain.com, domain.com/index.php - which page get the link juice? each from the list? in this case it's reasonable to add a 301 redirect.
Crank is offline   Reply With Quote
Old 12-27-2011, 09:05 AM   #10
Senior Warrior Member
War Room Member
 
Join Date: Aug 2002
Location: , , .
Posts: 1,184
Thanks: 63
Thanked 92 Times in 84 Posts
Default Re: is mydomain.com and mydomain.com/index.php the same?

The index page is the default page for the folder. In other words if no specific page url is entered it will default to the index file.

For instance type in google.com or google.com/index.html and it's the same page, it's just defaulting to the index file. If you create subdomains or subfolders you should put an index file in there even if you don't have any readable files in there or depending on your server they could have access to all the files in the folder.

If it's not redirecting to index.php you don't have anything to worry about. Since there are different file extensions php, html, htm, asp, pdf, etc I doubt anyone would enter or link to index.php or whatever, it would be minimal at most. And besides it's the same page. As for the www and non www version link to one and create a redirect for the other.
thecableguy is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
mydomaincom, mydomaincom or indexphp

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:31 PM.