Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
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 -
Site URL called out but not clickable.
Hi - I'm after a bit of clarity; if my site URL is referenced in an article, but doesn't actually link through, does this still 'add value' to my seo efforts? Thanks, David
Link Building | | newstd1000 -
Adding keyword to your url
Couldn't find the answer to my question anywhere so I'll give it a try here. If you have a site called www.example.com, and then want to add a keyword to this site, like this: www.example.com/keyword How do you add a keyword to your url like this? Without making the URL with the keyword your "main" URL, meaning you don't have to enter the keyworded URL to get to the homepage (www.example.com), and still rank better on the keyword put in the url. I'm a bit confused on the subject, would love for someone to help me understand! Thanks.
Link Building | | danielpett0 -
Should I 301 Redirect The index.html Page?
Hello, As an experiment I am trying to work with an SBI site but am noticing index.html is being forced on me as the homepage. As I understand it's good practice to 301 redirect the index.html page to the to the actual home page. Can someone please confirm that I am right in thinking this? Here is an example: http://www.anguilla-beaches.com/index.html
Link Building | | umtmedia
http://www.anguilla-beaches.com/ According to yahoo 773 links are pointing to the index.html page and 771 links are pointing to the / page. I'm sure Google knows that these are the same pages and does not consider them as duplicate but surely the index.html page should be redirected right? am I going mad here? Now if we look at this site: http://www.jugglenow.com the homepage has 198 links according to yahoo
http://www.jugglenow.com/index.html this page also has 198 links? now I am confused, are these 2 the same page? On this page: http://www.jugglenow.com/juggling-balls.html notice how there is no link to the actual homepage but there is a link to the index.html page. Am I missing something here because I can't figure it out, surely there should be just 1 homepage without a index.html page. Any help would be appreciated0 -
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 -
Backlink booster - boosts and helps to index links?
Hello all, We are using a tool called backlink booster that works in the following way: you view a page with a backlink to your site click on a boost link saved in favourites the link is pinged to rss directories and web 2.0 sites The idea is to get your links indexed faster. Has anyone used this or something like this and had any benefit from it? Thanks Shehzad.
Link Building | | Gareth_Cartman0 -
Why doesn't the Better Business Bureau show up in my link analysis
I've been working on SEO for one of the companies I've designed a website for and I'm confused by the company's lack of Better Business Bureau backlinks. The Company in question does have a BBB account and that account links back to the company's website. However, when I check in the link analysis for the site, the BBB link doesn't appear. My competitors, on the other hand, do have BBB links in their analyses. So, I'm wondering if I somehow don't have the right type of BBB account. The BBB seems to be a pretty good place to have a link from, and the company pays $300.00 per year for the membership, so I'd like to get the most out of it. Here's a link to the BBB page for the company http://www.bbb.org/utah/business-reviews/plumbers/platinum-plumbing-services-in-west-jordan-ut-22199778#bbblogo And here's the company's website www.slcplumbing.com Now, the company site I've just listed is 301 redirected to www.platinumplumbinginc.com, but even when www.slcplumbing.com was the main site, the BBB backlink didn't show up. Thank you Blake
Link Building | | BlakeMcGillis0