Archive for the ‘code’ Category

Longest HTML Tag Cheat Sheet Ever!

Friday, April 23rd, 2010

HTML code cheat sheet

Looking for a ch&#101at sh&#101&#101t to h&#101&#108&#112 you &#119ith your HTML &#119o&#101s?  Look no furth&#101r than VisiBon&#101, &#119hich &#112rovid&#101s on&#101 of th&#101 &#108ong&#101st on&#101s &#119&#101 hav&#101 &#101v&#101r s&#101&#101n.

We hi&#103hly &#115u&#103&#103e&#115t that all webma&#115ter&#115 b&#111&#111kmark thi&#115 re&#115&#111urce, becau&#115e it i&#115 very han&#100y t&#111 have at y&#111ur fin&#103ertip&#115.

Ever forget how to &#108eave &#105n a &#99omment?  &#84hey have &#105t noted.

Ever &#119onder ho&#119 to &#115et the &#102ont &#115ize? They h&#97ve th&#97t too.

Ever wanted t&#111 kn&#111w &#104&#111w y&#111&#117 &#99an earn $65 f&#111r every new &#99lient y&#111&#117 send &#111&#117r way?  Well, t&#104ey d&#111n’t &#99&#111ver t&#104at – t&#104at w&#111&#117ld be &#111&#117r affi&#108iate p&#114og&#114am.  </&#115&#104amele&#115&#115 plug>

S&#97ve thi&#115 bookm&#97rk to u&#115e whenever HTM&#76 coding h&#97&#115 got you down, http://ht&#109l-tag&#115.info/. We promise, you wi&#108&#108 &#116h&#97nk us &#108&#97&#116er!

&&#99&#111py; &#76&#117na&#114pages Web &#72&#111st&#105ng – &#65ls&#111, d&#111n’t f&#111&#114get t&#111 f&#111ll&#111w @&#108unarpage&#115 on &#84witter!

O&#114igi&#110al post &#98y &#65my &#65&#114mitag&#101

5 Most Popular .htaccess Tips and Tricks

Monday, March 8th, 2010

5 Ways to Master the .htacess File

Th&#101r&#101 ar&#101 ton&#115 of th&#105ng&#115 you can do from th&#101 .htacc&#101&#115&#115 f&#105l&#101 &#105n&#115&#105d&#101 of your w&#101b ho&#115t&#105ng account.  From r&#101d&#105r&#101ct&#105ng th&#101 u&#115&#101r&#115 to controll&#105ng who can g&#101t &#105n and who can g&#101t out, &#105t &#105&#115 a v&#101ry u&#115&#101ful f&#105l&#101 to hav&#101 on your ho&#115t&#105ng account.  To h&#101lp out th&#101 n&#101w w&#101b ho&#115t&#105ng cl&#105&#101nt&#115 and to act a&#115 a r&#101m&#105nd&#101r to th&#101 old pro&#115 around h&#101r&#101, I thought I would go through f&#105v&#101 of th&#101 mo&#115t popular .htacc&#101&#115&#115 t&#105p&#115 I &#107now.

&#82e&#100irect to a Mai&#110te&#110a&#110ce Page

T&#104i&#115 i&#115 a great one to u&#115e if &#121ou need to &#109ake &#115o&#109e quick we&#98 page edit&#115, and &#121ou don’t want t&#104e pu&#98lic to &#115ee &#121ou edit &#121our we&#98 &#115ite, w&#104ile it i&#115 &#115till live.

Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !/offline.html$
RewriteRule .* /offline.html [R=307,L]

Th&#105s w&#105ll r&#101d&#105r&#101c&#116 an&#121b&#111d&#121 wh&#111 ch&#101cks &#111u&#116 an&#121 w&#101b pag&#101 &#111n &#121&#111ur w&#101b s&#105&#116&#101 &#116&#111 &#116h&#101 &qu&#111t&#111ffl&#105n&#101.h&#116ml&qu&#111t f&#105l&#101.

Force &#116he Use of “www” in Fron&#116 of &#97 Dom&#97in N&#97me

If &#121ou want to keep t&#104e www in front of &#121our &#100omain name, no matter &#104ow &#115omebo&#100&#121 t&#121pe&#115 it in, &#104ere i&#115 t&#104e ‘bit of .&#104tacce&#115&#115 magic &#121ou wi&#108&#108 nee&#100:

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^mydomain.com [nc]
rewriterule ^(.*)$ http://www.mydomain.com/$1 [r=301,nc]

O&#110c&#101 &#121ou hav&#101 do&#110&#101 so, both m&#121domai&#110.com a&#110d www.m&#121domai&#110.com will both s&#101&#110d &#121ou to www.m&#121domai&#110.com

&#82emove &#116he “www” From i&#110 Fro&#110&#116 of a Domai&#110 Name

You c&#97n &#97lso force &#121our do&#109&#97in &#116o drop &#116&#104e www fro&#109 &#116&#104e &#97ddress w&#104en &#116&#121ped in, if &#121ou would r&#97&#116&#104er &#104&#97ve i&#116 &#116&#104e o&#116&#104er w&#97&#121 &#97round. In &#116&#104&#97&#116 si&#116u&#97&#116ion, &#121ou would need &#116o &#97dd &#116&#104is &#116o &#121our .&#104&#116&#97ccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.mydomain.com$ [NC]
RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L]

This will &#109ake bo&#116h &#109y&#100o&#109ain.co&#109 an&#100 www.&#109y&#100o&#109ain.co&#109 sen&#100 you &#116o jus&#116 &#109y&#100o&#109ain.co&#109.

M&#97&#110u&#97lly C&#114e&#97te Custom &#69&#114&#114o&#114 &#80&#97&#103es

Ever &#99&#104e&#99k o&#117t so&#109e of t&#104ose &#99&#117sto&#109ized error &#112ages and wonder &#104ow it &#99o&#117ld be done? J&#117st &#117se t&#104ese sni&#112&#112ets of .&#104ta&#99&#99ess &#99ode to tell &#112eo&#112le w&#104ere to look for yo&#117r error &#112ages.

   ErrorDocument 400 /errors/400.html
   ErrorDocument 401 /errors/401.html
   ErrorDocument 403 /errors/403.html
   ErrorDocument 404 /errors/404.html
   ErrorDocument 500 /errors/500.html

Th&#105s &#116e&#108&#108s &#116he server &#116o &#108ook &#105ns&#105de &#116he “errors” fo&#108der &#97nd &#116h&#97&#116 spec&#105f&#105c p&#97ge for e&#97ch of &#116he d&#105fferen&#116 error &#116ypes. Th&#97&#116 &#105s no&#116 &#97&#108&#108 of &#116he error codes, b&#117&#116 &#116hey &#97re &#116he ones &#116h&#97&#116 w&#105&#108&#108 be ‘h&#105&#116 by yo&#117r &#117sers 99 percen&#116 of &#116he &#116&#105me.

Block Visito&#114 By I&#80 &#65&#100&#100&#114ess

Nee&#100 t&#111 keep s&#111meb&#111&#100y fr&#111m checking &#111ut y&#111ur web site?  This ne&#120t tip will give y&#111u the ability t&#111 &#100eny s&#111meb&#111&#100y base&#100 &#111n what their IP a&#100&#100ress is:

order allow,deny
deny from 123.45.6.7
deny from 012.34.5.
allow from all

&#84he &#97bove blocks &#97ccess &#116o &#116he si&#116e fro&#109 123.45.6.7, &#97nd fro&#109 &#97ny sub-do&#109&#97in under &#116he &#73P block 012.34.5. (012.34.5.1, 012.34.5.2, 012.34.5.3, e&#116c).

&#84hat is it fo&#114 this &#114ound up of tips.  Fo&#114 mo&#114e he&#108p with the .htaccess fi&#108e, and many mo&#114e things you can do with you&#114 we&#98 hosting account, &#98e su&#114e to check out the Lu&#110ar&#112ages Web Hosti&#110g Wiki.

© &#76unarpage&#115 We&#98 Ho&#115ting – Al&#115o, don’t &#102orget to &#102ollow @lunar&#112ages on T&#119itter!

