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 November 6th, 2010, 12:54 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 123
URL Question for SEO

I have my galleries named like the following:

Digital | Layouts

The seo is renaming them to:

g2-digital7c-layouts

My question is...I don't want the 7c in the url, I know it's converting the | character....is there a way to have it just strip out that character instead? So it looks like:

g2-digital-layouts

Thanx in advance
__________________
Digiscrap Forum Layout Gallery - PhotoPost PHP Pro v8.03
Digiscrap Forum Product Gallery - PhotoPost PHP Pro v8.03
HunnyBee Design Gallery - PhotoPost PHP Pro v8.03
LissaE is offline   Reply With Quote
Old November 6th, 2010, 08:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Possibly try making the lines in the pp-inc.php file for the ppsafeurl function this

Code:
Content visible to verified customers only.
__________________
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 November 6th, 2010, 09:44 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
Hey Chuck, this actually works quite well for me as I have a lot of ()[] in titles.

However, any reason if i were to add & to that list, that it wouldnt rewrite the url with a '-' or '_' between the other words?

i.e. : mr. & mrs. smith
without the change to the str1/str2 rewrites to:-mr26-mrssmith.html

with it, in the str1/str2 it gets rewritten to -mrmrssmith.html

Is there a reason it doesnt add a _ or a - for periods and the ampersands?
xtremetoonz is offline   Reply With Quote
Old November 6th, 2010, 09:50 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
actually i see why it does that now, but not sure i have the means to correct it lol.
xtremetoonz is offline   Reply With Quote
Old November 6th, 2010, 10:07 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
it only allows alpha numeric characters in the title

The change to the lines I posted above should remove | and I can add & to that
__________________
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 November 6th, 2010, 10:45 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
Ya, i added &, but it doesnt space properly after that. where there is an 'and' it should technically hyphenate, or underscore replace. no biggie i suppose.
xtremetoonz is offline   Reply With Quote
Old November 6th, 2010, 11:25 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Right but you probally did not do the replace right for what you want. Try this it might be more to your liking.

Code:
Content visible to verified customers only.
__________________
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 November 6th, 2010, 11:30 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
hey chuck, that's what i tried and ended up with:

-mramp-3b-mrs-smith.html

from this:

-mr26amp-3b-mrs-smith.html

just to add, the original title is Mr. & Mrs. Smith

So i'd expect the periods would be removed and I'd be left with

-Mr-Mrs-Smith.html

---------

For SEO, we should really be dropping "an, the, and, a" and whatever articles search engines dont want to see.

Last edited by xtremetoonz; November 6th, 2010 at 12:03 PM.
xtremetoonz is offline   Reply With Quote
Old November 6th, 2010, 02:00 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 123
Thanx for that Chuck, it took the 7c out of the url, but now there is no - between the words:

g2-digitallayouts

Is there something else I need to do to still have the dash in there?

I tried changing the code like you posted to xtremetoonz

Quote:
$str1 = array('Ä', 'ä', 'Ü', 'ü', 'Ö', 'ö', 'ß', '(', ')', '[', ']', '|');
$str2 = array('Ae', 'ae', 'Ue', 'ue', 'Oe', 'oe', 'ss', '', '', '', '', '-');
but nothing....maybe I am doing it wrong LOL

**edit, nm I tried putting a space either side of the | in the first string and it seems to have done the trick lol

Last edited by LissaE; November 6th, 2010 at 06:08 PM.
LissaE is offline   Reply With Quote
Old November 6th, 2010, 07:08 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Interesting its probally doing the proper thing to begin with probally later on the space hyphen space is being stripped as a non alpha numeric character.
__________________
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 November 6th, 2010, 08:36 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 123
Yeah....I didn't even think it was going to work LOL just tried it on a whim
LissaE is offline   Reply With Quote
Old November 6th, 2010, 09:53 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
yeah quite strange you have to include the spaces but whatever works.
__________________
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 November 7th, 2010, 06:36 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: orlando
Posts: 186
Chuck is this something you can include on a "todo" list for future releases? I'd like to see any special characters stripped, or at least the ability to manage this from the admincp and add extras if needed? Thanks for trying
xtremetoonz is offline   Reply With Quote
Old November 7th, 2010, 08:37 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
well thats already on the todo list as we need to expand upon it for different languages etc etc

I have patched Michael's original function quite abit since 7.0 was released so we are looking at an expanded function.
__________________
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
Change SEO URL format? DefenceTalk.com Photopost Pro How Do I...? 2 September 20th, 2010 01:47 PM
SEO URL Rule - All Ads shri Classifieds How do I...? 13 July 20th, 2010 09:49 AM
Seo url and special chars Simka Classifieds How do I...? 26 July 1st, 2010 01:48 PM
SEO URL clean up... DefenceTalk.com Photopost Pro How Do I...? 9 February 10th, 2010 06:10 PM


All times are GMT -5. The time now is 06:37 AM.

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