vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - DC SEO vB URL Rewrite (https://vborg.vbsupport.ru/showthread.php?t=91324)

TruthElixirX 09-06-2005 01:15 AM

Works great on categories, forums, and threads. Thanks Dean.

amykhar 09-06-2005 11:28 AM

Quote:

Originally Posted by jbd
Yes, would be nice to see this fixed.

The author has announced he is gone until Christmas time.

Bad Bunny 09-08-2005 03:26 PM

Step 2 says to upload the htaccess file to my forum root...but where is this file I am supposed to upload? Do I make it? What do I put in it?

EDIT>
Bah. I would recommend for the future you name the file ht.access so us mac users can easily upload the file and then change the name to .htaccess :disappointed:

jribz 09-25-2005 04:13 AM

Quote:

Originally Posted by Brinnie
Dean, I need help.

The mod broke my forum and I need to uninstall it. I have removed the plugin and the htaccess, but the weird URLS don't go away....

How can I make them go away?

You have to disable both Plugins that are added as well as the htaccess entries, probably what you missed.

PennylessZ28 09-28-2005 05:24 AM

Doesn't work for me, just turns every link into a 404 error.

The requested URL /757forums.com/f3-meets-and-greets.html was not found on this server.

No shit, thats cuase that file doesn't exist. Mod re-write is on, so what gives?

InfoSpyware 09-29-2005 05:58 PM

Hi all

I have a two cuestion:

1.- This hack work in the final version 3.5 Gold ?

2.- I have a same hack working in vB 3.09 and the url name is only
"t[number] .html"

That it is what I must change so that this works equal ??

Salu2

jstraa 09-29-2005 11:06 PM

Hey dean,

Realy good, just got a copy of vBulleltin and was looking
for these plugin, this is absolutely worth installing !

Is there a way you can fix when a post is like;

hello my name is Jeroen !
Will become f1-hello-my-name-is-Jeroen-.html
Can you get rid of the trailing dash ?

Keep up the good work !

VaaKo 09-30-2005 08:50 PM

I just wanna know something
does it actually work?
does it bring spiders to your web?
anyone has it on his site ?

Lord Brar 10-01-2005 07:04 AM

Thanks mate! :)

Booth 10-01-2005 02:08 PM

For what anyone says - I've read on other threads people saying it doesn't bring traffic to sites - they are wrong.

I installed this on my 3.0.7 site, took me a few hours to get working correctly, but I found threads from my site taking much higher search engine rankings than before and this meant I started getting more hits per day.

I'm now running 3.5Gold and my site really misses it, and it's already started disappearing down the ranks at google! I will be installing this hack as soon as it's finished :ninja:

VaaKo 10-01-2005 09:28 PM

what if I wanna uninstall it someday, can I simply remove the plugin and restore back the forum's urls? showthreat.php ...

Mr Chad 10-01-2005 10:15 PM

Installed, I guess ill see if this works.

this + sitemap might help me ^^

Booth 10-02-2005 12:53 PM

Well I've installed this on VB3.5Gold and as yet haven't had a problem and it works a treat with turning .php?=14214 into whats-on.html

You can see it in action here:
http://www.blackburn247.com/forums/index.php

dastar 10-02-2005 01:56 PM

It doesn't rewrite all the urls. For instance, look at the page nav bar, the urls aren't static. I like this plugin but it'll have to be tinkered with a bit before I use it over the vbrankings plugin.

VaaKo 10-03-2005 04:47 PM

the rewrite_mod is disabled on my server, if I need to enable it, does it request new security measures?

trilljester 10-03-2005 05:03 PM

mod_rewrite has no security issues. It's just an amazing regex processor for incoming/outgoing URLs. If anything it could be considered a security enhancement, because you can hide "real" URLs with goofy ones to throw people off.

Martz 10-03-2005 05:17 PM

Quote:

Originally Posted by trilljester
mod_rewrite has no security issues. It's just an amazing regex processor for incoming/outgoing URLs. If anything it could be considered a security enhancement, because you can hide "real" URLs with goofy ones to throw people off.

Also if you use the correct format in the rewrite, you can filter out all characters apart from those you expect (such as a-z, A-Z and 1-9) which further helps reduce the chances of exploits and/or injection techniques.

vB is pretty well protected by that already however - but its still nice to think about.

VaaKo 10-04-2005 01:56 PM

I get this when I upload htaccess file:

Code:

SORRY, there is an "500 Internal Server Error" !

Your browser sent a request that this server could not handle.

The request could not be executed/handled by the server due to malformed syntax or internal configuration.
The client should not repeat the request without modifications.


--------------------------------------------------------------------------------

even though rewrite_mod is enabled

VaaKo 10-05-2005 09:48 AM

anyone please!

trilljester 10-05-2005 05:49 PM

It might be installed, but it could be configured incorrectly.

VaaKo 10-05-2005 06:46 PM

Quote:

It might be installed, but it could be configured incorrectly
how is this possible?

d3f 10-05-2005 06:49 PM

For those wanting to do this with lighthttpd simply add the following code to your lighttpd conf.

Of Coarse editing the top line to include your forums domain.

Code:

$HTTP["host"]=="your.forum.domain" {
  url.rewrite = (
    "^/f([0-9]+)-([A-Za-z0-9\-]+)\.html$" => "/forumdisplay.php?f=$1",
    "^/t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html$" => "/showthread.php?t=$1&page=$5&pp=10"
  )
}


VaaKo 10-05-2005 07:11 PM

what's lighthttpd conf and where can I find it?
or you mean edit the htaccess file?

$HTTP["host"]=="your.forum.domain" << the domain name would be =="http://www.oneforum.org" ????

d3f 10-05-2005 10:07 PM

lighttpd is an alternative to the apache webserver.

You can find information about it on there website. http://www.lighttpd.net/

VaaKo 10-06-2005 08:44 AM

I donno on what kind of server am I on
but how can I resolve my problem?

Oreamnos 10-07-2005 02:25 PM

WOW! Awesome. Thank you! :D

Kila_Bite 10-08-2005 11:29 PM

Just out of curiosity, is there any way of applying mod_rewrite to your forum archive too?

oezer 10-09-2005 12:32 AM

same problem, vb 3.5.0, in my phpinfo. is mod_rewrite enabled on loaded modules.. plugins is installing fine.. but if i upp the .htaccess on my forums root directory...

error 403.. damn..
and now?

Bytecon 10-09-2005 04:19 PM

Installed, works wonders, thanks ;)

Bytecon 10-09-2005 04:27 PM

Dean,

Noticed a few things,

- It does not change the URLS on the "LAST POST" part to the right of each forum listing.

- URLS are not re writen in the subscribed threads area.

Just pointing that out, obviously you will consider adding stuff like that before you take it out of BETA?

Another question, is there a way to get it to work with my "Latest Threads" hack that displays on the main page.

Thanks,
Michael

dutchbb 10-09-2005 04:39 PM

It doesn't always rewrite the thread or forum url, from what I can see only from clicking a thread in forumdisplay. Why is that?

WizardX 10-10-2005 01:23 PM

I have a rewrite engine from mambo CMS running on www.deep.fm , now i added my board @ www.deep.fm/forum but when i activate the SEO plugin + .htaccess in the forum directory it didnt work.

So I though I should add all (except rewriteengine on) into the root folder /.htaccess , this also didnt work out.

213.84.137.41 - - [10/Oct/2005:16:20:43 +0200] "GET /forum/f5-mededelingen.html HTTP/1.1" 404 18493 "http://www.deep.fm/forum/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

I see in my httpdlog that the link is being clicked but it doesnt rewrite that good apparently.

Thanks for anyone's support which might help.

OOH BTW I set the plugin to inactive , to avoid that people get errors. If someone wants to see it contact me trough msn vinajb (at) gmail (dot) com

hotrod1 10-10-2005 01:44 PM

Flawless, thanks!!!

WizardX 10-10-2005 02:08 PM

I found out that the rewritebase /forum , makes all stuff fixed ;)

My second question is: Isn't it better to do a proxied rewrite , because google seem to like proxied urls?

Lizard King 10-10-2005 02:41 PM

Is there a way to uninstall this plugin ? I tried to uninstall from olugin manager but couldn't find this on the list.

oezer 10-11-2005 08:50 AM

if someone has the same problem:
mod_rewrite is enabled -> you can see it on Maintenance -> View PHP Info

but get permanently error 403, take a look on your server on /etc/apache2/*_vhost.conf file, i used a rootserver with confixx3.0

Quote:

<Directory "/home/htdocs">
<Files ~ "^\.ht">
deny from all
</Files>
AllowOverride All # This one must set!
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options +FollowSymLinks +Includes
</Directory>


<Directory "/home/htdocs/userdirectory/html">
AllowOverride All # this one
Options +FollowSymLinks +SymLinksIfOwnerMatch # and this one
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>


and now it works fine ! :D

Lizard King 10-11-2005 04:48 PM

I am still waiting for a way to uninstall this Plugin.
Help will be appriciated.

WizardX 10-11-2005 08:38 PM

You can use in the plugin menu that you can up or download / remove plugins to work. Shouldn't be too hard to find..

Good luck

VaaKo 10-12-2005 09:13 AM

oezer, what do u mean by it has to be set?

oezer 10-12-2005 09:51 AM

sorry for my bad english.. :D
set means = write

here is orginalcode before i change the lines..

Quote:

<Directory "/home/htdocs">
<Files ~ "^\.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options +FollowSymLinks +Includes
</Directory>


<Directory "/home/htdocs/userdirectory/html">
Options -FollowSymLinks -SymLinksIfOwnerMatch
<IfModule mod_access.c>
Allow from all
</IfModule>
</Directory>
i hope u see the different why mod_rewrite not works.. on my server mod_rewrite was enabled, but it doesn't work, and with this changes on /etc/apache2/confixx_vhost.conf it's works!

kind regards ;)


All times are GMT. The time now is 12:39 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.01702 seconds
  • Memory Usage 1,820KB
  • 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
  • (2)bbcode_code_printable
  • (6)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