The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin 5 Request - Mod Rewrite for remove "fb_comment_id" from url
Hello all,
I have try to add facebook comment to thread and it work well but just one thing not work when we have go to that link from facebook notification because facebook has add some path into url which facebook comment ID (fb_comment_id=xxxxx_xxxxx) after going to any thread from facebook notification we the comment in fb-comment box will not appear caused the url is not same path on my ideal now try to rewrite the url from .htaccess for remove "fb_comment_id" but I have try so many rule it redirect to www.domain.com/forum/index.php not the url of thread of I want So it possible for do that with rewrite like www.domain.com/forums/754?fb_comment_id=123456_654321 to www.domain.com/forums/754 ? Thank you for help |
#2
|
|||
|
|||
<a href="http://www.yurtopic.com/tech/programming/remove-fb-action-id.html" target="_blank">http://www.yurtopic.com/tech/program...action-id.html</a> ?
|
Благодарность от: | ||
TheLastSuperman |
#3
|
|||
|
|||
Follow that link it wont's work the url still have ?fb_...._id
for the rule it seem be close to success is... RewriteCond %{QUERY_STRING} (^|&)fb_comment_id= RewriteRule ^(.*)$ $1? [L] but it still have ?fb_...._id Thanks for help and I will still looking ways for it |
#4
|
|||
|
|||
Try this:
PHP Code:
|
#5
|
|||
|
|||
I'm sorry for stupid of typing !
Actually I will meaning ?fb_comments_id as full url by the way from new rule you give me is still same you can try checking what you self with link below original thread >> http://www.zolkorn.com/forums/forum/...mment-redirect after rewrite >> http://www.zolkorn.com/forums/node/7...70966356259614 I have using code to call the current url by PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|