• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Photopost Pro URL redirection script

Alfa1

Well-known member
#1
Photopost content is shared throughout forums and on other sites. Without redirects many embedded images will stop working and Google will apply dead link penalties to our websites.
My forum contains tens of thousands of embedded photopost pro images.

Please add url redirects for Photopost Pro.

Here are the links as Photopost suggests them in the media entry:
Code:
[url=http://www.domain.com/photopost/showphoto.php?photo=13683&title=x&cat=500][img]http://www.domain.com/photopost/data/500/thumbs/untitled7.JPG[/img]
[img]http://www.domain.com/photopost/data/500/medium/untitled7.JPG[/img][/url]
[img]http://www.domain.com/photopost/data/500/medium/untitled7.JPG[/img]
http://www.domain.com/photopost/showmembers.php?sl=g (for albums starting with g)
http://www.domain.com/photopost/member.php?uid=155699&username=x
http://www.domain.com/photopost/showgallery.php?cat=576
http://www.domain.com/photopost/index.php?cat=640
http://www.domain.com/photopost/showmembers.php
http://www.domain.com/photopost/uploadphoto.php
 

Chris D

XenForo developer
Staff member
#2
It's worth noting that, really, there's no real solution for these types of URLs:

...are probably not going to be redirectable. They reference an actual file in the file system which will no longer exist after the import. The best solution for something like that is an add-on that would scrape through all your posts and converting hard linked images such as that into attachments. Though, arguably, the somewhat simpler solution at the cost of disk space is just to leave the old source files in place after the import has completed.

For the other URLs, which are script based it should be possible with the exception of URLs like this:
. There's no similar concept in XenForo or Media Gallery so it would be a case of simply redirecting back to the media home page or similar.

Everything else is do-able, though.
 

Alfa1

Well-known member
#3
...are probably not going to be redirectable. They reference an actual file in the file system which will no longer exist after the import.
Would it not be possible to create a redirection file in /photopost/data/ directory and route all urls in that directory through that file? Then have the file cross-check the exact filename in the database and fetch the new ID?
btw: all photopost images are in the /500/ dir.

There's no similar concept in XenForo or Media Gallery so it would be a case of simply redirecting back to the media home page or similar.
That would work fine.
 
#6
It's worth noting that, really, there's no real solution for these types of URLs:



...are probably not going to be redirectable. They reference an actual file in the file system which will no longer exist after the import. The best solution for something like that is an add-on that would scrape through all your posts and converting hard linked images such as that into attachments. Though, arguably, the somewhat simpler solution at the cost of disk space is just to leave the old source files in place after the import has completed.

For the other URLs, which are script based it should be possible with the exception of URLs like this:
. There's no similar concept in XenForo or Media Gallery so it would be a case of simply redirecting back to the media home page or similar.

Everything else is do-able, though.
I would appreciate any sort of redirection available. Photopost pro is dead so it makes sense to move at any cost ASAP.
 
#9
Has anyone been able to find or get some redirect scripts yet for Photopost Pro? I understand the direct image locations probably can't be redirected, but my requirement is for the existing php scripts to redirect properly.

I'm in a similar situation and without the redirect scripts I may have to bail on Xenforo :(
 

Alfa1

Well-known member
#15
I rarely release any of my addons as I don't want to spend a lot of time providing support. I do share addons with a few admins though. Just contact me for details.