MyBB Community Forums

Full Version: any way to add Seo with imei anti url cache ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey i have SpiceFuse SEO Mbb Seo 1.0 Beta

and i use imei-anti-url-cache- (http://mods.mybboard.net/view/imei-anti-url-cache- )
Anti Url Cache Working great but not with all Links for example

for example
http://www.haifafans.net/fanclub/forumdisplay.php?haifafans=b85d0059&fid=12

But When i click on a Thread
http://www.haifafans.net/fanclub/exclusi...-3281.html
there are no ?haifafans=numberhere

okk i disable SpiceFuse SEO and its working great with all thread and forum

BUT i need to keep Seo Links , also Keep Anti Cache

i need this :

www.haifafans.net/fanclub/FORUM-NAME-F-1.html?haifafans=numberhere

www.haifafans.net/fanclub/Thread-Name-T-1.html?haifafans=numberhere

its possible ?


What i should do ? change the Seo plugin ? or editing .htacess ?
plz help
i edit .htaccess

to :

# As first rewrite rule, Google SEO workaround for search.php highlights:
RewriteRule ^([^&]*)&(.*)$ http://www.haifafans.net/fanclub/$1?$2 [L,QSA,R=301]
# //seo_mod_start
RewriteEngine On
# Uncomment the following and add your forum path if rewrites arent working properly
#RewriteBase /mybb/
RewriteRule ^index.html$ index.php [L,NE]
RewriteRule ^(.*)-t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
RewriteRule ^(.*)-t-([0-9]+)-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-u-([0-9]+).html$ member.php?action=profile&uid=$2 [QSA,L]
RewriteRule ^members/(.*)-([0-9]+).html$ member.php?action=profile&uid=$2 [QSA,L]
RewriteRule ^(.*)/(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+)-([a-z]+)(-|-[a-z]+)-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&sortby=$3&order=$4&datecut=$5&page=$6$7 [L]
RewriteRule ^(.*)-a-([0-9]+).html$ announcements.php?aid=$2 [L]
# //seo_mod_end

Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
	# Turn off mod_security filtering.
	SecFilterEngine Off

	# The below probably isn't needed, but better safe than sorry.
	SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
	RewriteEngine on
	RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
	RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

	RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
	RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
	RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
	RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
	RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
	RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
	RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

	RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

	RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

	RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

	RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
	RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

	RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

	<IfModule mod_env.c>
		SetEnv SEO_SUPPORT 1
	</IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule>

and now i have
> http://www.haifafans.net/fanclub/forum-9...s=2e88cf27&
i want it >
haifafans.net/fanclub/FORUM-NAME-F-9.html?haifafans=2e88cf27&

> www.haifafans.net/fanclub/thread-2349.html
i want it >
haifafans.net/fanclub/thread-title-T-2349.html?haifafans=2e88cf27&

plzzzzzzzzzzz

btw annoucement thread working GREAT ! with ?haifafans=numberhere
but still need request to change it to > Thread-Title-T-1.html

http://www.haifafans.net/fanclub/thread-...s=7df91f3c&
imei anti url cache automatically disable itself when it detects a search engine is browsing site Smile
have fun with thatSmile
aha but i wanna activate it with search engine . cz i always have cache in forums and topics Confused !

also i need this links
haifafans.net/fanclub/Thread-Name-T-1.html?haifafans=numberhere
haifafans.net/fanclub/Forum-Name-F-1.html?haifafans=numberhere
Aha i just found what you meant but I'm sorry i can't find other plugin .But i know that it's is not a problem in my plugin but it's just because both plugins are hooked to same hook (page out put) and one of them have a higher priority.