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
-
SEO Value Of Non-Indexed Links
I have a link built to a site, but it's not showing up in Open Site Explorer and doesn't appear to be indexed currently by Google. Does anyone know of any research done on SEO value if any on non-indexed links? Thanks
Link Building | | EmarketedTeam0 -
How does this site rank higher than a seemingly better one??
Ok, I'm really trying to wrap my self around all this SEO stuff. Right when I think I'm grasping it, I come across something like this. When running a keyword difficulty report for the term "essay editing", the top two results are: www.papercheck.com/essay-editing.html www.gradesaver.com/essay-editing/ The first result has a PA of 37, 2 linking page domains, DA of 48, and 197 root linking domains. The second has a PA of 65, 32 linking page domains, DA of 68, and 2,572 root linking domains. What the heck is going on here!?!? I can't understand it. I checked anchor text and that doesn't appear to be it. The only thing I can find is that the papercheck has a link from a site (marketwire) with a DA of 90 while the #2 guy's highest linking domain has a DA of 60. However, I have a really hard time wrapping my head around this considering the total linking domain stats compared to one another. Any insight is much appreciate... this is frustrating trying to grasp these situations! Thanks!
Link Building | | Kibin0 -
Why articles submitted to squidoo not indexed by google
Hi, I have written a few articles and uploaded to squidoo/hubpage last month and they have been accepted and I can see the links in the articles. But they dont appear in the latest link report from Google Webmaster Tools. Is it because it's delay or Google simply wont treat them as valid links? Thanks
Link Building | | LauraHT0 -
Why aren't my links being indexed
I am building backlinks from similar sources to 2 different domains. Domain A seems to get its linked indexed within a day or 2, while Domain B has virtually identical links that haven't indexed for over a month. Domain A is older and has more authority, and Domain B is hosted on a different server. Any insight into why this is happening? It's very frustrating.
Link Building | | insitegoogle0 -
Which is better - A) links from multiple IP addresses, or B) Links with more associated social signals?
If you had to choose: A) 100 links contained in posts on 100 PR2* blogs, all on separate IP addresses, where none of the posts had associated social signals, or B) 100 links contained in posts within a single PR2* blog (single IP address), where each of the posts had 20 associated social signals, Which would you choose to increase your SERP performance? *I chose PR2 so that PageRank would not be a factor in the decision.
Link Building | | JohnScottDixon0 -
Is it Better to Link to an Article or Post it on my Site?
I have a client who has a few articles written about her and posted on different news-related sites. She has asked me to capture these articles (we have permission) and create a section on her site for them. My question is this... From an SEO standpoint, would it be better to link _to the _articles, post them on her site or both? Or, maybe there's an even better way I'm not thinking of. Your advice is greatly appreciated. Thanks, Kirk
Link Building | | kbates0 -
Do VigLink links get indexed, and then pass SEO juice to the merchant?
You can find the service at viglink.com, they do dynamic linking to anchor text for participating publishers on a cost-per-click basis. Less interested here in the conversion quality and more interested in the broad SEO value. Any ideas?
Link Building | | SimpliSafe0 -
How do I get my unindexed links indexed?
I've been building links consistently to our site for the past three months. At first, some of my tactics were rather shady. As I learned more, I started to get more quality links. I have noticed that a very small percentage of my active links are currently indexed. Should I do something to get these older links indexed or just keep building new links? Will building shady links to unindexed links get them indexed? Will this get my site penalized? Does pinging help? What resource should I use to ping these unindexed links? Forgive me if this is a really basic question. I'm still learning the ropes.
Link Building | | vindel19850