Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 04-23-2012, 03:16 PM
Member
Latest Blog:
None

 
Join Date: 07-03-11
Posts: 35
iTrader: 0 / 0%
HTACCESS error

Here's the problem. I have a redirect that looks like this:

redirect 301 /store/?p=3m_controltac http://www.designtoprint.com/3m-controltac

I've used similar code before to redirect my pages based on GET, but for some reason this particular one is failing on the GET. Maybe I've just looked at it too long. Can anyone out there see why it's failing?

Thanks!

Last edited by HTMLBasicTutor; 04-23-2012 at 03:30 PM.
 
Reply With Quote
  #2 (permalink)  
Old 04-23-2012, 05:57 PM
Junior Member
 
Join Date: 04-16-12
Location: Winnipeg
Posts: 13
iTrader: 0 / 0%
It seems to be working correctly from here.
 
Reply With Quote
  #3 (permalink)  
Old 07-17-2012, 07:48 AM
Member
Latest Blog:
None

 
Join Date: 07-12-12
Posts: 38
iTrader: 0 / 0%
the code u specified looks ok,...

but certain configurations may affect processing of htaccess file.
In that case you can use php method to redirect the url by making a directory named as /store/?p=3m_controltac and then putting the php file in that url.

you can use the following code to redirect the url

<?php

header( 'Location: http://www.yoursite.com/new_page.html' ) ;

?>
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Error: Messaging interface has received an unknown error Dani_938 Tech Talk 2 04-28-2011 03:12 AM
Parse error: syntax error - Need help marshal_ramdev Coding Forum 4 12-24-2010 02:39 AM
Conflict, What is the right htaccess rule, default homepage file with htaccess? basketmen Coding Forum 2 01-20-2009 07:50 AM
"No Input File Selected" Error in HtAccess, how do I fix? dcshoeco1 Coding Forum 5 03-27-2008 01:05 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:16 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.