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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

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

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 15th, 2007, 08:01 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 25
Arrow Icons and rel="nofollow" tag

Since it's impossible to remove the arrow icons on the index page, I was hoping to develop an easy solution. (At least I hope so)
I'm working on making my version of reviewpost so search engine friendly as possible.
It's not an easy task, but if you use robots.txt you will come a long way.

Regardless I have one important task left, before I have gotten rid of all duplicate url's
/showproduct.php/product/301 these url can't be ruled out using robots.txt
note that I want all my product urls to include the category details, so that the url will look like this /showproduct.php/product/301/cat/21

Since the url's is not closed we can't use a 301 redirect with .htaccess, so the only solution I can find is to prevent these urls being indexed by the search engines.

On my site these urls are getting indexed by the arrow icons on the index page, since they are direct links from my main page, they are getting a lot of link strength my correct url's should have.
So as a last effort to suceed in my project I want to add rel="nofollow" behind the arrow icon urls.

Please tell me that there is an easy fix to make this happen
princet is offline   Reply With Quote
Old June 15th, 2007, 08:16 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
You can try adding your no follow html to the urls in pp-inc.php

Feel free to open a modification discussion in the mod corner if you want to discuss code modification.
__________________
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 June 15th, 2007, 09:14 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 25
<a href=\"{$Globals['maindir']}/showproduct.php/product/$lastphoid\"><img border=\"0\" src=\"{$Globals['idir']}/nonewposts.gif\" alt=\"{$Globals['pp_lang']['vlastposted']}\" /></a>

This is the code that need editing.
This is the one most plausible <a href=\"{$Globals['maindir']}/showproduct.php/product/$lastphoid\" rel="nofollow">
but it just causes a parse error.

Do you have any suggestion as to where to put in the nofollow code without causing errors in the script?
princet is offline   Reply With Quote
Old June 15th, 2007, 09:22 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
You need to escape quotes like so

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 June 15th, 2007, 09:37 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 25
That worked - and it's a great fix.
Thank you so much!
princet is offline   Reply With Quote
Old June 15th, 2007, 02:45 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Quote:
Originally Posted by princet View Post
Since it's impossible to remove the arrow icons on the index page, I was hoping to develop an easy solution. (At least I hope so)
I'm working on making my version of reviewpost so search engine friendly as possible.
It's not an easy task, but if you use robots.txt you will come a long way.

Regardless I have one important task left, before I have gotten rid of all duplicate url's
/showproduct.php/product/301 these url can't be ruled out using robots.txt
note that I want all my product urls to include the category details, so that the url will look like this /showproduct.php/product/301/cat/21

Since the url's is not closed we can't use a 301 redirect with .htaccess, so the only solution I can find is to prevent these urls being indexed by the search engines.

On my site these urls are getting indexed by the arrow icons on the index page, since they are direct links from my main page, they are getting a lot of link strength my correct url's should have.
So as a last effort to suceed in my project I want to add rel="nofollow" behind the arrow icon urls.

Please tell me that there is an easy fix to make this happen
Speaking of the search-engine friendliness- I actually got vBSEO to work on my reviewpost installation after just 2 new lines of code in pp-inc.php and a single .htaccess change. Instead of a URL like /showcat.php?c=1, I have /category-SMC-Pentax-Lenses.html. Works like a charm!
MoMan2 is offline   Reply With Quote
Old June 15th, 2007, 04:48 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 25
Damn, that would really make an impact on my site.
I will try the vBSEO fix, I'm thinking of adding a forum anyways.
But first I'm off to a one week vacation in Spain.
princet is offline   Reply With Quote
Old July 1st, 2007, 11:45 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Location: St. Louis, MO
Posts: 13
Send a message via ICQ to DrSKiZZ
Quote:
Originally Posted by MoMan2 View Post
Speaking of the search-engine friendliness- I actually got vBSEO to work on my reviewpost installation after just 2 new lines of code in pp-inc.php and a single .htaccess change. Instead of a URL like /showcat.php?c=1, I have /category-SMC-Pentax-Lenses.html. Works like a charm!
Do you happen to have a link to those edits and .htaccess? Do you have a link to your forum?I am considering switching to vB from IPB if this works well.

Thanks
DrSKiZZ 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
New "Verified Customer" Tag Issue Blown Beauty General Discussion 3 March 6th, 2006 09:06 AM
Enclose "Images in category" and "display options" in a conditional tag? rbl How Do I? - vBulletin 3.0.X 2 January 15th, 2005 11:50 AM


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

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