vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484)

Bhuwan 04-03-2006 02:05 AM

Quote:

Originally Posted by Frapegliko
hello,

its perfect to merge vRewrite with vBSEO Google/Yahoo Sitemap Generator

its difficult?

its been done ;) :banana:

jdingman 04-03-2006 04:35 AM

how come that when I go to a page like this, http://forums.site.net/member.php?u=41, it doesn't redirect me to the rewritten page? It just stays normal at the u=41 page. The same happens with a thread, when going to t=###, it stays there and doesn't redirect. I thought it was supposed to 301 to the rewritten page automatically?

MamboCube 04-03-2006 08:47 AM

i seem to have a problem, whenever i click on a username to go to their profile, the url gets rewritten like this

u-username-2.html8

(username being a members username)

this is for member 28, but the 8 goes to the end taking me to member 2

i tried to take off the .html at the end but could not find it in the vboptions

anyone had this problem?

if so how do i fix it?

thnx great mod!

xStylezx 04-03-2006 09:31 AM

Quote:

Originally Posted by MamboCube
i seem to have a problem, whenever i click on a username to go to their profile, the url gets rewritten like this

u-username-2.html8

(username being a members username)

this is for member 28, but the 8 goes to the end taking me to member 2

i tried to take off the .html at the end but could not find it in the vboptions

anyone had this problem?

if so how do i fix it?

thnx great mod!


http://www.techhelpforum.com/vrewrite/

For bug reporting.Did you search the thread?I thought possibly i seen someone with a problem similar to yours when i was reading through it earlier

forte 04-03-2006 11:11 AM

I've tried both of the Sitemap generators for vBSEO but they won't seem to work with vRewrite so I was wondering if you guys are going to make one.

Bhuwan 04-03-2006 11:23 AM

Quote:

Originally Posted by MamboCube
i seem to have a problem, whenever i click on a username to go to their profile, the url gets rewritten like this

u-username-2.html8

(username being a members username)

this is for member 28, but the 8 goes to the end taking me to member 2

i tried to take off the .html at the end but could not find it in the vboptions

anyone had this problem?

if so how do i fix it?

thnx great mod!

you've downloaded and used the wrong zip file - the zip file is located on Tyler's website, go back a few posts to see the actual link.

Bhuwan 04-03-2006 11:24 AM

Quote:

Originally Posted by forte
I've tried both of the Sitemap generators for vBSEO but they won't seem to work with vRewrite so I was wondering if you guys are going to make one.

I ported vBSEO sitemap Generator to work with vRewrite, however, out of respect for Juan and his team, I won't release it unless they are okay with it... But it is working...

Bhuwan 04-03-2006 11:26 AM

Quote:

Originally Posted by jdingman
how come that when I go to a page like this, http://forums.site.net/member.php?u=41, it doesn't redirect me to the rewritten page? It just stays normal at the u=41 page. The same happens with a thread, when going to t=###, it stays there and doesn't redirect. I thought it was supposed to 301 to the rewritten page automatically?

They are rewritten automatically -- please provide more details so we can debug.

Here are some likes that are automatically 301'd:
http://www.techhelpforum.com/forumdisplay.php?f=11
http://www.techhelpforum.com/member.php?u=1
http://www.techhelpforum.com/showthread.php?t=10

DementedMindz 04-03-2006 02:04 PM

ok question for vba gallery we add this to headerinclude:

but where do we add it?

Code:

<if condition="THIS_SCRIPT != 'index' AND THIS_SCRIPT != 'gallery_index' AND THIS_SCRIPT != 'gallery_upload' AND THIS_SCRIPT != 'showimage' AND THIS_SCRIPT != 'gallery_search' AND THIS_SCRIPT != 'gallery_newreply' AND THIS_SCRIPT != 'gallery_moderate' AND THIS_SCRIPT != 'gallery_misc'  AND THIS_SCRIPT != 'gallery_managecats' AND THIS_SCRIPT != 'editimage' AND THIS_SCRIPT != 'ecard' AND THIS_SCRIPT != 'displayimages' AND THIS_SCRIPT != 'browseimages'">
<base href="$vboptions[bburl]/" />
</if>


jdingman 04-03-2006 02:29 PM

Quote:

Originally Posted by Bhuwan
They are rewritten automatically -- please provide more details so we can debug.

Here are some likes that are automatically 301'd:
http://www.techhelpforum.com/forumdisplay.php?f=11
http://www.techhelpforum.com/member.php?u=1
http://www.techhelpforum.com/showthread.php?t=10


