Which is better /section/ or section/index.php?
-
I have noticed that Google has started to simply link to /section/ as opposed to /section/index.php and I haven't changed any canonical tags etc.
I have looked at my pages moz authority for the two /section/ = 28/100
/section/index.php = 42/100How would I go about transferring the authority to /section/ from /section/index.php to hopefully help me in my organic serp positions etc.
Any insight would be great
-
Would it be possible to do a redirect from /section/index.php to just /section/ without causing a completely pointless infinite loop etc....
-
Cheers guys
-
What Dave said.
/index.php, .html, .htm, .asp, et al, are all pretty much outdated now. Not in the way that the pages wont get spidered and indexed, but URL's are certainly much cleaner when they are like this page, for example:
http://moz.com/community/q/which-is-better-section-or-section-index-php
Looks much better than http://moz.com/community/q/which-is-better-section-or-section-index-php/index.php
-Andy
-
I constantly look for ways in which to make a difference on the sites I have.
As a rule of thumb, so long as your old inbound links still resolve to the correct place with 301 redirects and there are no old links physically linking to the 301s on your site then you'll be onto a winner.
-
Cheers Dave, would you potentially recommend reworking the sites link infrastructure to point to /section/ as opposed to /section/index.php? or would it not likely make much of a differance? Thanks for the prompt response.
-
Tim,
Google works on relevance as you probably know, index.asp has no relevance to the page content what so ever and therefore section/ would be more preferable to Google and a larger majority of your URL will be made up with your keywords.
Regards
Dave
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Difficulty with Indexing Pages - Desperate for Help!
I have a website with product pages that use the same URL, but load different data based on what's passed to them with GET. I am using a Wordpress website, but all of the page information is retrieved from a database using PHP and displayed with PHP. Somehow these pages are not being indexed by Google. I have done the following: 1. Created a site map pointing to each page. 2. Defined URL parameters in Search Console for these type of pages. 3. Created a product schema using schema.org, and tested it without errors. I have requested re-indexing repeatedly and these pages and images on the pages are still not being indexed! Does anybody have any suggestions?
Intermediate & Advanced SEO | | jacleaves0 -
Does Google index language flags/links in header, even if only 1 is visible at a time?
Hi, I want to pass link juice from my English website to my other languages. Does Google index language flags/links in header? Only 1 flag is visible at a time, and from what i´ve read, Google does not index content that is not visible to the user without clicks, like content behind tabs. I´m guessing language drop downs could fall under the same category as well...? Any knowledge on this... thank you for your time!
Intermediate & Advanced SEO | | guidetoiceland0 -
Where do you find an individual/freelance SEO?
I know Moz has a directory of recommended companies, and I've found that very useful. However, we're really looking for an individual (who, of course, keeps up with the latest best practices and trends in SEO) to optimize our site while we put our time into client sites. We've done Craigslist ads, but those seldom pan out. Have any of you had luck finding part-time SEOs? Where did you find them? Thanks!
Intermediate & Advanced SEO | | ScottImageWorks0 -
Canonical Tags being indexed on paginated results?
On a website I'm working on which has a search feature with paginated results, all of the pages of the search results are set with a canonical tag back to the first page of the search results, however Google is indexing certain random pages within the result set. I can literally do a search in Google and find a deep page in the results, click on it and view source on that page and see that it has a canonical tag leading back to the first page of the set. Has anyone experienced this before? Why would Google not honor a canonical tag if it is set correctly? I've seen several SEO techniques for dealing with pagination, is there another solution that you all recommend?
Intermediate & Advanced SEO | | IrvCo_Interactive0 -
Redirecting index.html to the root
Hi, I was wondering if there is a safe way to consolidate link juice on a single version of a home page. I find incoming links to my site that link to both mysite.com/ and mysite.com/index.html. I've decided to go with mysite.com/ as my main and only URL for the site and now I'd like to transfer all link juice from mysite.com/index.html to mysite.com/
Intermediate & Advanced SEO | | romanbond
When i tried 301 redirect from index.html to the root it created an indefinite loop, of course. I know I can use a RewriteRule.., but will it transfer the juice?? Please help!5 -
Need advice for indexing a multilingual website
We are in the process of creating a Spanish subdomain of our website. I want to know what needs to be done in regard to meta tags, sitemap.xml and robots.txt so that Google and Bing will index both website properly and not causing the web page on the English site to lost rank. Our English site is www.mydomain.com with the Spanish site being es.mydomain.com We are planning to put a button or link on both sites so that visitors can switch between both sites. The two sites are similar but not all pages are mirror images.
Intermediate & Advanced SEO | | Qualbe-Marketing-Group0 -
De-indexed by Google! ?
So it looks as though the content from myprgenie.com is no longer being indexed. Anyone know what happened and what they can do to fix it fast?
Intermediate & Advanced SEO | | siteoptimized0 -
Webpages look like they have been de-indexed
Hi there, My webpages seem that they have been de-indexed, I have no page rank anymore for my webpages, my homepage which was a PR4, is now saying N/A, plus lots of my rankings have dropped, what check should I been making to identify that this is the case? Kind Regards
Intermediate & Advanced SEO | | Paul780