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 Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 2nd, 2012, 11:03 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2010
Location: NW Michigan (USA)
Posts: 117
SEO - use / instead of .html at end of URL

I would like to use / instead of .html at the end of each URL so it is inline with the rest of my site. What changes are needed to the rewrite rules to accomplish this?

for example:

from: http://saabworld.net/gallery/album-name/picture-title.html
to: http://saabworld.net/gallery/album-name/picture-title/

I tried to replace .html with / in the first part of each rule but that doesn't seem to work.

Code:
Content visible to verified customers only.
Wulf is offline   Reply With Quote
Old February 3rd, 2012, 06:40 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,674
There really is no code edit support so I can not really tell you how to hack the code here. I can say though maybe check out pp-inc.php the construct_newppurl function as that is what defines the urls.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 3rd, 2012, 09:27 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2010
Location: NW Michigan (USA)
Posts: 117
Thanks, I'll take a look.

I noticed it cuts of some of the title in the URL when the album names and titles are above a certain length. Is there a specific reason for those and can that max length be changed somewhere?

http://saabworld.net/gallery/road-tr...ifornia-a.html

Last edited by Wulf; February 3rd, 2012 at 09:40 AM.
Wulf is offline   Reply With Quote
Old February 3rd, 2012, 10:48 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,674
You can check anything about the urls how they are done in that function as far as title length those are limited specifically by the script your viewing.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 3rd, 2012, 02:01 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2010
Location: NW Michigan (USA)
Posts: 117
I figured out how to make it work replacing .html with / . I replaced all .html entries in that pp-inc.php file and adjusted the .htaccess with the same.

That worked for the main Gallery pages but the plugin on the forumhome page was still showing .html. So I generated a new product-pppro.xml file, changed the same .html to / in there and now it all seems happy.

I still haven't found the max length of the URL.
Wulf is offline   Reply With Quote
Old February 3rd, 2012, 02:05 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,674
Like I said specific various scripts limit the title field so alot of the files there is code to limit the title.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
Gallery SEO URL Issues prak2010 General Discussion 3 October 18th, 2011 10:39 AM
URL Question for SEO LissaE Photopost Pro How Do I...? 13 November 7th, 2010 08:37 AM
Change SEO URL format? DefenceTalk.com Photopost Pro How Do I...? 2 September 20th, 2010 01:47 PM
SEO URL clean up... DefenceTalk.com Photopost Pro How Do I...? 9 February 10th, 2010 06:10 PM
source html output does not show begining or end of templates somerfeld ReviewPost Suggestions 0 September 6th, 2004 05:31 AM


All times are GMT -5. The time now is 02:23 PM.

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