PhotoPost 8.0 URL Redirect Script 1

No permission to download
XF Compatibility
  1. 2.2.x
Headline
Simple redirect script that catches any requests to sendphoto.php or directly to your old PhotoPost
Short Description
Download and Discuss Premium, BusinessPhotoPost 8.0 URL Redirect Script 1 version on NullPro Community. It is zip Extention type and 861 bytes File size. From PhotoPost 8.0 URL Redirect Script have 356 Views.
Simple redirect script that catches any requests to sendphoto.php or directly to your old PhotoPost data folder and redirects to the new XFMG location.

showphoto.php redirects will go to the media overview page, direct data folder links it will go to the full image or thumbnail.

Installing

Put the attached photopost_redirect.php file in your XF root, then add the following entries to your .htaccess file above the "# Here is the Xenforo stuff" part (changing the data file path accordingly, mine was in the /gallery folder)

Code:
# Rewrite PhotoPost URLs
RewriteCond %{QUERY_STRING} photo=(\d+)
RewriteRule ^gallery/showphoto.php photopost_redirect.php?s=detail&id=%1 [NC,L]
RewriteRule ^gallery/data/(\d+)/((medium|thumbs|mini)/)?([a-z0-9\-_\.]+) photopost_redirect.php?c=$1&s=$3&f=$4 [NC,L]

And that's it
Author
jessy
Views
356
Extention type
zip
File size
861 bytes
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Please  Send Message to NP Team with Ticket, You will get it very quickly!
Support Developer If you are satisfied with your test or project have earn money successfully, Maybe you can click more information button to support with buying.

More resources from jessy

J
[OzzModz] Wiki Threads 2.0.1 Patch Level 2
users to mark a thread as a "WikiPost" giving the ability to edit the original post