PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 15th, 2005, 01:44 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 95
Short Urls

Is there a short form of url to a users galleries - some have been asking for this - also to their private albums etc

thanks
anthroa is offline   Reply With Quote
Old November 16th, 2005, 09:54 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: techarena.in
Posts: 426
spider-friendly version ?
already there
SaN-DeeP is offline   Reply With Quote
Old November 16th, 2005, 05:33 PM   #3 (permalink)
Member
Verified Customer
 
Crow's Avatar
 
Join Date: Dec 2003
Location: Michigan. USA
Posts: 200
Quote:
Originally Posted by anthroa
Is there a short form of url to a users galleries - some have been asking for this - also to their private albums etc

thanks
I'm not sure how much shorter you can get then this?
http://www.nitro-powered.com/gallery/member.php?uid=1

"1" being the members gallery.
Crow is offline   Reply With Quote
Old November 16th, 2005, 07:02 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 164
Well if you have mod_rewrite enabled on your server you could put something like this in your .htaccess file.

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^([0-9]*)$ /photopost/member.php?uid=$1 [L,NC]

Then your url to your members albums would be http://yoursite.com/1

Last edited by Garrynz; November 16th, 2005 at 07:09 PM.
Garrynz is offline   Reply With Quote
Old November 17th, 2005, 01:35 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 95
i agree the link to the profile is shortish but not the link to a users galleries

http://www.mydomain.com/galleries/sh...t/500/ppuser/7

they have been asking me for a quick short link to the member galleries

Garrynz - will that be a short link to the member galleries or profile and would it work if i have the spider friendly version already invoked ?
anthroa is offline   Reply With Quote
Old November 17th, 2005, 06:54 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 164
The above shouldn't be used as I just realised that http://www.mydomain.com will get redirected to http://www.mydomain.com/photos/members.php

yes it will work for search engine friendly urls, this will be for members photos.

RewriteRule ^([0-9]*).php$ showgallery.php?cat=500&ppuser=$1 [L,NC]

put the .htaccess file in your galleries folder and your members albums will be http://www.mydomain.com/galleries/1.php ... 2.php etc you could put it in root folder and have the urls as http://www.mydomain.com/1.php but then if you ever make a file at root called somenumber.php it will get redirected to members.
Garrynz is offline   Reply With Quote
Old November 17th, 2005, 10:15 AM   #7 (permalink)
Member
Verified Customer
 
Crow's Avatar
 
Join Date: Dec 2003
Location: Michigan. USA
Posts: 200
Quote:
Originally Posted by anthroa
i agree the link to the profile is shortish but not the link to a users galleries
Sorry I must of read it wrong..

Code:
Content visible to verified customers only.
Doesn't work for me I get a page can not be found error. and my webhost says mod_rewrite is on.

Last edited by Crow; November 17th, 2005 at 10:53 AM.
Crow is offline   Reply With Quote
Old November 17th, 2005, 01:07 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 164
yeah it does http://www.nitro-powered.com/gallery/1.php
Garrynz is offline   Reply With Quote
Old November 17th, 2005, 05:55 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 95
excellent i'll give that a whirl
anthroa is offline   Reply With Quote
Old November 17th, 2005, 06:08 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 95
nope - didn't work for me either
anthroa is offline   Reply With Quote
Old November 17th, 2005, 07:31 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 164
You may not have mod_rewrite module installed, ask your webhost.
Garrynz is offline   Reply With Quote
Old November 17th, 2005, 10:13 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 95
my fault it was a typo - works like a charm - cheers
anthroa is offline   Reply With Quote
Old November 18th, 2005, 02:19 AM   #13 (permalink)
Member
Verified Customer
 
Crow's Avatar
 
Join Date: Dec 2003
Location: Michigan. USA
Posts: 200
Quote:
Originally Posted by Garrynz
LMFAO, It must of need some time for my server to understand it or something.. Cause it wasn't working, but now it is.. Thanks for this!
Crow is offline   Reply With Quote
Old November 18th, 2005, 03:06 AM   #14 (permalink)
Member
Verified Customer
 
Crow's Avatar
 
Join Date: Dec 2003
Location: Michigan. USA
Posts: 200
This code works for Reviewpost.

Code:
Content visible to verified customers only.
http://www.nitro-powered.com/reviews/1.php
Crow is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
nice urls StuartDH vBGallery Suggestions 22 September 19th, 2007 05:36 AM
Short url... jgraham Photopost Pro How Do I...? 2 June 15th, 2005 04:00 PM
Short Question mr.gamesbay Before You Buy 7 February 5th, 2005 12:35 PM
Urls rstan Photopost Pro Installation & Upgrades 4 December 21st, 2004 09:20 PM
Short URL possible? iphoto Before You Buy 2 November 11th, 2004 11:25 PM


All times are GMT -5. The time now is 11:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0