Yeah, that's how it should work, but it's not for me. I'm on PHP5.1.2 and MySQL4.x on a CentOS system. Not sure what else I can provide to help debug the problem =/

DementedMindz 04-03-2006 02:38 PM

im on basiclly the same setup and mine is working fine... im rewritten alot of things here lol

AWS 04-03-2006 04:17 PM

Quote:

Originally Posted by jj
You mean IIS Server? From M$? Forget it :) There's no .htaccess feature, which is needed by this one...

Yes there is.
http://helicontech.com
You just have to replace ^ with / at the beginning of each rule after you install isapi rewrite.

MamboCube 04-03-2006 04:17 PM

Quote:

Originally Posted by Bhuwan
you've downloaded and used the wrong zip file - the zip file is located on Tyler's website, go back a few posts to see the actual link.

ah right lol, yeh it works great now, thnx for your help xStylezx and Bhuwan

Bhuwan 04-03-2006 04:18 PM

Quote:

Originally Posted by jdingman
Yeah, that's how it should work, but it's not for me. I'm on PHP5.1.2 and MySQL4.x on a CentOS system. Not sure what else I can provide to help debug the problem =/

A couple things
First, PM or post a link to your site
Second, verify the system is ON (not vRewrite, but the 301 redirects!) - AdminCP -> vBulletin Options -> vRewrite.
Third - will say wen we get there.

Bhuwan 04-03-2006 04:19 PM

Quote:

Originally Posted by DementedMindz
ok question for vba gallery we add this to headerinclude:

but where do we add it?

Code:

<if condition="THIS_SCRIPT != 'index' AND THIS_SCRIPT != 'gallery_index' AND THIS_SCRIPT != 'gallery_upload' AND THIS_SCRIPT != 'showimage' AND THIS_SCRIPT != 'gallery_search' AND THIS_SCRIPT != 'gallery_newreply' AND THIS_SCRIPT != 'gallery_moderate' AND THIS_SCRIPT != 'gallery_misc'  AND THIS_SCRIPT != 'gallery_managecats' AND THIS_SCRIPT != 'editimage' AND THIS_SCRIPT != 'ecard' AND THIS_SCRIPT != 'displayimages' AND THIS_SCRIPT != 'browseimages'">
<base href="$vboptions[bburl]/" />
</if>


I added it right after
Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />

Bhuwan 04-03-2006 04:20 PM

Quote:

Originally Posted by AWS
Yes there is.
http://helicontech.com
You just have to replace ^ with / at the beginning of each rule after you install isapi rewrite.

Does 1.5 work based on only these cahnges? if so, then that's grood to know for when 1.5 is released (many people may ask about this!)

Bhuwan 04-03-2006 04:21 PM

Quote:

Originally Posted by MamboCube
ah right lol, yeh it works great now, thnx for your help xStylezx and Bhuwan

no prob

DementedMindz 04-03-2006 04:29 PM

ok i think i got this down i think if you can confirm if this is correct... if so im on a mission lol im going to rewrite alot of stuff....


Code:

<a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard">[ $vbphrase[leader_board] ]</a>
becomes:

Code:

<a href="$vboptions[bburl]/arcade-$session[sessionurl]do-lboard.html">[ $vbphrase[leader_board] ]</a>
and the rewrite rule would be :

Code:

RewriteEngine on
RewriteRule arcade-$session[sessionurl]do-(.*)\.html$ arcade.php?$session[sessionurl]do=$1

is this correct if you know?

Alex_ 04-03-2006 04:46 PM

I am still not able to choose a timespan in a forum.

Threads from the X last days always directs to the standard timespan (of 30 days) no matter what I choose.
This was in 1.x and 1.5 RC1 too...

jdingman 04-03-2006 05:26 PM

Quote:

Originally Posted by Bhuwan
A couple things
First, PM or post a link to your site
Second, verify the system is ON (not vRewrite, but the 301 redirects!) - AdminCP -> vBulletin Options -> vRewrite.
Third - will say wen we get there.

EDIT: It seems be working fine now....not sure what fixed it, thanks.

Immortal 04-03-2006 05:55 PM

Quote:

Originally Posted by DementedMindz
ok i think i got this down i think if you can confirm if this is correct... if so im on a mission lol im going to rewrite alot of stuff....


Code:

<a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard">[ $vbphrase[leader_board] ]</a>
becomes:

Code:

<a href="$vboptions[bburl]/arcade-$session[sessionurl]do-lboard.html">[ $vbphrase[leader_board] ]</a>
and the rewrite rule would be :

Code:

