Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Search Engines and SEO
/
Google Search and SEO
8:41 pm Apr 23, 2026
This page requires javascript.
Forum Moderators:
Robert Charlton
&
goodroi
Message Too Old, No Replies
Using rel canonical on /index.php to point to www.domain.com
DiscoStu
Msg#:4383562
4:25 pm on Nov 4, 2011
(gmt 0)
Is this recommended?
I.e. on domain.com/index.php
put
<link rel="canonical" href="http://www.domain.com/" />
to avoid canonicalization issues (and to avoid the 301 index to domain loop)
tedster
Msg#:4383585
5:19 pm on Nov 4, 2011
(gmt 0)
I recommend it as standard procedure on every website I work with.
g1smd
Msg#:4383591
5:37 pm on Nov 4, 2011
(gmt 0)
avoid the 301 index to domain loop
The loop is easily avoided with an extra line of code: redirect index requests only when "index" appears in the original URL request.
This is very easy to achieve on Apache servers and there are hundreds of previous code examples in the WebmasterWorld Apache forum.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Mar
,
Feb
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
I need some SEO help
Do you get tired of others copying your content?
what do they want?
2025 Link Building Trends and Insights
How to handle variants on e-commerce website ?
Does SEO matter any more?
5 SEO Tips That Actually Worked for My Blog in 2026
Sitemaps for large websites and SEO - add everything or just some?
Home
Forums Index
Search Engines and SEO
/
Google Search and SEO
8:41 pm Apr 23, 2026