Questions tagged [best-practices]

A best practice is a method or technique that has consistently shown results superior to those achieved by other means.

Filter by
Sorted by
Tagged with
111
votes
13answers
7k views

URLs: Should I use hyphens, underscores or plus symbols?

Which is better for search engines? example.com/my_cool_page.html example.com/my-cool-page.html example.com/my+cool+page.html
22
votes
7answers
3k views

Should I replace fillable PDFs?

I work for a company that has hundreds of forms in fillable PDF format on our website. We run into issues constantly because web browsers love to open PDFs in browser instead of opening the files in ...
14
votes
4answers
6k views

What is good URI design?

How should a good URI be designed? What are the factors to consider? What are the pros and cons of the variants? Factors that makes up a good URI Stability over time Short Give the user an idea what ...
14
votes
3answers
10k views

What is the best way to redirect my naked domain?

I have example.com, which points to web server using A records, I want to redirect all traffic from www.example.com to example.com. As far as i know these are methods, 301 HTML redirect from www to ...
11
votes
6answers
14k views

What is the best way to exclude bots from view counts?

My website is counting visitor views on certain pages. I noticed that Google and other Bots are "clicking" to my site like crazy and some of the pages get unrealistic view counts (compared to those ...
11
votes
8answers
9k views

Why not AJAX'ify entire websites?

Is there any solid reasoning as to why sites shouldn't be developed with ajax functionality that loads major parts of each part (assuming there are elements like the header, navigation etc that remain ...
10
votes
3answers
384 views

Local SEO Strategies

What are your strategies for local SEO? For example, if you had a web design company in Lincoln, Nebraska, what would you do for your website from an SEO perspective?
9
votes
4answers
20k views

What is the optimal folder structure for a web directory?

I've been doing web development for years, and I've always done a web structure similar to this: public_html/login.php public_html/css/login.css public_html/js/login.js public_html/img/logo.png I've ...
8
votes
3answers
5k views

HTTPS best practices for SEO and usability

Consider a page, http://example.com, which can be viewed both publicly and when a user authenticates. Now suppose you enable HTTPS for every page when a user logs into your website, but only when they ...
8
votes
5answers
278 views

Is it good to buy multiple domains for competitive reasons?

I am attempting to convince the higher ups at my company that spending $55 to renew one domain for a year is bad when they end up having 3-4 domains names for one website. They're reasoning for ...
7
votes
2answers
6k views

Friendly URLs: is there a max length for search engines?

People from stackoverflow have been working closely with google team to help them make the panda algorithm more efficient, so I guess they've learned a lot from the google team. Thus they may have ...
6
votes
2answers
774 views

Multiple top level domains - should I redirect/rewrite or leave them?

I operate a website with many different TLD's (top level domains): example.com example.org example.co.uk example.org.uk The website is advertised as example.org.uk but I expect that lots of people ...
6
votes
3answers
326 views

how far do you go with creating subfolders for content?

When you create a site (small, static content) how far do you go with folder detail? Do you have a /images folder in the site root, or /content/images or /images/site, /images/public? I'm one of ...
6
votes
3answers
307 views

Pros and cons of creating a print friendly page to remove the use of pdfs?

the company I work for has a one page invoice that uses the library tcpdf. they wanted to do some design changes that I found are just incredibly difficult for setting up in .pdf format. Using html/...
6
votes
1answer
740 views

Is it considered spam to set “From: ” header to the user's email in a contact form?

I developed a contact form on a client's website. When a user submits it, the client gets an email. Is it considered as spam (or against best practices) when emails sent from a website form have From:...
6
votes
3answers
761 views

How often should a website's disaster recovery plan be tested?

We all take backups hoping to never use them, but of course some day we are going to. I was wondering if there has been any best practice guide written about how often a disaster recovery plan should ...
6
votes
2answers
77 views

How to redirect to a mobile site that doesn't have a 1:1 ratio to desktop site?

I have a desktop site with loads of old Flash games on it. Since there wasn't any way of easily porting that to mobile, I have a completely different mobile site with a different set of HTML5 content ...
5
votes
4answers
2k views

Nameservers and DNS - Appropriate Steps to Move to A VPS?

I bought a VPS and I am trying to transfer my domain over to the new server, I took two steps so far, but I don't think I did it quite right as its been 24 hours and most all DNS check sites still ...
5
votes
3answers
356 views

Strategy for hosting 700+ domains names, each with a static HTML site

I have a portfolio of more than 700 domain names, and ideally I'd like to put up a single-page HTML/CSS/JavaScript webpage for each domain. Is there a system/strategy/workflow that will allow me to: ...
5
votes
1answer
96 views

How to safely replace live site (without database) with staging site using Apache shared hosting?

I have a PHP website of around 20 pages without a database on shared hosting - it has quite a lot of forms and a significant amount of visits. I have a staging subdomain on the same server wherein I ...
5
votes
1answer
358 views

Will “jailing” a single page inside an iframe using a JavaScript redirect be considered as cloaking?

Background I have a website that uses iframes to display content. If the URL to a content is called directly by the user it should be "jailed" into the main page. The main page provides a header and a ...
4
votes
2answers
82 views

Is combining / concatenation of CSS and JS technique considered deprecated?

Google used to recommend webmasters to combine external CSS and JS files to improve the page speed. One of these pages was here: https://developers.google.com/speed/docs/best-practices/rtt#...
4
votes
3answers
605 views

What is the general practice for country TLD subdomains

I'm trying to launch a website application that will focus on cities around the world, whereby TLD for each countries will be used. For example: www.website.de - Germany www.website.cn - China sub-...
4
votes
1answer
741 views

How to hide a JavaScript popup for Googlebot?

I want to display a JavaScript popup when visitors access my website, however I believe Google will decrease my rankings when they detect a popup. So, is there any way to hide a JavaScript popup for ...
4
votes
2answers
1k views

Loading another domain's content in a modal iframe - acceptable?

Is it okay to load another page in an iframe in a modal pop-up window - in terms of legal and ethical standards around displaying 3rd party content? I remember a few years ago there was controversy ...
4
votes
1answer
585 views

Translate URL query parameters

Just like it is always advisable to translate URL parts in order to internationalize a web site, is there any recommendation (W3C or such) regarding the translation of URL parameters (query strings)? ...
3
votes
5answers
411 views

URLs - Hyphens or keywords?

Let's say I have an online database. The domain names somethingdatabase.* are taken. seomoz says that Hyphens detract from credibility and can act as a spam indicator and also says that ...
3
votes
3answers
189 views

Is it correct to have domains with more than 3 levels?

I've been arguing for some time about this topic, now I'd like the opinion of professionals. My point is that a domain should be made of 2 or 3 levels at most, like: mysite.com blog.mysite.com And ...
3
votes
2answers
481 views

rel=“nofollow” SEO impact

I saw a technique used where there was a block with three parts: 1. Image (wrapped in an anchor tag) 2. Heading (anchor tag with heading text) 3. Paragraph (regular p tag with synopsis content) e.g. ...
3
votes
2answers
289 views

Rendering IPA characters like 'ŋ' correctly

(I hope this isn't too dumb a question) When I go to this Wikipedia article: http://en.wikipedia.org/wiki/International_Phonetic_Alphabet These 'special' phoenetic characters, such as 'ŋ' render ...
3
votes
2answers
150 views

How to phrase the from field in system generated emails my site sends?

I have a community site that sends emails after certain actions like 1) When someone makes a comment 2) When someone does something called "suggest solution" 3) When someone makes a comment in the ...
3
votes
3answers
514 views