RewriteEngine on
RewriteRule arcade-$session[sessionurl]do-(.*)\.html$ arcade.php?$session[sessionurl]do=$1

is this correct if you know?

Everything is correct, but mod_rewrite doesn't understand vars. So try this:

Code:

RewriteRule ^arcade-(.*)do-(.*).html arcade.php?$1do=$2 [L]

DementedMindz 04-03-2006 06:22 PM

when i do that it brings me to a blank white page :(

jdingman 04-03-2006 07:12 PM

I did have one more thing to ask. When you goto member.php?u=1, it goes members/username-1.html? instead of just members/username-1.html .. any idea why it adds that ? to the end of it?

Bhuwan 04-03-2006 07:15 PM

Quote:

Originally Posted by jdingman
I did have one more thing to ask. When you goto member.php?u=1, it goes members/username-1.html? instead of just members/username-1.html .. any idea why it adds that ? to the end of it?

I am aware of this and have fixed it for RC3 ... :) Thanks

jdingman 04-03-2006 07:16 PM

awesome, thanks!!

Bhuwan 04-03-2006 07:16 PM

Quote:

Originally Posted by Alex_
I am still not able to choose a timespan in a forum.

Threads from the X last days always directs to the standard timespan (of 30 days) no matter what I choose.
This was in 1.x and 1.5 RC1 too...

WorkiNg on it...Please post bugs at http://www.TechHelpForum.com/vrewrite

This was already reported but missed because it was never reported!! :banana:

Immortal 04-03-2006 09:09 PM

Quote:

Originally Posted by DementedMindz
when i do that it brings me to a blank white page :(

Hm, weird. Make sure no entry like that already exists.

DementedMindz 04-03-2006 09:14 PM

nope its just one link thats all lol and its been tricky... i got everything done except that..

Bhuwan 04-03-2006 10:03 PM

Quote:

Originally Posted by Alex_
I am still not able to choose a timespan in a forum.

Threads from the X last days always directs to the standard timespan (of 30 days) no matter what I choose.
This was in 1.x and 1.5 RC1 too...

Officially fixed

Immortal 04-03-2006 10:08 PM

Quote:

Originally Posted by DementedMindz
nope its just one link thats all lol and its been tricky... i got everything done except that..


Hm.. :(

[high]* Immortal prods Bhuwan[/high]

Bhuwan 04-03-2006 10:37 PM

PM sent to DementedMindz

Bhuwan 04-03-2006 10:43 PM

I think you need the following htaccess :
Code:

RewriteRule ^arcade-(.*)do-(.*).html arcade.php?$1&do=$2 [L]
you were mising the &

Immortal 04-03-2006 11:06 PM

Doy!!!

DementedMindz 04-03-2006 11:14 PM

hmmm strange it just brings me back to my home page now... the link ends up like this

http://www.example.com/arcade-do-lboard.html

Bhuwan 04-03-2006 11:16 PM

Quote:

Originally Posted by DementedMindz
hmmm strange it just brings me back to my home page now... the link ends up like this

http://www.example.com/arcade-do-lboard.html

IM ME

you should be redirecting sesssions through ?<session here>
not in the URL.

Let's resolve this VIA PM/IM/something else....
bhuwan

VTXCafe.com 04-04-2006 05:02 AM

Hum, http://www.techhelpforum.com/ is doing the same thing my site was, click a link and get the "page not found" page.

Alex_ 04-04-2006 05:53 AM

Quote:

Originally Posted by Bhuwan
WorkiNg on it...Please post bugs at http://www.TechHelpForum.com/vrewrite

This was already reported but missed because it was never reported!! :banana:

Sorry for that - don't have time now to register there and fill a bug report ;)
Just wanted to add (or remind) that it's not only the daysprune but also sort and order parameter...

Immortal 04-04-2006 08:59 AM

Quote:

Originally Posted by VTXCafe.com
Hum, http://www.techhelpforum.com/ is doing the same thing my site was, click a link and get the "page not found" page.

What browser and browser version?

Bhuwan 04-04-2006 11:09 AM

Quote:

Originally Posted by Alex_
Sorry for that - don't have time now to register there and fill a bug report ;)
Just wanted to add (or remind) that it's not only the daysprune but also sort and order parameter...

coool...I've fixed it already

Bhuwan 04-04-2006 11:10 AM

Quote:

Originally Posted by VTXCafe.com
Hum, http://www.techhelpforum.com/ is doing the same thing my site was, click a link and get the "page not found" page.

more details please!


All times are GMT. The time now is 08:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02872 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete