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 ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Are long URLs bad for SEO?
 Hi, I would like to know how bad is the long URLs that I have on my website. At the moment we have 543 long urls and I was wondering how big is the impact in my SEO. Thank you Link Building | | Blind_Foundation3
- 
		
		
		
		
		
		What Should be the URL of third party blog for my website
 Hi All, What Should be the URL of third party blog for my website. Lets say if i have a website xyz.com (which provide pest control services in New York City) and I want to create third party blogs on platforms like blogspot, weebly etc so should i create the blog url as xyz.blogspot.com or i can use a keyword in the blog URL such as pestcontrolnyc.blogspot.com? Which URL would be the best as per Google's guidelines. Note: I have already have a blog within the domain as xyz.com/blog/ and i do weekly posting on this blog. But at the same time i want to create 1-2 third party blogs to get some backlinks from other sources. Link Building | | Mr.Suren0
- 
		
		
		
		
		
		Any Instant Indexeing social Bookmarking sites available on search engine or not?
 I want to that my backlinks are instant indexed, so is any social bokkmarking sites availble when backlinks can instant indexed then please answer me. Link Building | | renukishor0
- 
		
		
		
		
		
		Toxic Link Removal-Better to Pay an SEO Firm or Can I Do It Myself?
 Hi Jen: Recently an SEO audit from a reputable SEO firm identified almost 50% of the incoming links to my site as toxic, 40% suspicious and 5% of good quality. They are of the opinion that it is imperative to remove the toxic domains. The fee for toxic link removal is about $3,000.I would prefer to save the $3,000 but would prefer not to take the risk of screwing up my ranking if this is a complex procedure best left to SEO professionals. My assumption is that link removal will involve identifying the toxic domains, requesting removal and eventually submitting a Google disavow request. Can I do this myself or is there a big risk of screwing it up? Assuming it is safe for me to remove toxic links, would anyone suggest software of tools for doing so? Thanks so much. Link Building | | Kingalan1
 Alan0
- 
		
		
		
		
		
		How to make google index the page title has changed ?
 Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change. Link Building | | tuananh0688
 Please help me .
 My site : http://blog.addme.vn0
- 
		
		
		
		
		
		Changing url from non www to www.
 basically I have realised i have more page authority and links going to www.onestopmuscle.co.uk instead of onestopmuscle.co.uk. I use wordpress and have no clue how to make sure onestopmuscle.co.uk redirects to www. version. anyone have any ideas? I don't want to mess about with files or i'll most likely make the blog into a disaster. Link Building | | FLEAR0
- 
		
		
		
		
		
		Does the complete url count as backlink?
 Hi there, does the http://mysite.com count as a backlink if posted on a site? I post a press releae and the site only allows me to put urls like this. they get something or must be in anchor the url? Thanks Link Building | | nyanainc0
- 
		
		
		
		
		
		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
 
			
		 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				