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)

girish.r 05-16-2006 05:08 PM

any browser

Bhuwan 05-16-2006 06:26 PM

Quote:

Originally Posted by girish.r
any browser

I've tried Firefox, nutrscape, Opera & IE and I cannot reproduce this...

Bhuwan 05-17-2006 12:58 AM

No one else is having problems? I find that difficultto believe!! :)

HuangA 05-17-2006 02:21 AM

I think girish.r's problem is with another hack that's in place (notice the total numbers online today says 0 even though you registered?) Perhaps the rewrite main script is doing something which removed the counter thing for the other hack (I don't see total number of users online on my forums nor do I see it as an option).

Btw, thanks for the fix for the htaccess, it works great.

jdingman 05-17-2006 04:48 AM

Quote:

Originally Posted by Bhuwan
No one else is having problems? I find that difficultto believe!! :)

Did you have a fix for that 'visitors who were here in the past 24 hours' plugin? There's still a problem with it (how it rewrites)....

sickboy6ths 05-17-2006 06:47 AM

Im pretty happy witht he product, yummy yummy :) Really great job!

Just a question... .. I am running VBAdvanced and VBGallery... How can I rewrite URLS in those? It seems no urls are rewritten there :)

masterross 05-17-2006 08:02 AM

any idea why this hack not works for me?
i follow:
1) Import product-vrewrite.xml as a product using the plugin system.
2) Upload the .htaccess file to your vB's directory.
3) In forumdisplay, showthread, standard_error find:
$headinclude
Add before that:
<base href="$vboptions[bburl]/" />

but no enjoy at the end :)

maybe need to be activated somehow???

but for example i used before vBSEO and it works only loads are HUGE!

Immortal 05-17-2006 08:56 AM

vBulletin Options -> vRewrite make sure it's selected to be on.

jokerz 05-17-2006 09:35 AM

In showthreads area, my member has a problem created new thread and it is not showing, just "No Thread specified. If you followed a valid link, please notify the administrator" after clicked thread. (1 problem since upgraded to 1.5.1)

Bhuwan 05-17-2006 10:15 AM

Quote:

Originally Posted by HuangA
I think girish.r's problem is with another hack that's in place (notice the total numbers online today says 0 even though you registered?) Perhaps the rewrite main script is doing something which removed the counter thing for the other hack (I don't see total number of users online on my forums nor do I see it as an option).

Btw, thanks for the fix for the htaccess, it works great.

Are you talking about "TOtal number of visitors today" ?

Bhuwan 05-17-2006 10:16 AM

Quote:

Originally Posted by jdingman
Did you have a fix for that 'visitors who were here in the past 24 hours' plugin? There's still a problem with it (how it rewrites)....

I could but give me sometime. In the meantime, you could disable member rewriting as a "quick fix"

Bhuwan 05-17-2006 10:17 AM

Quote:

Originally Posted by sickboy6ths
Im pretty happy witht he product, yummy yummy :) Really great job!

Just a question... .. I am running VBAdvanced and VBGallery... How can I rewrite URLS in those? It seems no urls are rewritten there :)

hehe vBadvanced has proven a tad bit more difficult that I thought. However, I will add funtionality, but in the meantime, you couild use the EXLCUDE script to stop vBA pages from being rewritten incorrectly.

Bhuwan 05-17-2006 10:18 AM

Quote:

Originally Posted by jokerz
In showthreads area, my member has a problem created new thread and it is not showing, just "No Thread specified. If you followed a valid link, please notify the administrator" after clicked thread. (1 problem since upgraded to 1.5.1)

Can you give me the thread link?

masterross 05-17-2006 10:47 AM

Quote:

Originally Posted by Immortal
vBulletin Options -> vRewrite make sure it's selected to be on.