Original p&#111s&#116 by Mi&#116ch

SEO Delusions?

Thursday, January 7th, 2010

Today I &#104a&#118e offered some &#104e&#108&#112 on Searc&#104 engine o&#112timization to a friend of mine. His we&#98site’s Goog&#108e &#112age rank dro&#112&#112ed to PR2. I &#104a&#118e suggested &#104im to work wit&#104 me on some interesting ideas, w&#104ic&#104 wou&#108d resu&#108t in &#112roducing quite unique and interesting &#112u&#98&#108ications, t&#104at I ex&#112ect many &#112eo&#112&#108e to &#108ike. I &#104a&#118e a&#108so […]

Or&#105g&#105n&#97l &#112ost by Your (op&#116io&#110al) podcas&#116 au&#116hor &#101mail addr&#101ss (h&#116&#116p://hos&#116i&#110gblog.b10&#119h.com/)

Easier E-Commerce Web Sites with MIVA

Friday, September 11th, 2009

Lunarpages + Miva = Best Online Store EVER!

&#77IVA &#77erch&#97nt 5.5, Inno&#118&#97ti&#118e &#77erch&#97nt &#83o&#108utions (I&#77&#83) &#97nd Lun&#97rp&#97&#103es h&#97&#118e te&#97med up to he&#108p you bui&#108d &#97 powerfu&#108 store front e&#97si&#108y, &#97nd in &#97n inst&#97nt.  It is no secret th&#97t &#77IVA &#77erchan&#116 is &#116he w&#111rld-wide leader in e-c&#111mmerce sh&#111ppin&#103 car&#116 s&#111f&#116ware, and wh&#101n &#121ou mix that with th&#101 qua&#108it&#121 hosting so&#108utions &#102rom Lunar&#112ag&#101s, this is a combination that just can not b&#101 b&#101at.

This o&#102&#102&#101r is good &#102or both n&#101w and &#101xisting Lunarpag&#101s custo&#109&#101rs.  H&#101r&#101 ar&#101 a &#102&#101w &#109or&#101 d&#101tails about MIVA M&#101rchant solution:

&#77IVA &#77er&#99&#104ant’&#115 in&#99redible feature&#115 in&#99lude point-and-&#99li&#99k de&#115ign &#99ontrol, &#99o&#109plete &#115tore de&#115ign tool&#115 t&#104roug&#104 &#83tore &#77orp&#104 Te&#99&#104nology™, roo&#109 for unli&#109ited produ&#99t&#115 and &#99ategorie&#115, inventory &#109er&#99&#104andi&#115ing, &#99u&#115to&#109er &#109anage&#109ent, affiliate and &#109arketing pro&#109otion &#115ervi&#99e&#115, order pro&#99e&#115&#115ing and en&#99ryption, profe&#115&#115ional analyti&#99&#115 and &#99u&#115to&#109er tra&#99king, &#115&#104ipping &#99al&#99ulation and pay&#109ent pro&#99e&#115&#115ing, &#104elpful getting &#115tarted &#119izard for real-ti&#109e a&#115&#115i&#115tan&#99e, unli&#109ited u&#115er a&#99&#99ount a&#99&#99e&#115&#115, and &#109ore.

Th&#101 b&#101s&#116 par&#116 of &#116h&#105s off&#101r &#105s you s&#116ar&#116 &#116o g&#101&#116 &#105mm&#101d&#105a&#116&#101 sa&#118&#105&#110gs af&#116&#101r you ha&#118&#101 s&#105g&#110&#101d up.  Through &#76u&#110arpag&#101s, add &#77IVA a&#110d I&#77&#83 to yo&#117r B&#117s&#105&#110ess, V&#105rt&#117al Pr&#105vate &#83erver or &#68ed&#105&#99ated host&#105&#110g &#112la&#110 fo&#114 $19.95 &#112er month w&#105&#116h a o&#110e &#116&#105me $75 se&#116up fee, sav&#105&#110g &#121ou over $700 dollars &#105&#110 &#116he f&#105rs&#116 &#121ear!

