Sponsored Content
Top Forums Web Development Removing VBSEO for vbulletin – Reverting back to vbulletin URLs Post 302868419 by Neo on Sunday 27th of October 2013 06:28:53 PM
Old 10-27-2013
Yes, but what I gave you was for a RewriteBase of / not /Forums/ as I mentioned to you.

I think for you it would be better if you just use a rewrite base of /, because you will just get yourself confused.

If you want to move URLs, you should use a rewrite base of / as mentioned, to keep is less confusing; and the rule should be like this:

Code:
RewriteRule ^(.*)$ http://xxx.xxxxxxxxxx.xxx/Forums/$1 [R=301,L]

.. in this example. the RewriteBase is /
 

We Also Found This Discussion For You

1. Post Here to Contact Site Administrators and Moderators

vbulletin addon for ads?

i'm wondering what vbulletin addon is used here to manage ads if the admin could let me know :) (1 Reply)
Discussion started by: disgust
1 Replies
HTML::RewriteAttributes::Links(3pm)			User Contributed Perl Documentation		       HTML::RewriteAttributes::Links(3pm)

NAME
HTML::RewriteAttributes::Links - concise link rewriting SYNOPSIS
# up for some HTML::ResolveLink? $html = HTML::RewriteAttributes::Links->rewrite($html, "http://search.cpan.org"); # or perhaps HTML::LinkExtor? HTML::RewriteAttributes::Links->rewrite($html, sub { my ($tag, $attr, $value) = @_; push @links, $value; $value; }); DESCRIPTION
"HTML::RewriteAttributes::Links" is a special case of HTML::RewriteAttributes for rewriting links. See HTML::ResolveLink and HTML::LinkExtor for examples of what you can do with this. METHODS
"new" You don't need to call "new" explicitly - it's done in "rewrite". It takes no arguments. "rewrite" HTML, (callback|base)[, args] -> HTML See the documentation of HTML::RewriteAttributes. Instead of a callback, you may pass a string. This will mimic the behavior of HTML::ResolveLink -- relative links will be rewritten using the given string as a base URL. SEE ALSO
HTML::RewriteAttributes, HTML::Parser, HTML::ResolveLink, HTML::LinkExtor AUTHOR
Shawn M Moore, "<sartak@bestpractical.com>" LICENSE
Copyright 2008-2010 Best Practical Solutions, LLC. HTML::RewriteAttributes::Links is distributed under the same terms as Perl itself. perl v5.10.1 2010-11-18 HTML::RewriteAttributes::Links(3pm)
All times are GMT -4. The time now is 09:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy