homepage Welcome to WebmasterWorld Guest from 54.166.111.111
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
.htaccess and avoiding urlencoding
Question Marks Turning Into %3f
Beachdog




msg:3303554
 6:23 pm on Apr 5, 2007 (gmt 0)

I've recently migrated a client from a static e-commerce site using PayPal to an osCommerce solution, and for the sake of search engine ranking I'm trying to use .htaccess to redirect from her static pages from before to the PHP pages of now.

The line in my .htaccess that it causing problems for me is the following:

RedirectMatch permanent /pages/foo_bar_yadda.html /product_info.php?products_id=73

When I go to foo_bar_yadda.html I get my 404 page, as it tried to go to /product_info.php%3fproducts_id=73

I've researched over at the osCommerce site, as well as Googled to a point of unhealthiness.

There are quite a few of these that I need to do, and I'd rather not do redirects within the old pages, as I understand that the search engines don't take too kindly to such shenanigans.

Any help would be greatly appreciated.

Thanks,
David

 

jdMorgan




msg:3303576
 6:58 pm on Apr 5, 2007 (gmt 0)

Internally rewrite, do not externally redirect. Library thread: [webmasterworld.com...]

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved