Does anyone have rewrites for Photopost 7 and vBulletin 4 with vBSEO 3.5?
I searched for this on the forum here, but couldnt find any solid answers...
Thanks,
Jesh
This is a discussion on Does anyone have Photopost rewrites within the General Discussion forums, part of the vBSEO SEO Plugin category; Does anyone have rewrites for Photopost 7 and vBulletin 4 with vBSEO 3.5? I searched for this on the forum ...
Does anyone have rewrites for Photopost 7 and vBulletin 4 with vBSEO 3.5?
I searched for this on the forum here, but couldnt find any solid answers...
Thanks,
Jesh
I don't believe these exist yet.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Chuck supplied these rewrites, but when I use them and turn on 'SEO' in his software it doesn't work, any idea if vBSEO is causing any conflicts? I turned it off for a test and it still didn't work. Figured I'd post here since there are rewrite experts on the board.
Options +FollowSymLinks
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
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]
RewriteEngine On is missing
Make sure thats part of the file.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Yeah that is in there too, still doesn't work :( I'm using ISAPI, my rewrite httpd.conf is looking messy. Not sure what the problem is :(
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.68
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.64
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
RewriteBase /
RewriteCond %{HTTP_HOST} ^music-forum\.com
RewriteRule (.*) http://www.music-forum.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} www\.music-forum\.com
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{HTTP_HOST} www\.music-forum\.com
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{HTTP_HOST} www\.music-forum\.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
# us coin
RewriteCond %{HTTP_HOST} ^uscoininfo\.com
RewriteRule (.*) http://www.uscoininfo.com/$1 [L,R=301]
# redirect coinforums.com
RewriteCond %{HTTP_HOST} ^(www\.)?coinforums\.com
# RewriteCond %{QUERY_STRING} .
RewriteRule (.*) U.S. Coin Info - Coin Collecting Forums [R=301,L]
# Test for vbSEO for USCOININFO.COM
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
# TEST FOR GALLERY
Options +FollowSymLinks
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
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]
anything after vbseo.php call in the last rule simply will never execute.
Try using something like this (note, untested and i don't have anything to test it with).
Note, if you are in a folder above your forum with your photopost install, you'll need to reflect that path, ieCode:# Helicon ISAPI_Rewrite configuration file # Version 3.1.0.68 # Helicon ISAPI_Rewrite configuration file # Version 3.1.0.64 # Comment the following line (add '#' at the beginning) # to disable mod_rewrite functions. # Please note: you still need to disable the hack in # the vBSEO control panel to stop url rewrites. RewriteEngine On Options +FollowSymLinks # Some servers require the Rewritebase directive to be # enabled (remove '#' at the beginning to activate) # Please note: when enabled, you must include the path # to your root vB folder (i.e. RewriteBase /forums/) RewriteBase / RewriteCond %{HTTP_HOST} ^music-forum\.com RewriteRule (.*) http://www.music-forum.com/$1 [L,R=301] RewriteCond %{HTTP_HOST} www\.music-forum\.com RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{HTTP_HOST} www\.music-forum\.com RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] RewriteCond %{HTTP_HOST} www\.music-forum\.com RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php [L,QSA] # us coin RewriteCond %{HTTP_HOST} ^uscoininfo\.com RewriteRule (.*) http://www.uscoininfo.com/$1 [L,R=301] # redirect coinforums.com RewriteCond %{HTTP_HOST} ^(www\.)?coinforums\.com # RewriteCond %{QUERY_STRING} . RewriteRule (.*) U.S. Coin Info - Coin Collecting Forums [R=301,L] # Test for vbSEO for USCOININFO.COM RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] # TEST FOR GALLERY RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d 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] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ vbseo.php [L,QSA]
if you are in site.com => forum
then site.com/gallery
would beCode:RewriteRule ^s([0-9]+)-(.*)-page([0-9]+).html$ showmembers.php?cat=$1&page=$3 [L]
Code:RewriteRule ^gallery/s([0-9]+)-(.*)-page([0-9]+).html$ gallery/showmembers.php?cat=$1&page=$3 [L]
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Tried this using:
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
#RewriteRule ^gallery/(.*)/p([0-9]+)-(.*)-cpage([0-9+]).html$ showphoto.php?photo=$2&cpage=$4 [L]
#RewriteRule ^gallery/(.*)/p([0-9]+)-(.*).html$ gallery/showphoto.php?photo=$2 [L]
#RewriteRule ^gallery/(.*)/p([0-9]+).html$ gallery/showphoto.php?photo=$2 [L]
#RewriteRule ^gallery/g([0-9]+)-(.*)-page([0-9]+).html$ gallery/showgallery.php?cat=$1&page=$3 [L]
#RewriteRule ^gallery/g([0-9]+)-(.*).html$ gallery/showgallery.php?cat=$1 [L]
#RewriteRule ^gallery/(.*)/index([0-9]+)-([0-9]+).html$ gallery/index.php?cat=$2&page=$3 [L]
#RewriteRule ^gallery/(.*)/index([0-9]+).html$ gallery/index.php?cat=$2 [L]
#RewriteRule ^gallery/m([0-9]+)-(.*)-protype([0-9]+).html$ gallery/member.php?uid=$1&protype=$3 [L]
#RewriteRule ^gallery/m([0-9]+)-(.*).html$ gallery/member.php?uid=$1 [L]
#RewriteRule ^gallery/board.html$ gallery/board.php [L]
#RewriteRule ^gallery/b([0-9]+)-(.*).html$ gallery/board.php?msg=$1 [L]
#RewriteRule ^gallery/u([0-9]+)-(.*)-page([0-9]+).html$ gallery/showgallery.php?ppuser=$1&page=$3 [L]
#RewriteRule ^gallery/u([0-9]+)-(.*).html$ gallery/showgallery.php?ppuser=$1 [L]
#RewriteRule ^gallery/s([0-9]+)-(.*)-page([0-9]+).html$ gallery/showmembers.php?cat=$1&page=$3 [L]
#RewriteRule ^gallery/s([0-9]+)-(.*).html$ gallery/showmembers.php?cat=$1 [L]
obviously not commented, and it blew up the forums. did I do the gallery/ correct? That is where I have photopost installed.
Messed around with some more and nothing, got rid of all the gallery/ stuff. My Photopost forum is in uscoininfo.com/gallery and forums are at root (uscoininfo.com). Anytime I enable this all my images are X'd out, and sometimes an image will show, but if you refresh it will X again... ?
Ok I figured out what the problem is, but I don't know WHY it fixed it. I moved all of the above rewrites to BEFORE all other rewrites and it works ok? If anyone has time to explain that'd be great.
Jesh
This would be correct,
The vBSEO rewrite states,
Rewrite (*.) Anything => vbseo.php [L] If matches this rule don't do any others.
Placing it above also with the [L] tag means they get processed but with the vBSEO rewrite before it will be ignored because the rules already matches (*.)
Hope that helped.
Thanks so much for this thread. I had exactly the same problem but couldn't figure out what the problem was. It works fine now after adding that directory name.
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 these rewrite rules?
for example:
from: http://saabworld.net/gallery/album-name/picture-title.html
to: http://saabworld.net/gallery/album-name/picture-title/
Hello Frank,
Photopost has its own rewrite engine, and the above rules are not related to vBSEO at all. You may need to perform hackings to Photopost source code to achieve this.
For sure you'll receive better assistance on this if you head over to Photopost.com
Andrés Durán / Crawlability Inc.
ˇvBSEO 3.6.0 GOLD Liberado!
Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!
Síguenos en: Facebook | Síguenos en: Twitter
Thanks Andres, it appears those .html extensions are hard-coded some where in the PP code. Not sure if I want to spend the time to figure all of that out.
I wish I could convert those rules to use in vBSEO CRR. I have other rules for another add-on in there as well and that works great.
You're better off using the built-in system. The url inconsistancies in these products makes using crr's borderline useless.
ie, order of params are all different, so
script/$1/$2/
sometimes matches
script.php?id=1&name=2
and sometimes
script.php?name=1&id=2
because urls were not kept consistent throughout and you end up with invalid pages.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!