Necessary H1 tags for SEO without violating google webmaster guidelines
Most of our websites use a logo on the sites homepage for the site name, but according to googles seo guidelines it a very must to have a <h1> tag once on every page.
Yes you could have a h1 and use css or any other technique to hide it but that will get your site penalized for violating google webmaster guidelines , a quick workaround would be to have that tag visible on the page but use css positioning to avoid it showing up and spoiling your layout.
eg.
.someclass{
position:absolute;
top:-9999px;
left:-9999px;
}
and that should do it.
Pretty Urls in Wordpress using Wamp
There are many ways to set custom urls on wordpress , i have been trying to figure this out when using Wamp server. Here are a few simple steps:
- Locate your apache httpd.conf file which would most probably reside under C:\wamp\bin\apache\Apache2.2.11\conf
- Edit using text editor and uncomment(remove # sign) the line LoadModule rewrite_module modules/mod_rewrite.so
- In the same file locate Options FollowSymlinks and change the second line from “AllowOverride none” to “AllowOverride all” if not already done
- Save the file and restart all services under Wamp
- Go to wordpress admin -> Settings -> Permalinks and choose your custom structure, like “postname” http://localhost/wordpress-3.3/wordpress/sample-post/
- Save the settings and try a link on the live site, should work perfectly
Weird Javascript error in wordpress installation in Xampp
Some people surely have faced this weird weird error with wordpress installation using xampp or even wamp.( seems like this only happens in these servers)
If you do face Javascript load errors in wordpress, you would most probably re install wordpress and the whole server or tweak your database and all that just like i did, but you can simply find load-scripts.php located in the wp-admin folder and checj to see if there is a php ending tag, if it isnt then put one there ?>
Hope this helps.
Adding Custom Tabs On Facebook
As far as i know the most popular app used to make facebook custom tabs is Static FBML which no longer works now, there are many other apps out there that can help you achieve this but has its own problems like slow image loading and usualy a credit going back to them.
You can however use a facebook inbuilt developer app to make this.Follow these steps:
- go to https://www.facebook.com/developers/createapp.php
- put in the name of your app and agree
- go through the security check unless you are a robot
- under the About tab fill the proper application name and desired icon
- go to the Facebook Integration tab (this where it gets tricky)
- Give it a proper url name under Canvas page say something like (my products)
- Canvas URL is the location of the file on your website where you want to pull the iframe from (eg. www.myhost.com/fbapp/)
- if you have ssl then specify the same for Secure Canvas URL but use “https” otherwise leave it blank
- choose auto resize if you intend to have your app wider then 520px then you will have too use Fb api to control that else just make sure your divs/imgs dont go beyond that
- Under the Page tabs section- Give the tab name (like Products)
- Tab url would be the same as canvas url and secure tab the same with https(if you have ssl on your server)
- click on save changes
Go back to https://www.facebook.com/developers/apps.php and choose the app you just created, click on Application Profile Page, this will take you to the app and on the app page click “add to my page” and choose the page you want to add this to. and thats it your are done.
Problems?
The most common mistake you can make is not having your canvas and tab url set properly,make sure it points to a correct path, open the same url on a browser tab just to be sure.
If your file is a .html and returns a http 405 error then see what server you are hosted on and if the server uses php or asp or cfm and change the files extension to that and that should solve it.
If you dont have a ssl on your server then the users accessing your app thru a secured connection will be prompted with a message to leave thier secured connection and browse to your app with a normal connection.(sucks right!)
The beauty of this is that you can customize whatever you want in that iframe of course you have to be mindful of facebook’s rules.
I like this site :)
A community for creatives who love to share.
Here at Freebie Pixels we give away awesome graphic resources for free, but thats not all! We also pay our creatives Pixel Points which can be used to buy advertising time here on our website.
ImageCFC and Coldfusion 9 conflict
If you use this open source ImageCFC project with coldfusion 9 you are bound to get an error with the use of
<cfset throw(
function as this conflicts with the inbuilt function in CF9. I dont know the real issue or solution around this but here is a simple solution according to Raymen Camden’s post on Galleon Coldfusion 9 fix, and pagination UI update.
So basically all you have to do is rename the cfthrow function in image.cfc to something else say mycfthrow and thats it.


