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 8th, 2010, 01:03 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 104
Can't get SEO to work

I'm using IIS with Helicon ISAPI_Rewrite. So I don't use .htaccess files. I use the code below, but when I put SEO on in the admin options, I get pages not found. Anybody have any idea?

RewriteRule ^(.*)/p([0-9]+)-(.*)-cpage([0-9+]).html$ showphoto.php?photo=$2&cpage=$4 [L]
RewriteRule ^(.*)/p([0-9]+)-(.*).html$ showphoto.php?photo=$2 [L]
RewriteRule ^(.*)/p([0-9]+).html$ showphoto.php?photo=$2 [L]
RewriteRule ^g([0-9]+)-(.*)-page([0-9]+).html$ showgallery.php?cat=$1&page=$3 [L]
RewriteRule ^g([0-9]+)-(.*).html$ showgallery.php?cat=$1 [L]
RewriteRule ^(.*)/index([0-9]+)-([0-9]+).html$ index.php?cat=$2&page=$3 [L]
RewriteRule ^(.*)/index([0-9]+).html$ index.php?cat=$2 [L]
RewriteRule ^m([0-9]+)-(.*)-protype([0-9]+).html$ member.php?uid=$1&protype=$3 [L]
RewriteRule ^m([0-9]+)-(.*).html$ member.php?uid=$1 [L]
RewriteRule ^board.html$ board.php [L]
RewriteRule ^b([0-9]+)-(.*).html$ board.php?msg=$1 [L]
RewriteRule ^u([0-9]+)-(.*)-page([0-9]+).html$ showgallery.php?ppuser=$1&page=$3 [L]
RewriteRule ^u([0-9]+)-(.*).html$ showgallery.php?ppuser=$1 [L]
RewriteRule ^s([0-9]+)-(.*)-page([0-9]+).html$ showmembers.php?cat=$1&page=$3 [L]
RewriteRule ^s([0-9]+)-(.*).html$ showmembers.php?cat=$1 [L]
Jesh is offline   Reply With Quote
Old February 8th, 2010, 01:21 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
well for one that is not the entire contents of the file

RewriteEngine on
Options +FollowSymLinks

#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d


How about adding that?

From what I can tell as long as your isapi manager is working correctly it should work

Here are some web articles

SEO solutions using IIS Mod-Rewrite Pro
Search Engine Friendly URLs using IIS Mod-Rewrite Pro
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 8th, 2010, 01:42 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 104
Quote:
Originally Posted by Chuck S View Post
well for one that is not the entire contents of the file

RewriteEngine on
Options +FollowSymLinks

#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d


How about adding that?

From what I can tell as long as your isapi manager is working correctly it should work

Here are some web articles

SEO solutions using IIS Mod-Rewrite Pro
Search Engine Friendly URLs using IIS Mod-Rewrite Pro
Right, the other stuff is there since I run multiple sites on the server, and the two lines are commented out. Still no worky, I'll take a look at the articles there.
Jesh is offline   Reply With Quote
Old February 8th, 2010, 01:48 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Not sure what you mean by commented out
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 8th, 2010, 02:00 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 104
Quote:
Originally Posted by Chuck S View Post
Not sure what you mean by commented out
These two lines are commented out in the original .htaccess file:

#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
Jesh is offline   Reply With Quote
Old February 8th, 2010, 05:04 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
well thats not a comment
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 8th, 2010, 07:37 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 104
Quote:
Originally Posted by Chuck S View Post
well thats not a comment
A pound sign (#) beginning a line in htaccess = comment.

In the original HTACCESS file you provide, it is commented out.
Jesh is offline   Reply With Quote
Old February 8th, 2010, 09:12 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
yeah IIS is a bit buggy any luck
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 10th, 2010, 10:08 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 104
Quote:
Originally Posted by Chuck S View Post
yeah IIS is a bit buggy any luck
no luck with this yet. anytime I use any of the fields, all my images on the whole forum X out and the links don't work.

Stumped.
Jesh is offline   Reply With Quote
Old February 10th, 2010, 10:24 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2010
Posts: 104
Moved all the rewrites to the beginning of the doc, before all other rewrites, and it works now. Not sure why. Reading more about rewrites.... I know C, C++, PHP and PERL but never messed with these rewrites, looks pretty self explanatory, but not sure where it's getting hosed when everything for the gallery is last in the htaccess/httpd.conf file...
Jesh is offline   Reply With Quote
Old February 10th, 2010, 11:02 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
well if you moved them to the beginning before your vbseo rewrites I guess there was just some conflict where rewriting stopped after reading vbseo's so ours never got done. Just a guess.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 25th, 2010, 02:45 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2006
Posts: 22
I also had this problem with IIS URL Rewrite 2 x64 installed on IIS 7.5.

I had vbseo and wordpress rewrite rules.

Make sure you add the rewrite rules to the /gallery/ section (and not root) from within IIS. You'll find your vbseo and/or wordpress rewrite rules are inherited. Since they won't apply to the /gallery/ subfolder, you can delete them from that section...or you can move them to the top...or make sure "stop processing" is "false" on the earlier rules.

Drove me nuts for about 3 hours today.
chrisstinson is offline   Reply With Quote
Old April 25th, 2010, 05:10 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
IIS rewrites are not the easiest thing to deal with.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
SEO Question Darwin Photopost Pro Installation & Upgrades 8 December 31st, 2009 10:35 AM
Seo nassau ReviewPost Suggestions 3 December 26th, 2007 09:04 AM


All times are GMT -5. The time now is 01:38 PM.

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