Pixelpost

Authentic Photoblog Flavour

SEO kit v1.1

 
Download (14.5 KB)

Developer Description

Hi. Here is SEO tool kit for pixelpost. This will chang all you URL in that format: http://your-blog-name/title-of-the-image/id.html in the Browse page, in the Rss and Atom Feed and in the image_template.html. Only tested in Pixelpost 1.7. Let me know if it works for older versions.

In the zip, you will find :

  • cleanUrl.php. Simply drag it to your "includes" folder.
  • google_sitemap.php . A customized version of the plug in that modified the url to a SEO version.
  • htaccess. Drag it to the root folder(where "index.php" is) and rename it ".htaccess" (add a . before the name). If you already have a .htaccess file, just add those lines in your file:

    RewriteRule ^([a-zA-Z0-9-]+)/([a-z0-9-]+).html$ index.php?showimage=$2 [L]

    RewriteRule ^([a-zA-Z0-9-]+)$ index.php?x=$1 [L]

  • index.php . This one should replace the old one ( Make a back up of the old one just in case ;))

Then, you have to had this line : <base href="<SITE_URL>"> in the header of your "image_template.html" file (in the templates folder).

Finaly, you have to modify the "about", "rss" and "atom" links in the menu of each template page like this : About instead of About Rss 2.0 instead of Rss 2.0 Atom Feed instead of Atom Feed

I think it's unnecessary to change the "home" link.

And this should work. At least, ths works for me here : http://blog.ludovicpages.com/

Here is a thread where we can talk about this mod : . Ask your questions there, and i'll do ma possible to help you.

Ludo

Older Versions

Write A Review

  1. Good 4
    designermonkey 7 Months Ago Report as Spam

    You need to change the $first_image and $last_image links in index.php too to match the new urlstructure.

    Otherwise, it's getting there!

  2. Good 4
    digitaldome 7 Months Ago Report as Spam

    seem like not working for me (using ppost 1.7.1)

  3. Good 4
    Matthias70 7 Months Ago Report as Spam

    Hi ludovic, nice idea, but you forgot to change the links in your menu and your tags have still the standard link format of pixelpost.