Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 12-11-2010, 09:13 PM
preemz10314 preemz10314 is offline
 
Join Date: Oct 2010
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if he has cpanel all of that other code is a waste of time for such a minor issue. I swear some of you who help on this board think every one here has the same type of knowledge..no thats not true. It would be beneficial to give the most simple straight forward answer upfront then go from there.
Reply With Quote
  #12  
Old 12-11-2010, 09:20 PM
Weetabix Weetabix is offline
 
Join Date: Feb 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by preemz10314 View Post
all of that other code is a waste of time for such a minor issue.
All of that other code is from VBSEO. I added 2 lines to it.


Quote:
Originally Posted by preemz10314 View Post
It would be beneficial to give the most simple straight forward answer upfront then go from there.
The answer I gave is a simple cut and paste...... how much easier can I make it? Anyway, this thread is heading off topic. The OP has a couple of solutions to choose from now, so he can choose which one he's happy with.
Reply With Quote
  #13  
Old 12-11-2010, 09:55 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by preemz10314 View Post
if he has cpanel all of that other code is a waste of time for such a minor issue. I swear some of you who help on this board think every one here has the same type of knowledge..no thats not true. It would be beneficial to give the most simple straight forward answer upfront then go from there.
If you think it was mistake to think everyone has the same kind of knowledge, it was also a mistake to think everyone has cPanel. That's installed by the host, entirely at his/her discretion. And like Weetabix said, it's just two short lines of code to copy/paste. If that's too hard for a vB owner, then doing a template edit will blow their mind.
Reply With Quote
  #14  
Old 12-12-2010, 02:45 AM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I appreciate everyone hurding over here to help me out.
Yet my question remains un-answered.

Where in the .htaccess should I place it? I'm not sure if just placing it at the end might have an affect on it? Or should it be placed at a certain point?

And yes I also have cpanel but for some reason the redirect wasnt working right.

Anyway, would someone mind answering the question?

--------------- Added [DATE]1292129313[/DATE] at [TIME]1292129313[/TIME] ---------------

Quote:
Originally Posted by Weetabix View Post
You only need to use the 'RewriteEngine On' once, and you can stick that extra bit anywhere underneath it. Something like this;

Code:
RewriteEngine On

RewriteCond %{HTTP_HOST} ^fragtoss.com$
RewriteRule (.*) http://www.fragtoss.com$1 [R=301]

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
Didn't notice this from my previous post, but anyway, I added the 2 lines where you showed me, but it didn't work. Nothing happened.
Reply With Quote
  #15  
Old 12-12-2010, 04:06 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea if this will work, I'm merely going on an unsubstantiated hunch:

Code:
#RewriteCond %{HTTP_HOST} !^fragtoss\.com
#RewriteRule (.*) http://www.fragtoss.com$1 [L,R=301]
Reply With Quote
  #16  
Old 12-12-2010, 04:40 AM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't work
Reply With Quote
  #17  
Old 12-12-2010, 08:28 AM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey budd m providin u this video tutorial abt redirecting 301... hope that helps you and if still not then sorry mate.

http://www.youtube.com/watch?v=VyEu99qWk3Q
Reply With Quote
  #18  
Old 12-12-2010, 10:56 AM
preemz10314 preemz10314 is offline
 
Join Date: Oct 2010
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Asking most of these ppl for help will never work, they will give you some type of quantum theory answer to solve a simple redirect issue.

Do you have cPanel? Bouncer, like i said, if you have cPanel, just login to your host navigate to redirects and add it there. You have not said if you have cPanel or not...
Reply With Quote
  #19  
Old 12-12-2010, 11:36 AM
Weetabix Weetabix is offline
 
Join Date: Feb 2007
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

put this immediately after 'RewriteEngine On'

Code:
Options +FollowSymLinks

### Add www.

rewritecond %{http_host} ^fragtoss.com [nc]
rewriterule ^(.*)$ http://www.fragtoss.com/$1 [r=301,nc]
Reply With Quote
  #20  
Old 12-12-2010, 03:13 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by preemz10314 View Post
Asking most of these ppl for help will never work, they will give you some type of quantum theory answer to solve a simple redirect issue.

Do you have cPanel? Bouncer, like i said, if you have cPanel, just login to your host navigate to redirects and add it there. You have not said if you have cPanel or not...
Yes he did. He said it wasn't working right there, either. I guess those two sentences, like the two lines of code offered, were also a little too quantum-y.

We're trying to help someone root out a problem by giving him steps to try and eliminate as possible solutions. You're just mocking the people trying to help him, repeating a suggestion that if you had even bothered to fully read his posts you would already know doesn't work and cluttering up the thread with unhelpful information.

Everyone here offers their help free of charge and at the expense of their own free time. If you have something new to add, the it will be appreciated and taken in good faith. But if all you're going to do is conflate the simplest, most bone-headedly easy of steps into something ridiculously harder then it is, then I can only assume your just here to troll, not help.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:09 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.04003 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete