![]() |
Quote:
|
mod_rewrite is now enabled by my host. Re-installed. Works great now. :)
|
Glad you got it working coffeefix :D
|
Good job, Mr.Dean! But why doesn`t work url-rewriting with "Sticky-Threads"? :ermm:
mfg |
Quote:
|
<font size="5">Updated to v1.2:</font>
Fixed a bug with stickies showing up as the normal URL. |
Excellent, great job. :)
[high]* Martin64 licks install [/high] EDIT: Quick question: Isn't it supposed to create SEO links from the forumhome as well? I only get the SEO links when I've clicked a forum from forumhome and then the threads are SEO linked. With other words, shouldn't it look like this: http://www.nzboards.com/forums/ |
Hi Dean,
the mod_rewrite used by nzboards.com is (for the moment) better than yours. Similar-Threads are also url-rewritten, and the urls shown in the vB-Archive are identical with the postbit-urls. So "Double-Content" shouldn`t be a problem any longer. To add this to your mod_rewrite would be nice, man. Keep up the good work. Yours, Silmarillion (Tolkien Forever) |
I did try and add functionality for similar threads but didn't test it. It's impossible to have identical rules to the archive because apache would not know which content to deliver :)
|
Quote:
for nzboards.com identical rules "mission" (archive) is possible. How come? :eek: Come on, Dean! You`ll make it! https://vborg.vbsupport.ru/external/2011/01/19.gif Yours, Silmarillion (Tolkien Forever) |
Quote:
|
That doesn`t matter anymore, Dean. ;-)
As far as i know the mod_rewrite used to nzboards.com is a professional Software (vBSEO 2.0) in the Beta-Version. Yours, Silmarillion (Tolkien Forever) |
This looks promising and means I might upgrade to 3.5 afterall!
Dean - do you have a test forum that this is installed on so we can see it in action? Also, is it possible to have the name of the url appear before the number? eg, yoursite.com/forum/a-thread-name-48843.html ? thanks! I look forward to seeing this in final release :) |
Quote:
|
Quote:
Theres a huge advantage for people using google ads in their thread pages (cos google takes info from the url :))... I did some quick tests and found that mod rewrite with numbers at the end did better than mod rewrite with numbers at the front, with regards to ad relevancy from google. I have mod rewrite with numbers at the end on 3.0.7 - if you want to take a look, I can PM ur the url :) |
Hey will this work for the 3.5 Beta 4 release?
|
Quote:
|
ok thanks for replying will do now.
|
Yes it works ... Nice man ! just clicked the install button
|
Excellent :) Glad you got it working!
|
I have a stupid question:
If a user types in: https://vborg.vbsupport.ru/forumdisplay.php?f=166 will it still go to the URL? |
Yes Brinnie :)
|
Quote:
Sounds great, i'm gonna try it! :D |
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? |
That's impossible. Removing the plugin will stop rewriting the URLs.
|
this is th ebest hack/plugin/extension, what ever you want to call it
works like a charm |
Glad you got it working Ryan :)
|
I could well be blind. A quick check shows the hack does not provide
301 redirect for the old urls. This is actually quite dangerous, at least for Google. Google has been putting a lot of web sites on duplicate contents penalty. If Google discovers two urls serve the same page, the site/pages will be penalized. A classic example is 'www.site.com' and 'site.com' serve the same contents. There are many PR5 or higher (page rank) sites become PR0 due to the penalty. It is reported that these sites are penalized for at least 6 months before they reappear in the index at the right position. A few signs of sites being penalized: 1) Do a search for "forums.yoursite.com" (include the double quotes), if the site is not returned first, bad luck. 2) Search for site:forums.yoursite.com If the result returns with a lot of URLs only without description, or if a lot of your pages are listed in the Supplementary Index. Some sort of penalty is in place. A Google recommended way to create new URLs is to serve 301 header for the old URLs. 301 means permanent redirect. So Google does not need to cache both URLs. 301 can be easily implemented using .htaccess file. |
Off the top of my head, I can't think of an easy way to redirect the old URLs to the new ones. This method uses .htaccess to redirect the new URLs and spoof the content of the old one.
|
Change [L] to [L,R=301] <--- ignore, posted too quickly
EDIT: Yep, Dean C (next post) is correct, so see lierduh's post (three posts down). |
That will not work though calorie. That will do an internal redirect to the old URL. Therefore deeming the new URLs useless to the search engines.
|
Quote:
is there any way we can fix that ASAP |
Quote:
You can also do it at script level, eg.: Add an additional parameter to the Rewriterules for the URLs matched. eg. RewriteRule ^f([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1&seourl=1 [L] This way the new url will provide $_GET['seourl'] == 1 to the script. If !isset ($_GET['seourl']), then header("HTTP/1.1 301 Moved Permanently"); header("Location: http://site/new_seo_url"); |
I have some problems in rewriting url for list of threads, it is template problem. I checked default style and all works fine. So my question is what template should I edit to make some changes in the list of threads page.
Example of list of threads https://vborg.vbsupport.ru/forumdisplay.php?f=111 Sorry for bad english |
Quote:
You can use RewriteCond ^{QUERY_STRING}$ to catch the query_strings following by a RewriteRule. |
Will this hack be usable for the new release RC1?
|
Quote:
Great work so far, but there are some minor problems: First, the stickies aren't completely rewritten. Once a sticky-thread reaches page 2, the links to these pages aren't being rewritten and are shown in the normal view. The first page is still fine. Same problem on the thread view. First page is fine, but links to following pages aren't rewritten. Not seriously necessary, but announcements and member profiles should be rewritten too. |
So far as RC1 goes, it works fine on my board. Upgraded from beta 4, and didn't need to reinstall it or anything.
|
Can this work with the .htaccess included in amykhar's Userpage hack?
|
Thanks for this Dean. :)
|
All times are GMT. The time now is 11:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|