301 Redirects

Solution: OpenCart 301 Redirect Problem With Appending ?

06,Nov - Author

While I was cleaning up URL structures on an Open Cart eCommerce platform I ran into an problem with the 301 redirections. Every time I would use the following code I would get a ? (question mark) appending the URL:

code: RedirectPermanent /old-url http://www.sample.com/new-url

results: http://www.sample.com/new-url?

I found out the correct solution for this was to use a RewriteRule:

code: RewriteRule ^old-url$ http://www.sample.com/new-url [L,R=301]

Notice on the “old URL” I did not include the domain or the starting directory /.

Using this code will hopefully help save you time as it did for me. Please be careful when modifying .htaccess files as it can take your site down faster than Mohammad Ali could in his prime!

becareful htaccess files

If you have any feedback or suggestions please comment below.

On side note I would not recommend ...

301 Redirect Guide, Problems And Solutions

25,Jun - Author

A good friend of mine just shared a blog post from SEOmoz with me a few mornings ago. I don’t keep up too much with SEOmoz these days, so it’s good to have someone point out when they write something that is more relevant to what I do – no offense SEOmoz, you’re cool :)

Last week there was a pretty interesting blog post at SEOmoz, written by Everett Sizemore, worth checking out if you are about to embark in a website redesign, relaunch, or any kind of work that will result in a change of URL structure on your site.

Sizemore’s post inspired me to breakdown what he wrote about, and add some of my own experience to the mix. While SEOmoz’s ...

Client Testimonials

Shawn B.
Director, Business Development and Online Marketing - Q-Industries
"Ricardo (Co-Founder of Elevated Search) and his staff did a great job of managing our account from start to finish. Their level of effort was ABOVE what was contractually obligated and the results spoke for themselves. Even across different time zones he was responsive, flexible and open to change as we crafted a search engine optimization strategy."
Danny D.
CEO at PremiereVanities.com
"Steve (Co-Founder of Elevated Search) is on the forefront of search engine optimization. It is clear that his knowledge goes beyond the basic understanding of how to market in search engines but he clearly understands and can conceptualize on a level that I have not found in too many search experts. He is easy to work with and is a strong role model to others in our company that are just learning. We are lucky to have Steve as a resource for our company."

Let’s elevate Your Business

Give us 5 minutes of your time and let’s see if we are a good fit. If we are not, we can help you find someone who is. It’s a no-lose proposition.

Elevated Search, Inc.
2544 Gateway Road
Carlsbad, CA 92009
© 2013 Elevated Search All Rights Reserved.

Need help with something? Let's chat!

Please fill out the information below and we will email you to schedule a time to talk.