Go Back   vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems

Reply 
 
LinkBack Thread Tools Display Modes
Old 03-06-2008, 07:07 PM   #1
vBulletin Owner
 
Join Date: Mar 2008
Posts: 26
DeluxeEdition will become famous soon enough
301 redirect from main site adding :category

I'm back with yet another question - Sorry

I moved my old articles from a custom made CMS over to the Forum when I wrote my redirect on the main sites .htaccess I used

Code:
redirect 301 /articles/Research-Reviews.html http://www.mysite.com/forum/forum60.html
but for some reason when it redirects the URL comes out like

Code:
http://www.mysite.com/forum/forum60.html?category=Research-Reviews
How do I get it to stop doing this? All I want it to redirect to is http://www.mysite.com/forum/forum60.html since it has PR and plenty of incoming links I want it to redirect the right way.

Thanks.
DeluxeEdition is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old 03-27-2008, 02:57 AM   #2
vBulletin Owner
 
veenuisthebest's Avatar
 
Join Date: Mar 2008
Location: India
Posts: 145
veenuisthebest has a spectacular aura about
Send a message via Yahoo to veenuisthebest
Re: 301 redirect from main site adding :category

See this... Tech555.com - View Single Post - Some useful functions...

make changes, simply save the file as ASP or ASPX, depending on what technology you use, upload it and set it as your default document, this way you won't lose your search engine rankings even !!

Note:- Its ASP/ASP.NET, you need to have a windows server to run this..

I am using the same ASP script to redirect my board !!
veenuisthebest is offline   Reply With Quote
Old 03-27-2008, 02:59 AM   #3
vBulletin Owner
 
veenuisthebest's Avatar
 
Join Date: Mar 2008
Location: India
Posts: 145
veenuisthebest has a spectacular aura about
Send a message via Yahoo to veenuisthebest
Smile Re: 301 redirect from main site adding :category

Here's the PHP 301 redirect code:-

Code:
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>
i hope you are done now !!
veenuisthebest is offline   Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems

Tags
301, adding, category, main, redirect, site

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need basic help: adding ads, adding mods amyJJP vBulletin Services 1 03-11-2009 01:41 PM
Main forum page? Trekkan Troubleshooting vBulletin Problems 2 10-12-2008 06:01 PM
Forgot how to redirect the /forums to the main page cajunboy2208 Troubleshooting vBulletin Problems 3 12-20-2007 08:24 PM
Hit the main page of Digg Brent vBulletin Promotion 8 01-21-2007 08:05 PM


All times are GMT -8. The time now is 04:34 AM.