Pixelpost

Authentic Photoblog Flavour

SEO Rewriter v1.0 featured

 
Download (1.8 KB)

Developer Description

Using SEO Rewriter, PixelPost links get rewritten to SEO-friendly links. Note that SEO Rewriter requires support for Clean URLs (URL Rewriting) to be enabled in your hosting environment.

I created SEO Rewriter before I was aware of the superb The World in 35mm Pixelpost Template - which a.o. features SEO friendly URLs - and that I now use for my site http://photographs.maridonkers.info/ .

SEO Rewriter is a non invasive modification: it does not touch any of the PixelPost files. If you do not already have a .htaccess file (which is normally the case) then simply copy the two files (.htaccess and seorewriter.php) from the archive to the PixelPost root directory. If you do already have an .htaccess file then merge it with the file from the archive (you'll have to be knowledgeable about .htaccess files though - http://httpd.apache.org/docs/2.1/howto/htaccess.html )

Done! Your links will now have the following SEO-friendly format (examples):

  • http://yoursite/38
  • http://yoursite/tag/Netherlands
  • http://yoursite/category/4
  • http://yoursite/browse
  • http://yoursite/about
  • http://yoursite/rss

The links in the page content are rewritten to also use the SEO-friendly format. With the exception of the RSS content (which is UTF-8 encoded XML).

To disable SEO Rewriter simply remove the rules from .htaccess (or remove the file completely). To complete a full uninstall the seorewriter.php file can also be removed.

Write A Review

  1. Average 3
    Clemens 11 Months Ago Report as Spam

    mh, it should work, but i need help.

    because my pixelpost is not installed in the domainroot, first i changed the "RewriteBase /" from to "RewriteBase /foto".

    But only the image urls are shown in the right way like "http://mysite/38", the link to the "archive" or the "about"-page gets redirected back to the index ... what i did wrong?

  2. Perfect 5
    ReneO 2 Years Ago Report as Spam

    not working, loses whole site. get response, file not found seorewriter.php not found.

  3. Mediocre 2
    LordFrz 2 Years Ago Report as Spam

    Spoke to soon, not workin after all. I know url rewrite s possible with my setup as I use it on the file host potion of me site. That uses only this short code.

    RewriteEngine On RewriteRule ^([0-9]+)/(.+)$ ../file.php?userid=$1&file=$2 [L,NC]

    Which turns this http://url.com/host/file.php?1=public?imageid

    note## (public?imageid may not be right, forgot what is was before rewrite. (:)

    into

    http://url.com/host/files/1/public/imagid.jpg