Why do some bad websites rank well?

Consider the following scenario: you are pitching SEO/Website Optimisation to a prospective client and you explain to them the importance of great copy and content, how acquiring links (ethically) can ...
3
votes
2answers
43 views

Why do websites openly state that some links are affiliate links?

I have seen websites openly state that some of their links are affiliate links and that they will be earning a small commission each time someone clicks through their link and purchases. I am ...
3
votes
1answer
77 views

Canonicalising to less linked URLs

I have a question about how to use canonical urls on an ecommerce site with a complex category structure. I have many products and they each sit in multiple categories. Each product can be accessed ...
3
votes
3answers
141 views

Convenient practice for where to place images?

A lot of developers place all image files inside a central directory, for example: /i/img/ /images/ /img/ Isn't it better (e.g. content architecture, on-page SEO, code maintainability, filename ...
3
votes
2answers
162 views

Where to store project resource files?

You are working on a website for a client. He (the client) sends you a bunch of MS Word documents with text that you have to use in the website. Where do you store them? My approach would be to ...
3
votes
2answers
68 views

Is AMP suitable for a non-periodical website?

I am working on a project to convert some documentation into a mobile-friendly form. The current documentation is outdated and is using MediaWiki, and the formatting is extremely unfriendly for mobile....
3
votes
1answer
39 views

