Index.php OR .php - Which is better for urls
-
I was wondering. When I build links should I build them using "index.php" OR ".php" at the end? Does one have any more value than the other from an SEO standpoint
Example:
www.mywebsite.com\hotdogs\index.php
or
-
What do you mean by (3) it doesn't reveal your underlying platform? I don't think URL structure would be of much concern here, especially if you where experienced in exploiting websites? Maybe I'm wrong, not to sure what you are referring too.
In regards to you leaning towards this one, surely posting it as a directory /hotdogs/ implies that it is that, a directory and not a just a page about hotdogs? I'm digging a bit to deep into this, as I'm sure it won't make that much of a difference, but I'm just saying, it seems more logical to have it .php or .html
-
I lean toward this one, too, but Google has no particular bias against dynamic pages. SEOs use to warn against using "dynamic" URLs, because they tended to include a lot of parameters and create duplicate content, but there's plenty of evidence that ".php" pages are perfectly fine.
To me, it boils down to:
(1) As TraxNYC said, all else being equal, shorter is better
(2) It looks a bit friendlier to search visitors (and easier to read)
(3) It doesn't instantly reveal your underlying platform (and pose a security risk)
-
I would use hotdogs.html, not that it makes much difference, but I personally prefer it so it doesn't look like an auto-generated page. If your planing on having a lot of hotdog related content I would defiantly go with /hotdogs for it all.
-
I would recommend www.mywebsite.com/hotdogs/.
-
The shorter the better! By including keywords inside of the link will help crawlers to better understand whats that particular url about.
Good Luck
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
-
How does indexing backlinks affect SEO and search engine rankings?
Indexing backlinks plays a crucial role in the overall SEO strategy and search engine rankings. When search engines like Google crawl and index a website, they also consider the quality and relevance of the backlinks pointing to that site. Here's why indexing backlinks is important: Visibility in Search Results: Indexing ensures that search engines recognize and attribute value to the backlinks you have acquired. When indexed, these backlinks contribute to the overall link profile of your website and can positively impact your visibility in search results. Faster Indexation: By submitting your backlinks for indexing, you can speed up the process of search engines discovering and recognizing those links. This helps search engines recognize the relevance and authority of your website sooner. Enhanced Crawling and Ranking: Indexing allows search engines to crawl and evaluate the backlinks pointing to your site. These backlinks are considered as signals of trust and authority, which can influence your search engine rankings. Improved Domain Authority: When high-quality backlinks pointing to your site are indexed, they contribute to your website's Domain Authority (DA). A higher DA indicates a more authoritative and reputable website, which can positively impact your rankings and organic search visibility. Competitive Advantage: Indexing your backlinks gives you a competitive edge by ensuring that the value and authority of those links are properly recognized and taken into account by search engines. This can help you outrank competitors who may have unindexed or low-quality backlinks. It's important to note that not all backlinks may require manual indexing, as search engines can discover and index them naturally. However, for specific or newly acquired backlinks that may not be indexed quickly, manual submission or using indexing services can help ensure they are recognized by search engines and contribute to your overall SEO efforts.
Link Building | | Morries88880 -
Not sure which url to use for backlinks
Hi our site, northamericahvac.com automatically goes to http://www.northamericahvac.com/servlet/StoreFront. There isnt anything I can do about it though, because we use prostores which limits things for us. That leads me to ask, when I'm making backlinks would I use northamericahvac.com www.northamericahvac,com, or http://www.northamericahvac.com/servlet/StoreFront.
Link Building | | ithvac0 -
Sitemap indexing problem
I changed some links of my website and deleted some links and created some links. After that I generated a sitemap again and re-submitted to google webmaster. I used 301 redirects for deleted or changed links and there are no broken links on my site (this is confirmed) sitemap was generated from here http://www.xml-sitemaps.com/ in my sitemap 285 links are present but google webmaster is showing that only 218 links have been indexed. Also my traffic felt down considerably since last 2 days ever since i submitted my new sitemap. Also when I searched for my sitename in google, it showed top 6 results within the site now it is just showing top 2 results. for reference my website is www.geekwik.com HAVE I DONE ANYTHING WRONG? OR IS THERE A MORE AUTHENTIC PLACE TO GENERATE A SITEMAP. REALLY APPRECIATE ANY HELP ON THIS.
Link Building | | geekwik0 -
How long does it take to get links indexed?
How long does it take Google Webmaster tools on average to detect links to my website? What about OSE? My site is fairly new (launched in January) and I've done some guest blogging -- I would think that some links from 3-4 weeks ago would be showing up by now. Am I just being impatient?
Link Building | | atstickel120 -
Same Page, Multiple URLS- Canonical tag? Redirect?
I just read this article about how google views multiple versions of the same page as different pages of duplicate content. My website, www.telikin.com currently has many versions of the home page. There is: www.telikin.com
Link Building | | Telikin
www.telikin.com/index
www.telikin.com/index.php
www.telikin.com/index.php/ All of these seem to be their own URLS, If i use the open site explorer tool to search for links pointing to these URLS, the www.telikin.com domain shows about 700 links, and the www.telikin.com/index.php shows about 63 links. My questions: Is my SEO suffering as a result of having these different pages? Does google realize that links pointing to www.telikin.com/index.php should count towards the seo of the www.telikin.com page? If this is hurting my company's website, how do I solve this problem? I am not versed as a webmaster, so I don't understand what the best course of action would be. Should I request that our webmaster somehow redirects all traffic from the other URLS to the main www.telikin.com URL? Should I be using canonical tags on all important pages? If i do, for example, use a canonical tag on the www.telikin.com page, will Google then know to send all link juice from the www.telikin.com/index.php page to the www.telikin.com page? We also have a Joomla blog that seems to duplicate pages many times over, but that is a problem that I will have to address another time. Any comments/suggestions are more than welcome. Thanks, Dave0 -
Question on backlinks indexing
Hello, my site is fairly new and I started building a lot of backlinks to it by posting my 5 from my website to several different web 2.0 and then posting all those 5 articles again to different article submissions + getting social bookmarks to my main site as backlinks. My question is: Should I throw all those backlinks in an indexer to get them all indexed at once / ping them all OR do I let google crawler naturally find them and index them itself sort of like 'dripping' as it will find it one by one; stack by stack? I would also like to know why Yahoo! hasn't indexed my site yet 😞
Link Building | | 6786486312640 -
Two link building proposals, which one is better?
Hi there, Our site has a DA of 73, MozRank 5.40, MozTrust 5.88, and over 45,000 external links. We haven't done any offsite SEO before, we got to where we are today organically. We're thinking about hiring a link building firm to help increase our rankings and we've received two proposals. Firm A offered to build us 30 links from DA 50+ sites over 3 months. The anchor text will most likely just be our domain name. Firm B offered to build us 90 links from PR2+ sites over 3 months. They have control over the anchor text. Given our site's profile, which proposal makes more sense for us? Would either of these initiatives move the needle for us? Thanks.
Link Building | | anonp1 -
PR Web or Marketwire which is better
Hi I am currently considering two online PR services, Marketwire and PR web. Just wondering if anyone has a opinion on which one is better in terms of SEO value? Or if anyone has done any experiments on either? Thanks for your help. Cheers Mik
Link Building | | increation1