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
-
Why MOZ just index some of the links?
hello everyone i've been using moz pro for a while and found a lot of backlink oppertunites as checking my competitor's backlink profile.
Link Building | | seogod123234
i'm doing the same way as my competitors but moz does not see and index lots of them, maybe just index 10% of them. though my backlinks are commenly from sites with +80 and +90 DA like Github, Pinterest, Tripadvisor and .... and the strange point is that 10% are almost from EDU sites with high DA. i go to EDU sites and place a comment and in lots of case, MOZ index them in just 2-3 days!! with maybe just 10 links like this, my DA is incresead from 15 to 19 in less than one month! so, how does this "SEO TOOL" work?? is there anyway to force it to crawl a page?0 -
Give a Solution my DA is not increasing and not index my backlinks in MOZ??
DA of my website online is no longer increasing. It seems like Moz is not indexing my backlinks. Multiple backlinks of my website online BasketballShoes are now not indexing in Moz that is why DA is not increasing.
Link Building | | fbowable
Backlinks of my site have indexed in both Ahref and semrush each now not showing in Moz. DR has elevated to 51 however DA is still 7. If all and sundry have the solution please let me know.0 -
SEO & URL parameters on external links
Hey guys! I've got a quick question: We are getting some guest posting opportunities with a few big sites in our space...
Link Building | | floriannin
In those guest posts we will also have to chance to link back to 1-2 articles of ours and to our main site. Should I use UTM parameters to track how many clicks we get or will this in any way negatively affect our SEO benefits? Hope you guys know what I mean. I found tons of articles on this but mostly about inbound links... which isn't the case here. Thanks in advance 🙂0 -
Central Index Directories
Hi all, I'm based in the UK and i'm looking to submit to a several directories under the central index umbrella, for example to these directories: http://findit.chad.co.uk/ http://directory.nottinghampost.com http://directory.burtonmail.co.uk/ I've filled my profile out and have submitted to one of the above directories, however when I sign in to one of the other directories it asks me to re-fill out all my details. Is there not a way i can submit to several of these directories by signing in without confirming my telephone number for each one ? Many Thanks in advance Paco
Link Building | | paco87230 -
Better Business Bureau
Two questions about BBB. 1. The PA for some company listings is 0 and the PA for others is much higher. Is this because some companies have a link back to their listing and others do not? 2.I checked a random sample of companies with links from BBB to their company site, but the links are not listed in the OSE. Why is that? Best,
Link Building | | ChristopherGlaeser
Christopher0 -
Should I use a branded url or an exact match, and which branded url?
I'm thinking of changing my client's 37 character exact match url because it looks spammy to me and Google says it will be turning the dial down on exact match domains. I still see a lot of value in it however and it is helping this client, albeit very little since he is new in his arena. His goal is to rank for keywords in that url so I hate to lose the benefit of that url. As an example, let's say his url is floridahealthinsurance-quote.com I'm concerned now because I plan to do some reputable and highly relevant link building and I'm afraid bloggers might hesitate linking to a spammy sounding url. This client does have a branded url that is short and sweet, something like millerbenefits.net, and that redirects to the long url. Back linkers could link to the short url instead. However, it lands people on the site with the long spammy-sounding url and they may not want to be affiliated with it. Something like millerbenefitsinsurance.com is available and it does have 2 keywords in it. Should I get that instead? In short the question is this:
Link Building | | KatMouse
Should I change or keep floridahealthinsurance-quote.com If I should change it, should I change it to:
millerbenefits.net
millerbenefitsinsurance.com Thanks for your help!0 -
Submitting my URL on web/business/service directories
Does it make sense to submit a business URL in as many relevant web/business directories as possible when kicking off a link building campaign? Submitting a free listing is obviously better than nothing, but when does it make sense to pay extra for a premium listing profile on some of these directories? There are just so many and a lot of them appear spammy, even though some of my competitors are getting traffic from them. Any advice on this would be great!
Link Building | | TheSquareFoot1 -
Has anyone seen positive results from using Submiteaze to submit to directories? I know an SEM agency that uses it for clients' link building campaigns, but I don't know if it is worth buying. Are there better alternatives?
I would like to start a link building initiative at my company for a new website, and would like to know if the value of the links built using Submiteaze would be worth the money.
Link Building | | pbhatt0