vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Zoints SEO (https://vborg.vbsupport.ru/showthread.php?t=127336)

djbaxter 07-07-2007 06:48 PM

Quote:

Originally Posted by org knopper (Post 1285248)
sir i am not using mod_rewrite my server don't support it i am using only Rewrite URLs and insert keywords

Rewrite URLs is the same thing, as far as I know. Disable that.

org knopper 07-07-2007 07:02 PM

Quote:

Originally Posted by djbaxter (Post 1285262)
Rewrite URLs is the same thing, as far as I know. Disable that.

sir that will also not solve my problem after disabling it url of forum is http://xxxxxxxxxx.com/forumdisplay.php?f=26 << look at @ last there number i want to submit my url @ digg.com they don't accept that type of urls which have numbers @ last of url

hope you get my problem

WritersBeat 07-12-2007 07:10 PM

Hey, so if you had the url_rewriting on for a while, and then turn it off. It's obviously going to do something with the search engines right?

Is there anyway to put a 301 redirect from "something-1231.htlm" back to "showthread?t=1231" ?

Otherwise I'm going to be hit pretty hard in terms of search engines right?

nocte 07-12-2007 07:20 PM

Quote:

Originally Posted by WritersBeat (Post 1289384)
Hey, so if you had the url_rewriting on for a while, and then turn it off. It's obviously going to do something with the search engines right?

Is there anyway to put a 301 redirect from "something-1231.htlm" back to "showthread?t=1231" ?

Otherwise I'm going to be hit pretty hard in terms of search engines right?

there is :)

Code:

RewriteRule ^([a-z0-9-]*)-([0-9]*)\.html$ /forum/showthread?t=$2 [R=301,L]
(not tested)

WritersBeat 07-12-2007 07:38 PM

Well, if I hit up :

http://www.writersbeat.com/obscene-a...ty-t10444.html

with this

Quote:

RewriteRule ^([a-z0-9_\-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_\-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index\.php|\.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]

RewriteRule ^([a-z0-9-]*)-([0-9]*)\.html$ /showthread?t=$2 [R=301,L]
I get a no thread specified error.

If I remove the zoints rewrite rules, I get a 404...

Also, what should the zseo setting be set for 301 redirects? Should I turn that off?

thx, btw.

nocte 07-12-2007 07:42 PM

Quote:

Originally Posted by WritersBeat (Post 1289407)
Well, if I hit up :

http://www.writersbeat.com/obscene-a...ty-t10444.html

I now get a 404, I guess that's better than a double page? :-p

sorry, try this one:
Code:

RewriteRule ^([a-z0-9-]*)-([0-9]*)\.html$ /showthread.php?t=$2 [R=301,L]

WritersBeat 07-12-2007 07:46 PM

Hmm, whatever I try it still goes to a 404 or "No Thread specified. If you followed a valid link, please notify the administrator"

nocte 07-12-2007 08:01 PM

Quote:

Originally Posted by WritersBeat (Post 1289416)
Hmm, whatever I try it still goes to a 404 or "No Thread specified. If you followed a valid link, please notify the administrator"

o.k. another try:

Code:

RewriteRule ^([a-z0-9-]*)-t([0-9]+)\.html$ /showthread.php?t=$2 [R=301,L]

WritersBeat 07-12-2007 08:03 PM

omg, you rule :)

So, that will take care of both of these rules?
Quote:

RewriteRule ^([a-z0-9_\-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_\-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ showthread.php/$1 [QSA,L]
Like, what if there is a page extension, like 25?

ahh, yeah, like take this:
http://www.writersbeat.com/writing-markets-f59p3.html

That fails :( 404 error.

p.s really appreciate the help. I'll send paypal your way.

Forum url's are also 404'd

nocte 07-12-2007 08:14 PM

take this code:
Code:

RewriteRule ^([a-z0-9-]*)-t([0-9]+)\.html$ /showthread.php?t=$2 [R=301,L]
RewriteRule ^([a-z0-9-]*)-t([0-9]+)p([0-9]+)\.html$ /showthread.php?t=$2&page=$3 [R=301,L]
RewriteRule ^([a-z0-9-]*)-f([0-9]+)\.html$ /forumdisplay.php?f=$2 [R=301,L]
RewriteRule ^([a-z0-9-]*)-f([0-9]+)p([0-9]+)\.html$ /forumdisplay.php?f=$2&page=$3 [R=301,L]

that should work for thread and forum views (with and without pagers). If you delete the "$"s the rules will work for URLs with (eg. highlight) parameters too. I don't know if there's a downside doing this - propably not.


All times are GMT. The time now is 05:03 PM.

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.10453 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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