Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – Customize URL slugs to be more site applicable
- This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago by Peter.
-
AuthorPosts
-
December 15, 2015 at 12:43 pm #13183spatterdMember
Hi, is it possible to customize the links/url slugs for the various items in Photo Seller? For example, the term “photogallery” isn’t really all that applicable to a fine art website. I’d rather it say “fineart” or something to that effect. Much the same with “photo_details” and some of the other descriptive names.
I did go in and change all the references to “photogallery” in each php file and edit the MySQL database post_name entry to reflect this change and it worked okay (albeit very tedious). I’m trying to tackle “photo_details” now but as it is also a variable used throughout the entire plugin it’s a bit more daunting of a change. IF there is an easier way of doing this I would really appreciate it!
Thanks for the help.
December 15, 2015 at 11:02 pm #72103PeterMemberI did go in and change all the references to “photogallery” in each php file and edit the MySQL database post_name entry to reflect this change
No I do not recommend that you do that.
Why don’t you change the slug by editing the page in question in wordpress page editor?
December 17, 2015 at 9:07 pm #72104spatterdMemberOkay, when I go to the “photo_details” page and edit the permalink from:
[http://www.tiffanyliketheglass.com/photo_details/]
to
[http://www.tiffanyliketheglass.com/artwork/]
I get an “Oops! That page can’t be found” error whenever I click on any gallery thumbnail. However, as soon as I change it back to “photo_details” it works again.
What do you suggest?
December 17, 2015 at 11:20 pm #72105PeterMemberHi,
The photo details page is one of a few exceptions which you should not change. (I should’ve mentioned but forgot.)
This is because that page is a common page for displaying all photos.
You won’t really need to change the photo details page slug because you will never visit that page directly without clicking on a thumbnail. Once a thumbnail is clicked, the plugin will add an SEO-friendly slug on the end using available information from the photo.
here’s an example
ps: You can change any of the slugs for galleries, albums etc but pages you should not tamper with are the IPN, store, cart, checkout, photo_details.
-
AuthorPosts
- You must be logged in to reply to this topic.