I been searching for this forum for creating 301 redirects. A lot of people are having the same issues as me.
They add “301 redirect /old-site /new-site.html” in htacess and it works but it also adds “?sef_rewrite=1” to the end of the url making it no good.
Any other attempts including:
<br />
# Needed before any rewriting<br />
RewriteEngine On<br />
### Built using the .htaccess 301 Redirect Generator from Web Site Advantage<br />
### http://seo-website-designer.com/HtAccess-301-Redirect-Generator<br />
### Place after 'RewriteEngine On' and before any CMS specific rewrite rules<br />
## 301 Redirects<br />
# 301 Redirect 1<br />
RewriteCond %{QUERY_STRING} ^$<br />
RewriteRule ^old-site$ /new-site.html? [R=301,NE,NC,L]<br />
```<br />
<br />
... as suggested here: [url="http://seo-website-designer.com/HtAccess-301-Redirect-Generator"]http://seo-website-designer.com/HtAccess-301-Redirect-Generator[/url], don't do a thing. When I try to go a link... I get a 404 error.<br />
<br />
When I read threads, all I can find is where people have given up. No solution is given.<br />
<br />
I wish CS-Cart would add "301 redirect details" to their knowledge base because it is a major issue. I have over 400 not found urls. I would like to get these fixed. A step-by-step guide from the cart's developers would be a nice addition.
I use to host a blog post on my server called custom-clothing. The domain was mysite.com/custom-clothing. I have replaced the site with CS-Cart and took the same post content but made it a news article which is at mysite.com/custom-clothing.html.
This seems pretty simple.
When i try to access mysite.com/custom-clothing, I get a 404 error. Why will it not transfer. Can somebody see the code, what is wrong? This seems pretty straightforward to me.