Changing page's subject year-to-year

I'm having a hard time thinking of the best terms to search for similar questions so please bear with me. We run a yearly "best X" contest where we nominate several to choose from and let readers ...
3
votes
1answer
321 views

SEO & Multilingual: would be this a good practise?

I am currently making a bilingual website and I'd like to get nice SEO results of course. Here's my idea: The internal links would be composed of the "www" subdomain so that people can share links ...
3
votes
1answer
70 views

Podcast Best Practices - Page Development & Monetization Considerations [closed]

Our current podcast page has show notes and a link to download an mp3 of our podcast. We were advised to add an audio player to stream the file live from our website. The thought being this would ...
2
votes
4answers
222 views

Where can I find resources for best coding practices in web development?

You'd figure that this would be an easy topic to google, but unfortunately I've been looking for a couple weeks and have yet to find really anything that I'm looking for. The problems I'm running ...
2
votes
2answers
216 views

Should the Home Menu Button Display a Submenu?

Is it best practices to display/not display a dropdown menu for the Home button in menu navigation?
2
votes
3answers
121 views

Purchasing traffic effects on SEO

I've recently found some websites which provide a specific number of visits by paying. I'm curious if this is a (very) bad practice for search engines (like Google).
2
votes
2answers
86 views

Is it good practice to include alt tags on all images

… including decorative images such as navigation arrows and social media buttons? I understand that my "content images" should be alt-tagged appropriately. But should I be tagging decorative images ...
2
votes
2answers
379 views

Any suggestions for a change detection system?

As a webdesigner/webmaster I'm taking care of various websites. Recently one client's website got "hacked". It turned out that at their office one computer got infected by a trojan, that spied the ftp ...
2
votes
1answer
129 views

SEO: ABBR and My Full Phrase (MFP)

In my company websites, we often have the situation at the start of a page where we introduce a [usually technical] phrase, followed by the acronym that it is often know as: My Special Widgets (MSW)...
2
votes
1answer
1k views

Meta keywords single words or phrase?

It is acceptable or recommended to only use 1 keyword per delimiter? Or can we use a phrase? For example: car, Audi, Ferrari, Lamborgini vs Audi Car, Ferrari Car, Lamborgini Car What is ...
2
votes
1answer
94 views

Is there any SEO benefit to placing testimonial text inside a heading element?

Is there any SEO benefit to placing testimonial text on a landing page nested inside of an <h3> element? For example: <div class="active item"> <div class="hero-...
2
votes
2answers
929 views

Microdata: should I use Book or Product type scheme?

I'm developing a site for an antiques shop, specialized in rare and ancient books. Every page for each book will have a description sheet available with several data for the item. Descriptions ...
2
votes
2answers
451 views

Is it OK to give status 404 to unauthorized users?

In recent months I have come across several sites, which give a 404 status/error page, when there should be 403 or maybe 401. For example, I have a private repository on github.com with link: https:/...