![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 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 |
| | |
| | #2 | |
| SEO Enthusiast War Room Member Join Date: Oct 2010 Location: Australia
Posts: 1,843
Blog Entries: 3 Thanks: 52
Thanked 345 Times in 262 Posts
| Quote:
Just like www.mydomain.com and mydomain.com are different pages until you add a 301 redirect. | |
| | ||
| | |
| | #3 | |
| Active Warrior Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
| Quote:
What should I do at this point? Who should I redirect? | |
| | |
| | #5 |
| Active Warrior Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
| |
| | |
| | #6 |
| Programmer War Room Member Join Date: Nov 2007
Posts: 159
Thanks: 0
Thanked 5 Times in 5 Posts
|
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.) |
| | |
| | |
| | #7 |
| Active Warrior Join Date: Oct 2011
Posts: 61
Thanks: 8
Thanked 1 Time in 1 Post
|
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! |
| | |
| | #8 |
| Plundering the Web War Room Member Join Date: Feb 2007 Location: , , .
Posts: 4,851
Thanks: 804
Thanked 1,200 Times in 887 Posts
|
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.
| |
| | |
| | #9 |
| links needed Join Date: Nov 2011
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
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.
|
| | |
| | #10 |
| Senior Warrior Member War Room Member Join Date: Aug 2002 Location: , , .
Posts: 1,184
Thanks: 63
Thanked 92 Times in 84 Posts
|
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. |
| | |
![]() |
|
| Tags |
| mydomaincom, mydomaincom or indexphp |
| Thread Tools | |
| |
![]() |