thanks
already found
but again HUGE loads !!! :((((

i think this hack is not applicable to big forums :((

BR,
Ross

Bhuwan 05-17-2006 11:12 AM

Quote:

Originally Posted by masterross
thanks
already found
but again HUGE loads !!! :((((

i think this hack is not applicable to big forums :((

BR,
Ross

Firstly, from my experience, when you first initialize this script, there is an impact on the site whilst the old URL's are being rewritten to the new ones.

If your rewriting every single URL on your site (showpost, printthread, showthread, member.php, etc.), then there certainly will be a load increase.

Since bots don't have access to online.php on your site, there is no need to rewrite the URL's located there (add online.php to the exclude script).

If you want the load to minimal, you could disable some or all 301 redirects.

You shoudln't just enable a script and hope for the best. You must play around with the settings until you are sure you are happy.

I'll leave this post on one note -- i've verified all SQL queries ON A LARGE forum to make sure they are 100% optimized.

Bhuwan 05-17-2006 11:15 AM

Quote:

Originally Posted by masterross
thanks
already found
but again HUGE loads !!! :((((

i think this hack is not applicable to big forums :((

BR,
Ross

Whata re your loads currently? What are they after?

masterross 05-17-2006 12:28 PM

hi,

load average: 2.45, 1.92, 1.65

and with SEO load is over 40 !!!

funinthesun 05-17-2006 12:32 PM

Quote:

Originally Posted by Bhuwan
What version of MYSQL do you have?

I'm running on MySQL 3.2.3.

Bhuwan 05-17-2006 12:33 PM

Quote:

Originally Posted by funinthesun
I'm running on MySQL 3.2.3.

pls pm me

Bhuwan 05-17-2006 12:34 PM

Quote:

Originally Posted by masterross
hi,

load average: 2.45, 1.92, 1.65

and with SEO load is over 40 !!!

Can you try do disable writing of everything except for showthread.php? In fact, disable 301 also.
Add me to AIM: cbhuwan

masterross 05-17-2006 12:38 PM

hmm
i've disabled some options like member.php and now seems to works ok
will get in touch for any bugs

BR,
Ross

Bhuwan 05-17-2006 12:41 PM

Quote:

Originally Posted by masterross
hmm
i've disabled some options like member.php and now seems to works ok
will get in touch for any bugs

BR,
Ross

Can you tell me exactly what you've done?
IN fact, take a screen shot of your vRewrite admincp --
I will take a look at the code to see whether there is a CODE issue or not.

Please do this as it will help others as well.

Bhuwan 05-17-2006 12:43 PM

Quote:

Originally Posted by SimonVlc
Hi all,

I?ve just installed this and found an error. When I make a search using the "search this thread" feature, the link that links to the individual post it badformed.

The link to the complete thread is fine:

Code:

../t-cual-es-la-mejor-de-estas-salas-1256.html/?highlight=poker
But this is the link that links to the post:

Code:

../t-cual-es-la-mejor-de-estas-salas-1256-post12032.html/?poker#post12032
I think the problem is in the underlined part. Removing it the link works fine. Any idea?

Thanks in advance, Simon.

Sorry forgot to post the fix :)
Code:

RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post([0-9]+).html showthread.php?p=$4&%{QUERY_STRING} [L]
add this to htaccess

Bhuwan 05-17-2006 12:46 PM

Quote:

Originally Posted by Bhuwan
Sorry forgot to post the fix :)
Code:

RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post([0-9]+).html showthread.php?p=$4&%{QUERY_STRING} [L]
add this to htaccess

hehe ;) i found a bug related to this/..
Highlight isn't passed through on posts

masterross 05-17-2006 12:55 PM

bug found:
when i click on some thread
it opens but when i click in next page :
No Thread specified. If you followed a valid link, please notify the administrator

Bhuwan 05-17-2006 01:01 PM

Quote:

Originally Posted by masterross
bug found:
when i click on some thread
it opens but when i click in next page :
No Thread specified. If you followed a valid link, please notify the administrator

htaccess problem
1) post your method of rewriting thread pages
(its either -page-id.html OR /page.html -see verwrite admincp options)
2) then post your htaccess file

masterross 05-17-2006 01:10 PM

Quote:

Originally Posted by Bhuwan
Can you tell me exactly what you've done?
IN fact, take a screen shot of your vRewrite admincp --
I will take a look at the code to see whether there is a CODE issue or not.

Please do this as it will help others as well.

i've disabled:
301 Redirects: member
301 Redirects: showpost
Rewrite searches?
Rewrite Member.php?
Rewrite Showpost.php?


i've fixed prob with pages
it was -page-id.html instead of /page.html

for now all seems to work ok

BR

Bhuwan 05-17-2006 01:12 PM

Quote:

Originally Posted by masterross
i've disabled:
301 Redirects: member
301 Redirects: showpost
Rewrite searches?
Rewrite Member.php?
Rewrite Showpost.php?


i've fixed prob with pages
it was -page-id.html instead of /page.html

for now all seems to work ok

BR

excellent.

masterross 05-17-2006 01:44 PM

now i fully disable "Enable 301 Redirects"
and loads are back to normal :)

actually what exactly 301 Redirects does?

thx
Ross

Bhuwan 05-17-2006 01:49 PM

Quote:

Originally Posted by masterross
now i fully disable "Enable 301 Redirects"
and loads are back to normal :)

actually what exactly 301 Redirects does?

thx
Ross

if someone connects to showthread.php?t=X it will rewrite this URL to the correct URL.

Willard 05-17-2006 02:19 PM

Hello!

I have a russian forum, and links with russian forumnames, threadmane or usernames looks bad:

http://board.riot.ru/f-eaaioa-oieoia-3.html
http://board.riot.ru/eaaioa-oieoia/t...-4356-new.html
http://board.riot.ru/u-iae-nei-101.html

How can I make my links to look like:

http://board.riot.ru/f-3.html
http://board.riot.ru/f-3/t-4356-new.html
http://board.riot.ru/u-101.html

???

It's very critical for me. Help, please...



P.S. Immortal, thanks for great plugin!

Bhuwan 05-17-2006 02:38 PM

Quote:

Originally Posted by masterross
now i fully disable "Enable 301 Redirects"
and loads are back to normal :)

actually what exactly 301 Redirects does?

thx
Ross

if someone connects to showthread.php?t=X it will rewrite this URL to the correct URL.

Bhuwan 05-17-2006 02:38 PM

Quote:

Originally Posted by Willard
Hello!

I have a russian forum, and links with russian forumnames, threadmane or usernames looks bad:

http://board.riot.ru/f-eaaioa-oieoia-3.html
http://board.riot.ru/eaaioa-oieoia/t...-4356-new.html
http://board.riot.ru/u-iae-nei-101.html

How can I make my links to look like:

http://board.riot.ru/f-3.html
http://board.riot.ru/f-3/t-4356-new.html
http://board.riot.ru/u-101.html

???

It's very critical for me. Help, please...



P.S. Immortal, thanks for great plugin!

non english characters are rewritten as "-" .. There really isnt a solution for this unfortunatly.

masterross 05-17-2006 04:55 PM

hi Bhuwan,

is it possible links to be rewriten without "f-"
for example:
now is:
/f-uiq-apps-222.html/

whould like to be:
/uiq-apps-222.html/

thx,
Ross

Bhuwan 05-17-2006 05:52 PM

Quote:

Originally Posted by masterross
hi Bhuwan,

is it possible links to be rewriten without "f-"
for example:
now is:
/f-uiq-apps-222.html/

whould like to be:
/uiq-apps-222.html/

thx,
Ross

easiest way is edit the xml file and then htaccess

SimonVlc 05-17-2006 07:49 PM

I discovered another problem. I have one private forum which only moderators can see.

In the forum front page, the link to the last modified post is badformed with a double slash in the url.

http://poquer-red.com/foros//t-haria...-1333-new.html

In the rest of the forums all is fine.

It isn?t an important one. Just for future releases.

Bye, Simon.

Willard 05-17-2006 08:07 PM

Quote:

Originally Posted by Bhuwan
non english characters are rewritten as "-" .. There really isnt a solution for this unfortunatly.

Is it realy difficult to remove forumnames, threadnames and usernames from links?...

masterross 05-17-2006 08:18 PM

I discovered a problem too:
if in thread title exist word "page" then it cause bug messy
example:
my thread title is:
Code:

** DAVIDS THEMES(tm) 15.5.06 ** ANIME STYLO(tm) @ Page 4 **
and link now is:
Code:

t--davids-themestm-15506-anime-stylotm-page-4--93254.html
but should be:
Code:

t--davids-themestm-15506-anime-stylotm--93254.html
BR,
Ross

Immortal 05-17-2006 08:22 PM

Quote:

Originally Posted by masterross
I discovered a problem too:
if in thread title exist word "page" then it cause bug messy
example:
my thread title is:
Code:

** DAVIDS THEMES(tm) 15.5.06 ** ANIME STYLO(tm) @ Page 4 **
and link now is:
Code:

t--davids-themestm-15506-anime-stylotm-page-4--93254.html
but should be:
Code:

t--davids-themestm-15506-anime-stylotm--93254.html
BR,
Ross

You can add stop to the ACP, so it strips it.

masterross 05-17-2006 08:42 PM

thx Immortal !


All times are GMT. The time now is 09:32 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.02324 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
  • (10)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
  • (1)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