![]() |
Force www. (without .htaccess)
1 Attachment(s)
This mod will redirect users who do not have the www. subdomain to one that does. This helps with SEO as it stops duplicate content also fixes some logging in issues. Another upside is that this is done with pure PHP so you don't need to mess about with .htaccess.
There are no options, just upload it and it will redirect the users straight away. Please post any issues and don't forget to click install! |
Nice thanks. Installed!
|
thanks. Installed!
|
Sweet!
|
Thank you, Installed.
|
i think it will affect any one use subdomains for vba links ,vbgallery and others
|
I have a question that is ,
dose the mod effect sub domains and the parked domains ;) |
i installed this and i cannot log into my admin panel now because of it...it jus redirects me to my forumhome....
|
Quote:
PHP Code:
|
i jus did that...and it didnt work...all my hacks and stuff are still workin...and i cant log into the CPanel
|
Anyone else have this same problem?
|
im still locked out of my panel...is there anyway to reverse this
|
Try accessing your site via your ip?
|
Most likely this is cached in your browser. You can try:
1. Clear browsers cache and cookies 2. Try another browser 3. Force a refresh (F5, ctrl r, etc.) |
I would suggest you also change this in google webmaster tools as well :)
|
Quote:
Quote:
Quote:
|
Good Bye Login Problems!!
|
nice work,tnx
installed... |
Thanks, working. :)
|
Very, very, very Thanks!!!!
Great my bro! |
Seems to be working perfectly!
Thank you! |
Just to make sure, i upload this as a product???
|
Yep as a product
|
dont working for me
vboptimize can be a problem ? |
it could be
|
How does this mod work, exactly? People have been asking in this thread on another site: http://www.adminaddict.net/forum/vbu...mization-3471/
|
FYI if I try to access my site via IP, the www. is still appended, thus making the site inaccessible. Might want to make a conditional to get around that somehow!
|
Fixed this by wrapping the entire plugin code in this conditional:
PHP Code:
|
^^ I concur with what he said, just checked it on my site as well.
|
nice work, thanks
|
thanks ;)
|
.. just for ticks and for those who prefer the proper .htaccess method
Code:
# Redirect adding leading www.to domain or any subdomain if missing |
How does this mod work without the .htaccess modification? I'm curious.
|
Quote:
|
I was a little worried about installing this after reading some of the comments with troubles...but it works perfectly for me! I couldn't get my .htaccess to redirect, so this is awesome. :)
I think my .htaccess redirect problems might have have something to do with wordpress. It's installed in my root and automatically redirects all wordpress pages to www, so for some reasons adding the code to redirect in htaccess wouldn't redirect vBulletin which is in a folder off the root. |
This plugin is not working properly.
|
installed, awesome dude thx
|
work with 4.0.2?
|
This mod run on vbulletin 4.0.x version.
|
not working for me, stays without www.
|
All times are GMT. The time now is 10:04 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:
|