Posted by & filed under Fox url mobile and desktop.

Phpfox CMS Annotations for desktop and mobile URLs 

 

You are going to discover wy the Annotations for desktop and mobile URLs on phpfox script is important.

 

Recently I received a email offer from a wordpress plugs developer. In the messages they were offering to test a analytic program. SEOMOZ

You can watch the following video that explain how the analytic program software work and offer you 75 days free trial.

 

After grabbing my free 75 days trial I tested my site that use phpfox 3.5.0 first build. 

 

The analytic show in detail every error, worming or any issue that prevent your pages from ranking high in Google and other search engines. SEOMOZ is one of the top recommended seo analytic available on the web.

 

In my test result one major error is duplicated contents in Phpfox CMS. My site have 12, 331 error cause by duplicated content and allots of them are cause by the mobile URLs version.

You have the following structure of URLs on phpfox script:

 

1. http://demo.phpfox.com/photo/  for the desktop version of your site urls.

2. http://demo.phpfox.com/mobile/photo/ for the mobile version of your site urls.

 

The problem is the phpfox script mobile and desktop URLs use the same content and titles and descriptions. so in search engine like Google in create duplicated content and it split the links to your pages make it hard to rank for both mobile and desktop. 

This issue can be fix pretty easy by adding. 

Annotations for desktop and mobile URLs

 

To help our algorithms understand this configuration on your site, we recommend using the following annotations:

  1. On the desktop page, add a special link rel="alternate" tag pointing to the corresponding mobile URL. This helps Googlebot discover the location of your site's mobile pages.
  2. On the mobile page, add a link rel="canonical" tag pointing to the corresponding desktop URL.

 

Google explain how to fix this issue, read more here

 

 

Annotation in the HTML

On the desktop page, add:

<link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.example.com/page-1" >

and on the mobile page, the required annotation should be:

<link rel="canonical" href="http://www.example.com/page-1" >

This rel="canonical" tag on the mobile URL pointing to the desktop page is required.

Annotation in Sitemaps

We support including the rel="alternate" annotation for the desktop pages in Sitemaps like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://www.example.com/page-1/</loc>
<xhtml:link
    rel="alternate"
    media="only screen and (max-width: 640px)"
    href="http://m.example.com/page-1" />
</url>
</urlset>

The required rel="canonical" tag on the mobile URL should still be added to the mobile page's HTML.

Annotation in detail

Notice the attributes of the link tag on the desktop page:

  • The rel="alternate" attribute signals that this tag specifies an alternative URL to the desktop page.
  • The media attribute's value is a CSS media query string that specifies the media features the alternative URL applies to. In this case, we're using a media query that's typically used to target smartphones.
  • The href attribute specifies the location of the alternative URL, namely on the page on m.example.com.

This two-way ("bidirectional") annotation helps Googlebot discover your content and helps our algorithms understand the relationship between your desktop and mobile pages and treat them accordingly. When you use different URLs to serve the same content in different formats, the annotation tells Google's algorithms that those two URLs have equivalent content and should be treated as one entity instead of two entities. If they are treated separately, both desktop and mobile URLs are shown in desktop search results, and their positions may be lower than they would otherwise be.I am sure phpfox team are working on fixing this issue as they also like there script to be a good and perform.

I am sure phpfox team are working on fixing this issue as they also like there script to be a good and perform.

 

 

Share

Posted by & filed under Phpfox Pages Titles.

Why Phpfox Script Web Page Titles Are Not SEO Friendly

What is Phpfox Script Web Page Titles?
Usually you can find the web page titles of any websites at beginning top of the web page HTML/XHTNL document in thesection in a Meta tag call.
Web browsers display the title of web pages at the top of a browser window, maybe in tab section also.

Google and other search engine will display the titles in search result.

pages_title_issue

The following are common mistake that can be find in many websites.

 

1. Web Page With No Title

Many websites on the web don’t have any title tag; if you search on Google for untitled document you will find millions of result.

Title tells web robot what your web pages are about. Not having a title make it almost impossible for Google and other search engine to index your pages.

 

2. Titles Too Short or Too Long

Short page titles will limit the potential of a page to rank for several keywords. Google, can display up to 70 characters in their search engine results page (SERP) why not take advantage of that?
Keep in mind that the more keywords there are in the title, the more diluted they become. Having too many keywords in the page title, although visible by Google, can lead to the common issue of keyword cannibalization.

 

3. Keyword Cannibalization

This is a situation when pages titles are stuffed with too many keywords. Keyword-stuffing is an unscrupulous tactic that a few SEO consultants use to improve their clients’ search engine rankings. Though I am an SEO consultant myself, I don’t recommend blatantly loading your pages with keywords because not only does it affect your search engine ranking’s effectiveness, but is also the reason that we sometimes see non-relevant web pages ranking highly for a specific keyword.
Because your web pages are (or should be) distinct and should have unique content, the same should be the case with page titles. Repeating the same keywords in various pages regardless of whether or not they are relevant to that particular page is not going to help, mainly for two reasons:

 

 

         1. Irrelevant web pages may be picked up by the search engines, but will have high bounce rates as it doesn't convert effectively due to the fact that the page isn’t what the searcher is looking for
         2. It violates Google’s mantra of "Don’t be evil"

         3. Using the Company/Site Name in All Web Pages

         

4.  Using Company/ Site Name in All Web Pages

As previously said, Google displays up to 70 characters of a given page title in their SERPs. It does see longer ones, though, and despite what many SEO professionals preach, it isn't a huge problem to have page titles that are                            greater than 70 characters in a page title.

Nevertheless, you need to think of what should and shouldn't appear in the title. Many website owners tend to include their business name in the title, some of which can be very lengthy. What is even worse is that they want their       name to appear first in every single web page.

 Including your company name (unless it’s a search term that will likely be used), is unnecessary, and is consistent with some of the mistakes I've discussed earlier.

 

For example, study this title:

< title >ACME Exporting/Importing Company, LLC: Export Surfboards to Hawaii< title >
With the page title including the company’s name, it is using 37 more characters (with spaces)!
Search engine ranking might be better if it was simply:
< title >Export Surfboards to Hawaii< /title >
It would make sense displaying your company name in the homepage, contact page, and about page but avoid them in content pages.

 

5. Duplicate Web Page Titles

Another common mistake is having duplicate page titles. This makes it difficult to determine which page is which when they are all displayed in search engine results pages.
As previously said, all of your web pages should be unique — so by logic, all of your web page titles should also be unparalleled.

 

In the case of phpfox script, the issue is number 4 and 5 in some case number 2 will also apply here.

Page titles are one of the most powerful on-site search engine ranking factors that you have control over but website owners often neglect them.
Whether your intention is to improve your search engine visibility or make your website more meaningful and interoperable, you should avoid these five common pitfalls when coming up with page titles.

The following video explain how to create SEO friendly pages title.

http://www.youtube.com/watch?v=MjIEPT3tEtk

Share

Posted by & filed under Google Ranking.

If your pages are down or can no be access by Google for couple days and you lost all your ranking for those pages, well don’t panic. It can be a server not accessible for many reason, test your pages first Sniffer.net then fix the issue.

In the following video Matt Cutts from Google provide answers to Googler Pierre Far, webmaster.

My website was down for a couple of days and now has lost all of its Google rankings. What can I do to get them back?
http://www.youtube.com/watch?feature=player_embedded&v=jMxCOV99Umo#!

Matt Cutts confirm that if your pages are down for couple hours or days, Google will revisit them as they normally do regularly. It can be a server timeout or many other reasons and that’s why Google will crawl that page again.

If a webpage can not be access there’s tension at Google, they don’t know ii it’s a 404 error. It can be a server timeout, the server is slow and. And so, But one thing you don’t wont to be keeping showing a page that would be a bad users experience.
It is common that servers go down for couple hours even days so Google give the benefit of the doubt, giving you the chance to fix this issues and have your page back online and accessible as soon as possible. Just make sure the site is back up the way it was with no page missing, things will recover and you will get back your ranking as before.

To conclude don’t panic, make sure your pages are back up and can be crawl and things should go back to normal in couple days.

Share

Posted by & filed under PHPfox Speed.

