![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| Scripts and Coding PHP, MySQL, scripts |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | |
![]() | redirect question
Hello I've transfered my forum from IPB to Vbulletin, and I'm trying to set up my htaccess file however I can't get it to 301 to my new urls. I've got a list of old and new, just need to work out what to put in the .htaccess Can anyone advise? (the links below are correct just doesn't work lol) Example Quote:
| |
| |
| | #2 (permalink) |
![]() |
Never done it that way - don't think that could ever work when using parameters (happy to be proven wrong). Here's what I do when dealing with parameters (anything after the ?) - use modrewrites and then the type of redirect after in [ ] i.e. RewriteRule ^what to redirect$ http://where to go? [L,R=301]
__________________ iBranded sites... Football Betting Tips | Cheap Flights | High Interest Bank Account | Instant Loans | London Olympics | Desi | Online MBA Courses | MBA |
| |
| | #3 (permalink) |
![]() |
Thanks for your help and reply, could you give me an example of the line using my code above please/
|
| |
| | #4 (permalink) |
![]() |
try this: RewriteEngine On RewriteRule ^index.php?showtopic=2$ http://www.fibro.org.uk/threads/1-Welcome [L,R=301] or if that doesn't pass through the params try with this: RewriteRule ^index.php?showtopic=2$ http://www.fibro.org.uk/threads/1-Welcome [QSA,R=301]
__________________ iBranded sites... Football Betting Tips | Cheap Flights | High Interest Bank Account | Instant Loans | London Olympics | Desi | Online MBA Courses | MBA |
| |
| | #5 (permalink) |
![]() |
Thanks again for your help. I tried both versions but still nothing is working (
|
| |
| | #6 (permalink) |
![]() |
what happens when you tried the above? another way is to do this: RewriteCond %{REQUEST_URI} /index.php$ RewriteCond %{QUERY_STRING} ^showtopic=2$ RewriteRule ^.*$ http://www.fibro.org.uk/threads/1-Welcome [L,R=301] if that still fails you've nearly reached the end of my htaccess knowledge
__________________ iBranded sites... Football Betting Tips | Cheap Flights | High Interest Bank Account | Instant Loans | London Olympics | Desi | Online MBA Courses | MBA |
| |
| | #7 (permalink) | |
![]() | Quote:
| |
| |
| | #8 (permalink) |
![]() |
no worries - glad i could help you sort it out
__________________ iBranded sites... Football Betting Tips | Cheap Flights | High Interest Bank Account | Instant Loans | London Olympics | Desi | Online MBA Courses | MBA |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| Quick htaccess redirect question | Rob_F | Scripts and Coding | 7 | 12-11-2011 04:21:36 PM |
| .htaccess duplicate content redirect problem | matty281k | Website Design | 1 | 14-02-2011 11:48:37 AM |
| htaccess redirect question... | mat | Website Design | 5 | 01-07-2010 09:46:57 AM |
| Redirect old Google Results and incoming links | jonathanza | Website Design | 3 | 22-12-2009 09:02:12 AM |
| (SEO) 301 Redirect | seanc | Website Design | 2 | 16-03-2006 06:29:04 PM |