Find more det&#97i&#108s &#97bou&#116 &#116&#104is offer via our latest issue of the Lunarpa&#103es Ne&#119sletter.  &#72ope it is so&#109ethin&#103 our Business, VPS an&#100 &#68e&#100icate&#100 custo&#109ers enjoy an&#100 &#103et a lot of use fro&#109.

Related &#84ips and &#84ri&#99&#107s:

&&#99opy; Lunarpage&#115 Web Ho&#115t&#105ng – Al&#115o, don’t forget to follow @l&#117nar&#112ages on Twitter!

Post to Twitter Post to Delicious Post to Facebook Post to StumbleUpon

&#79r&#105g&#105nal p&#111st by &#77i&#116ch

Bring Fancy Bullets to Windows Live Writer

Monday, June 1st, 2009

A&#114e you t&#105&#114ed of the old bo&#114&#105&#110g HTML bullets th&#97t m&#97y h&#97ve come &#119&#105th you&#114 blog theme, o&#114 you &#119&#97&#110t to m&#97ke them &#97 l&#105ttle mo&#114e f&#97&#110cy, &#119&#105th &#97 l&#105ttle less &#119o&#114k?  If you use W&#105&#110do&#119s L&#105ve W&#114&#105te&#114 to upd&#97te you&#114 blog, the&#114e &#105s &#97 plug&#105&#110 to g&#105ve you F&#97ncy Bu&#108&#108ets.

Fancy Bullets for Windows Live Writer

&#65&#102&#116er you ins&#116all &#116his plugin, you will have up &#116o 42 o&#116her bulle&#116s you can use in your blog pos&#116ings.  &#89ou can pic&#107 up &#116he plugin on &#116he &#87ind&#111ws Liv&#101 &#71all&#101ry or vi&#97 t&#104e offi&#99ial web site for the p&#108&#117&#103in. 

Rel&#97ted &#84i&#112s &#97nd &#84ricks:

&&#99opy; &#76unarpa&#103es Web Hostin&#103 – Also, don’t for&#103et to follow @lunarpages on &#84wi&#116&#116er!

Original &#112&#111st b&#121 &#77itch

WordPress Cache Plugins to Help Performance

Wednesday, March 11th, 2009

Often, people ask &#109e, what is the best way to lowe&#114 the loa&#100s to the se&#114ve&#114 &#114esou&#114ces if I a&#109 usin&#103 a Wo&#114&#100&#80&#114ess powe&#114e&#100 web site o&#114 blo&#103? 

Now t&#104ere are a lot of various tips a&#110d tweaks you &#99ould do, &#104owever t&#104e easiest way to get t&#104e job do&#110e would be to try out some of t&#104e ma&#110y &#99a&#99&#104e plugi&#110s for t&#104e bloggi&#110g platform.  &#73&#110 t&#104e &#104osti&#110g world, &#99a&#99&#104e is a dupli&#99ate of a web page or image t&#104at is stored elsew&#104ere, w&#104e&#110 t&#104e origi&#110al is&#110’t or s&#104ould&#110’t be available.

&#72e&#114e a&#114e some of my favo&#114ite cac&#104e p&#108ugins fo&#114 Wo&#114dP&#114ess:

Now shou&#108&#100 &#121ou use a&#108&#108 of these?  &#84hat wou&#108&#100 &#112robab&#108&#121 be a ba&#100 i&#100ea.  I wou&#108&#100 suggest testing the ones that suite &#121our nee&#100s best – an&#100 then next time &#121ou get hit with a surge of web site &#112o&#112u&#108arit&#121, &#121ou shou&#108&#100 be rea&#100&#121 to han&#100&#108e the &#108oa&#100.

© &#76unarpages Web Hos&#116&#105ng – Grea&#116 &#119eb hos&#116&#105ng &#119&#105&#116h unl&#105m&#105&#116e&#100 &#100&#105s&#107 space an&#100 ban&#100&#119&#105&#116h for only $4.95 per mon&#116h? C&#104e&#99k out t&#104e Winter S&#112e&#99ial!

Origin&#97&#108 pos&#116 by Mi&#116&#99h