For the speed of phpfox script there is couple important factor to resolve here.

1. Defer parsing of JavaScript

In order to load a page, the browser must parse the contents of all <script> tags, which adds additional time to the page load. By minimizing the amount of JavaScript needed to render the page, and deferring parsing of unneeded JavaScript until it needs to be executed, you can reduce the initial load time of your page.

2. Leverage browser caching

Reduce the load times of pages by storing commonly used files from your website on your visitors browser.

•Reduce page load times for repeat visitors

•Particularly effective on websites where users regularly re-visit the same areas of the website

•Cost-benefit ratio: high

•Access needed

 

3. Remove query strings from static resources

Most proxies, most notably Squid up through version 3.0, do not cache resources with a "?" in their URL even if a Cache-control: public header is present in the response. To enable proxy caching for these resources, remove query strings from references to static resources, and instead encode the parameters into the file names themselves.

 

4. Add Expires headers

Expires headers let the browser know whether to server a cached version of the page.

•Reduce server load

•Increase page load time

•Cost benefit ratio: high value

•Access needed

 

5. Make fewer HTTP requests

Reduce HTTP requests through combined files and CSS sprites.

Phpfox are working hard on making there script faster.

Good News

Phpfox officials released a press today on improvement cumming up for v3.6.0 you can read the Progress Report - Part 1

Share

Posted by & filed under PHPfox Speed.

In the last years Google and other search engines made clear statement about users experience been their first priority. Many factors affect users experience such as website speed site content location, too many ads and others.
The one that is very important is how fast your page load from users ends. For this your phpfox script have a good overall conditions but need some tune up to have it good and the developer team are working hard on it. Read about website speed and tools to help you.

speed test pic

Here couple tips to speed up your site and databases.

1. Cache JavaScript & CSS
In your admin CP (Setting) (Server Settings) Cache JavaScript & CSS set to true to cache all JavaScript and CSS into one file to speed up your site.

2. Feed Limit (Days)
In your admin CP (Setting) (Feed) Feed Limit (Days)
This setting controls how many days we should look back when displaying feeds. If you set this to 0 it will look for all the feeds. We advice to add a limit to keep your site fresh. Note that this setting does not apply when viewing a users profile as it will list all of their feeds.
A good number is 3 days.

3. SQL Maintenance
In your admin CP (Tools) (SQL) (Maintenance)
There you have two choice Optimize Table(s) or Repair Table(s) I recommend optimizing your tables at least once a week, it will make your site faster.

4. CDN (content delivery network)
Using CDN will definitely increase you site speed, it distribute your site across multiple servers around the world. If a user request your page the page is then serve from the closes server and usually pretty fast.

These are basic setting out of the box that phpfox script have for you to increase you site speed and performance and deliver a better user experiences.

You can test your website speed here Gtmetrix

You can also read a great article from data66 moderator staff on phpfox community about database queries

Share

Posted by & filed under URLs Redirect.

Redirect 301 URLs with NO trailing slash and no www

 

In phpfox Script URLs structure, all directory have a slash forward at the end of each URLs witch is common practice and recommend it. Let me show you a example   yoursite.com/video/ the problem we have with phpfox script is that URLs with / and No slash both return HTTP/1.1 200 ok response creating a duplicated content issue.

Here a post from Google http://googlewebmastercentral.blogspot.ca/2010/04/to-slash-or-not-to-slash.html

Any URLs for any website have 4 possible combinations as followed.

  1. www.yoursite.com/video/
  2. yoursite.com/video/
  3. www.yoursite.com/video
  4. yoursite.com/video

If they all return HTTP/1.1 200 ok then you have a possible duplicated content issue. You can test here : http://www.web-sniffer.net

 

You need to make sure they all point to only one of them and I prefer www.yoursite.com/video/ to do that you will need to do a permanent redirect 301 in the . htccess file in your root directory of your site.

You will need to open your .htaccess and copy the following under RewriteEngine On

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.% {HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule [^/]$ %{REQUEST_URI}/ [R=301,L]

 

The first 2 line redirect the NON www to the www of the url

The 3 next redirect the Non / url to the / ending url

Share