Statistics can be very misleading. Apparently the avg person (statistically) in sweden has 1.9 legs and 1.9 children. You need to be able to interpret them properly.
For example; Another common misconception is "impressions". You might be making gazillions of impressions per month but for...
Sorry, it looks like I forgot to add a "s" to the http(s) of the redirected URL. (Modified an existing non ssl one)
Try this;
1.
RewriteEngine onRewriteCond %{HTTPS_HOST} !^www\.RewriteRule ^(.*)$ https://www.%{HTTPS_HOST}/$1 [R=301,L]
or for both;
2.
RewriteEngine onRewriteCond...
Just wanted to add to Greg's quote: If you dont know about it already Lorem Ipsum - All the facts - Lipsum generator is the best place to get mock-up text. Its been used for hundreds of years (not this website obviously- I mean the text) and explains all about it on the homepage.
Hi sevenupcan,
Sorry I have been really busy and have not been around the forums.
Your code above is absolutely fine but I have re-written it just to give you some ideas about other things you can do...
// These functions can potentially be in another includes file or class
function...
I just noticed that these functions include;
is_empty is another function of the class that I have these functions in, all it does is check that the string contains some chars. Easy enough to add in.
Hi sevenupcan,
My post was to provide a possible solution to your scenario i.e post the form to a different URL based on which radio button was selected, not for validation.
Looking at your code it looks like your validation is currently done via PHP, which is great. Any data that is posted...
I doubt very much that this is 500+ static pages and if it is, it needs to be changed.
If they have a catalog. They need a small admin area to add/remove/edit products and one or two dynamic pages on the front end to display all 500+ of them.
You need to use javascript in combination with your form.
First clear the action="" attribute in the <form> tag, then add an onClick="" action to the submit button.
When the button is clicked call a javascript function, something like "setTarget()" which sets the form action="" parameter...
Hi Mike,
I could provide all your development needs. i.e. A bespoke content management system written in PHP/mySQL which could be hosted on your LAMP no probs at all. As well as code the front end cleanly, with complete SEO in mind (inc dynamic sitemap, proper product URLs using mod_rewrite...
As mentioned by designium removing the rule "margin-left" from the above code or setting it to 0 will fix the problem. The issue is that your two rules (float & margin-left) ..
#head, #body .entry #main, #foot{
float: right;
margin-left: 165px;
width: 595px;
}
are two...
if its the same links as the top nav. Its mainly so you dont need to scroll back up to go to another page. Simplees
If its links like .. privacy policy etc its just so that they are out of the way but still accessible. Also usability pretty much says now that that is where they will be on all...
That depends on the page and content really. You need to add them in where you can but so that your site still flows and is perfectly sensible and informative to visitors. Basically write your site for people, not for bots.. works better!
If you have a bunch of keywords relating to your...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.