301 Redirect "Not Found" pages

filoaman

Avatar: filoaman

2012-01-20 09:14

Hi friends, i need some ideas...
I recently change some categories and disable some old product categories.
Now i can see the old categories in my Control Panel but are not accessible from front end of my eshop .
Since the pages from these categories was already indexed on google (and other search engines) i get now crewl errors (404 - page not found) on Google WebMaster Tools.
I try to redirect the pages with the error (please note that i already know how to do it and i have already use it to redirect more than 20 pages which had 404 error in the past).
The problem is that although i'm 100% that i use the correct code to implemend this redirect, i don't get it. The error consist.
Did you have any ideas?
Is there any relation with the disabled categories (i get the errors only on this old categories, by the way)?
Is it better to completely delete the old categories?
Any Help?

Thank You

» Quick.Cart v3.x

beholder

Avatar: beholder

2012-01-20 17:54

Can you give us specific URLs to see what you've done and what doesn't work?
You're explaining it like when someone tries to explain the Pythagorean theorem without actually writing out the equation.

http://cicmanec.sk/easyplugins/

filoaman

Avatar: filoaman

2012-01-22 14:22

@ beholder
I really can't see how this will help (to give specific URL's)
The only you will see is a 404 error !
There is nothing to see on the url's where the problem appear
I define the redirect from .htaccess ad not from a specific URL using the usual way.

beholder

Avatar: beholder

2012-01-22 19:06

I know some QC URL parameters that I can try, don't be afraid. I will see what other features don't work. If it is too much work for you, then I guess I cannot help you much.

htaccess may be the problem, btw. There is a redirect feature directly inside QC, why not use that?? But all I am doing is guessing because I have no idea what specific category on what specific site doesn't work.

http://cicmanec.sk/easyplugins/

filoaman

Avatar: filoaman

2012-01-25 08:29

I'm getting mad with this problem...
Every day i get a new 404 error (all fore the same 3 product category pages) and i can't fight the problem.
I totally delete the old product category pages from QC Control Panel (until yesterday these pages was just inactive).
The problem is still here. I try every way i know to set a 301 redirect from .htaccess but without success.

Here are 3 pages i still get 404 error
http://www.prosklitirio-eshop.gr/?gr_...για-κορι&#9 64;σάκι,13&bViewAll=true
http://www.prosklitirio-eshop.gr/?gr_...για-δίδυ&#9 56;α,14,1
http://www.prosklitirio-eshop.gr/?gr_...για-αγορ&#9 40;κι,12

The new pages i try to redirect the above pages are
http://www.prosklitirio-eshop.gr/?gr_...για-κορι&#9 64;σάκι,36&bViewAll=true
http://www.prosklitirio-eshop.gr/?gr_...για-δίδυ&#9 56;α,19,1
http://www.prosklitirio-eshop.gr/?gr_...για-αγορ&#9 40;κι,17

Hope someone help.

beholder

Avatar: beholder

2012-01-25 17:41

Now we're getting somewhere. Didn't you notice your links are a little weird?
It's because you use greek letters and you did not change your change2Latin function.
go to libraries/Trash.php, find function change2Latin() and change the 2 arrays in the function, where the top array will have greek letters (can't write them here but they are: alpha, beta, gamma, delta, dzeta, eta, theta, iota, kappa, lambda, etc.). Also include uppercase versions of the greek letters.
The bottom array will contain their latin translations (for our example above it would be: a, b, g, dz, e, th, i, k, l, ..., A, B, G, DZ, E,....).

http://cicmanec.sk/easyplugins/

filoaman

Avatar: filoaman

2012-01-26 09:05

Thank you for your answer
I will try what you suggest but bear in mind that i already had make some succesfull redirects with pages including Greek characters without problems.
For example in my .htaccess there is a succesfull 301 redirect of this page (which contain Greek characters)
http://www.prosklitirio-eshop.gr/?gr_Επικοινω& amp;#957;ία,22
to this page
http://www.prosklitirio-eshop.gr/contact.html

In any case i will try what you suggest and i will report

filoaman

Avatar: filoaman

2012-01-26 09:32

Unfortunately (modify the change2Latin function) doesn't help at all...
And not only this, now i get hundreds 404 because all pages on my sitemap but also all the pages already crawled from search engines contain Greek characters.
After modify the change2Latin function all my pages change from Greek to Latin characters.

beholder

Avatar: beholder

2012-01-26 15:49

A. We're talking about links to pages, not the page content itself. So if you change links properly and if links work, then you should be ok and everything should be working.
B. I cannot help you if you don't want to do what is necessary for it to work.

http://cicmanec.sk/easyplugins/

filoaman

Avatar: filoaman

2012-01-26 16:58

@beholder
I modify the change2Latin function as you suggest.
So now the
http://www.mysite.com/page-with-greek-characters
modified by change2Latin function to
http://www.mysite.com/page-with-latin-characters

The function (change2Latin) works fine!

Unfortunately this doesn't help my case
1) The pages which give me the 404 still give the error although now doesn't contain any Greek characters.
and 2) Now ALL my pages (i mean the link - not the content) are with latin characters. But i already spend spend more than a year to set-up my eshop and all search engines now contain my material (the pages link - not the content) with Greek characters. I can't spend another year to remake the site and, most important, lose the No1 position on Google's first page for my main keyword....

beholder

Avatar: beholder

2012-01-26 17:45

ok, I take your argument. but your links above don't work, I can't see your website with latin characters. When you show me your site with them we will continue solving this, I've been solving similar things here ocassionally, it's usually a very small problem.

http://cicmanec.sk/easyplugins/

Back to top
about us | contact