GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

Redirects

   Click here to post similar project

Redirects is project number 198354 posted at GetAFreelancer.com. Click here to post your own project.

Closed
(Selected Service Provider nknk)
Status: Closed
Budget: $30-100
Created: 11/24/2007 at 9:23 EST
Bidding Ends: 11/26/2007 at 9:23 EST
Project Creator: bclerk View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(6 reviews)
Description: We are using mod_rewrite for a new domain to rewrite urls using .htaccess and a mapping file like this:

URL:
http://newdomain.com/Some-Great-Product.html

.HTACCESS
RewriteEngine On
RewriteRule (.*)(.html)$ ${rwmap:$1}

RWMAP
Some-Great-Product product.php?productid=99 [L,R]

As a function of mod_rewrite the new domain responds as we wish when called from a menu or bookmark. The rewrite rule is greedy, but it works.

There also are redirects from an old domain that are initiated from a file included by reference in httpd.conf, and passed .htaccess. It works fine with old urls that have no parameters attached. An example would be:

URL:
http://newdomain.com/old-product-url.html
redirected to
Some-Great-Product.html

The rewrite rules associated with .htaccess are then applied.

The .htaccess follow-up to our httpd.conf redirect is a little slower than if rewrites were also from the file included by httpd.conf, but we have reasons to want the rewrite map called from .htaccess rather than from httpd.conf.

Some, not all, redirects from the OLD domain are a problem because they contain parameters for the old Miva shopping cart. As an example, we need to redirect

Merchant2/merchant.mvc?Screen=PROD&Store_Code=00001&Product_Code=productid-370

to

Some-Great-Product.html

after which it will be subject to a rewrite from .htaccess as described above.

As they exist our redirects and rewrites for the Merchant2 urls fail due to the “?” character that initiates the parameters for the old cart.

We need an apache guru that can create a regex or url-specific map capable of redirecting the Merchant2 url to the Some-Great-Product.html, or rewriting it from product.php?productid=99 (it must display Some-Great-Product.html in the visitor’s browser).

Your work has to function with our existing redirects and rewrites, or you can substitute another plan that works the same way, i.e. rewrites from a map called by .htaccess. (redirects can be from httpd.conf OR from .htaccess). If you have a less-greedy regex for the rewrites, that’s even better, but the redirect of the Merchant2 url to the Some-Great-Product.html url is the primary problem that has to be resolved.
Report violation
Job Type:
  • SEO
  • System Admin.
  • Website Design
Database: MySQL
Operating system: Linux
Bid count: 3
Average bid: $ 57

 

Related project
 
Nonpublic project #298646 Featured Nonpublic
login to view
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
nknk
View PM Post PM
$ 40 1 day 11-24-2007 15:23 9.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/109.92/10
(64 reviews)
Hi. Please check PM.
verzidesign
View PM Post PM
$ 80 3 days 11-24-2007 10:58 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
I understand the explanations. Need to know the apache version your working on, because of the new additions in higher version of apache module.
guly
View PM Post PM
$ 50 1 day 11-26-2007 06:19 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(1 reviews)
we can do it pretty fast
Bid on This Project

 

[ Web Development ] [ Outsourcing ] [ Post Project Free ] [ Join GAF Free ] [ Website Design ]

What is GetAFreelancer.com? ( Read about the company )

Companies of any size have used our web services. Would you like to outsource your next project? Would you like to make money as a freelancer? Click Sign Up to start! GetAFreelancer.com helps webmasters, web designers, programmers, software developers and business owners to develop their projects.

Our escrow feature is developed to protect both buyers and sellers. We have thousands of satisfied clients around the world. Our mission is to find the best possible freelance workers at the best possible price. Web Development doesn't have to be expensive. Outsourcing will cut your expenses by more than 50%. Outsourcing is hiring an outside organization to perform services such as information processing and applications development. Outsourcing is the process of subcontracting network operations and support to an organization outside your own company. Try it free today!

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.