Questions tagged [best-practices]

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

Best practices are used to maintain a high level of quality and standardization in a project.

116 questions
122
votes
13 answers

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
delete
28
votes
8 answers

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 the native Adobe Reader application. Users…
TheIronCheek
  • 411
  • 4
  • 9
19
votes
4 answers

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 is linked Easy to type Easy to guess (relevant…
deamon
  • 203
  • 1
  • 2
  • 7
17
votes
3 answers

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 example.com Add CNAME alias for www to @ Add A…
12
votes
6 answers

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 produced by humans). I am asking for best practice…
eisberg
  • 123
  • 1
  • 1
  • 9
11
votes
8 answers

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 the same)? Surely it would be less…
Anonymous
  • 2,814
  • 20
  • 29
10
votes
3 answers

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?
Virtuosi Media
  • 5,457
  • 2
  • 25
  • 34
9
votes
5 answers

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 doing so is to keep these domains names out of the…
9
votes
3 answers

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 are logged in. Your page, http://example.com now…
Virtuosi Media
  • 5,457
  • 2
  • 25
  • 34
9
votes
4 answers

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 seen other people…
St. John Johnson
  • 193
  • 1
  • 1
  • 5
7
votes
2 answers

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 done very clever friendly URLs to maximize the page…
Olivier Pons
  • 496
  • 4
  • 14
6
votes
3 answers

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 these people who likes things to be "just so" in…
tombull89
  • 163
  • 6
6
votes
2 answers

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 will be visiting the site VIA the .com or .org, as…
6
votes
3 answers

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/css I could easily create the page and have it…
Phil
  • 193
  • 8
6
votes
3 answers

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 be tested. At the moment I do dry runs every so…
Toby
  • 2,988
  • 2
  • 21
  • 39
1
2 3 4 5 6 7 8