Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
twi
... I am trying to install Ultimate SEO 2.2.1 to my zencart 1.3.9h (plese see above for details) and am confused on the installation instructions in step 3 concerning the ".htaccess" file.
Where is this file found at in my zencart?
There seems to be a "htaccess" file in almost each and every sub-directory in the main zencart directory.
To be exact, which "htaccess" file are we talking about? All of them or just one of them, and in which subfolder? ...
Quote:
Originally Posted by
twi
Also what do to if there is no "htaccess" file in the specific folder we are talking about?
Pay particular attention to the lines in red (copied from README_ENGLISH.txt under INSTALLATION - step 3):
Code:
3. A sample .htaccess file is included. Edit
"3_htaccess/.htaccess" to match your web server's
environment. Pay particular attention to the
"RewriteBase" line. Make sure your server does not have
"MultiViews" enabled (rare).
If you have an existing .htaccess file in the folder
where you installed Zen Cart merge the new .htaccess
file with the existing file (remember rules are matched
in order, so any custom URL transformations or
redirects should appear before the "Start Ultimate
SEO URLs" block).
Upload the .htaccess file to the folder where
you installed Zen Cart.
You should follow these steps in order. So first follow the instructions in the first paragraph. Then follow the instructions in the second paragraph. Lastly follow the instructions in the third paragraph.
I'm not sure what part of these instructions are not clear... Perhaps you can help us by giving a more detailed description of what you are having difficulty with? Any help you provide to help us improve the README is appreciated.
If a language issue (pardon my poor translation skills):
Sube el archivo de .htaccess a la carpeta en la que instaló Zen Cart.
Téléchargez le fichier .htaccess dans le dossier où vous avez installé Zen Cart.
Laden Sie die .htaccess datei in den Ordner, in dem Sie installiert Zen Cart.
上傳的 .htaccess 文件的文件夾中安裝Zen Cart的。
Загрузить .htaccess файл в папке, где установлен Zen Cart.
Quote:
Originally Posted by
twi
I have 2 zencart websites installed under /htdocs/
they are: /htdocs/Zencart-01/
and /htdocs/Zencart-02/
If you installed USU in "/htdocs/Zencart-01/", then the ".htaccess" should be uploaded to "/htdocs/Zencart-01/.htaccess".
If you installed USU in "/htdocs/Zencart-02/", then the ".htaccess" should be uploaded to "/htdocs/Zencart-02/.htaccess".
Re: Ultimate SEO 2.200+ (new features)
I have Ultimate SEO installed on my zen 1.5.1
I have a product which I will not be selling anymore. I do not want to delete the product, because there are many web sites linking to it.
So I want to setup a a redirect link to the new product which replaced it.
But it seems like something is overriding everything I do
I first created a new folder and file the same as the product I want to remove and then placed the following in the header
Code:
<META HTTP-EQUIV="Refresh" CONTENT="0; url=http://www.4x4direct.co.za/shop/led-bar-c-15/led-super-bar-205-10800lumens-single-row-p-516.htm">
I uploaded that to the same address as where the product used to be (I disabled it for now)
http://www.4x4direct.co.za/shop/led-...watt-p-367.htm
That did not work
Then I created a 301 redirect in the /shop htaccess file where the SEO script also is, I placed it under "# All other pages"
Code:
Redirect 301 /led-bar-c-15/led-super-bar-202-8640-lumens-96-watt-p-367.htm
http://www.4x4direct.co.za/shop/led-bar-c-15/
I also tried
Code:
rewritecond %{http_host} ^/led-bar-c-15/led-super-bar-202-8640-lumens-96-watt-p-367.htm [nc]
rewriterule ^(.*)$ http://www.4x4direct.co.za/shop/led-bar-c-15/$1 [r=301,nc]
None of above works. The site just redirect me to a page with message "Sorry, the product was not found."
What is the correct way of doing this?
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
pietpetoors
... So I want to setup a a redirect link to the new product which replaced it.
But it seems like something is overriding everything I do ...
Please read one of the many previous posts I have written on the common complaint of "USU takes over all URL requests" and adding redirects. USU does not take over all requests or override anything. You simply have to know how to properly use Apache mod_rewrite.
Quote:
Originally Posted by
pietpetoors
I have Ultimate SEO installed on my zen 1.5.1
I have a product which I will not be selling anymore. I do not want to delete the product, because there are many web sites linking to it. ...
This is not something I would recommend. When customers who have purchased the old product look open their online invoice or order history and click the link they will be shown the wrong product.
Alternative to Redirects
I would suggest an alternative... The alternative allows you to keep your link, customers who have purchased can see the information, new customers and search engines get a link to the new product, and people cannot purchase the old product. It also lets customers searching for the old product know there is a newer version of the product available (or some such verbiage) which may be information your competitors do not provide and may thus provide additional value to your store. Of course this is just a suggestion... Not something you have to do.
Edit the old product doing the following:
- In the description add a note in big bold letters stating "This product has been discontinued".
- In the description add some text (with links in the appropriate places) such as "The new version of this product is XYZ. Learn more about the XYZ today!" or "XYZ is the replacement version of this product. Click here to find out more!".
- Set the product quantity to 0.
And you can set the following store settings for stock ("admin" -> "configuration" -> "stock"):
- Allow Checkout: false
- Show Sold Out Image in place of Add to Cart: true
Optionally modify the sold out image to match your theme if not already done.
With Redirects
In your case you will need at least two additional RewriteRules. You can either specify the full URL w/ the flags [R=301,QSA,L]... Or you can simply rewrite the product numbers (safer for a couple reasons). Note I have highlighted place to put direct 301 redirects in BLUE (not recommended), the places to rewrite the product numbers in RED (recommended), and the relevant place where you need to change product numbers in GREEN.
Code:
...
RewriteEngine on
...
# Place any custom 301 redirects here. Placing them early will force them to take precedence over later rules.
# As RewriteEngine is already turned on we might as well use RewriteRule <match> <location> [R=301,QSA,L]
# Keep in mind redirects should not be used for any page which can be sent POST data.
...
# Redirect if request was for index.php (no query - avoids duplicate page)
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index.php$ / [R=301,L]
...
###############################################################################
# Start Ultimate SEO URLs
###############################################################################
# Redirect requests for product 367 to product 516 (assuming same category)
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-367(.*)$ index\.php?main_page=product_info&products_id=516&cPath=$2&%{QUERY_STRING} [L]
# Handles the new URL formats
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
# Redirect requests for product 367 to product 516 (no category)
RewriteRule ^(.*)-p-367(.*)$ index\.php?main_page=product_info&products_id=516&%{QUERY_STRING} [L]
# Original (unchanged) URL formats
RewriteRule ^(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
...
You may also want to configure USU to "enable automatic redirects" to handle when a product name or category name is changed.
Re: Ultimate SEO 2.200+ (new features)
Thanx a million for this. Up to now I have add a line in the description that the product has been discontinued, but then I have so many products which shows "out of stock" that it (in my opinion) creates a bad perception of the business. The first thing people see is "out of stock" some do not bother to read further and see that it has been discontinued. But I agree, that is a save way to leave the data on there should an existing client want to go and look back on his previous purchase.
Re: Ultimate SEO 2.200+ (new features)
ZC 1.5.1
Edit Orders 4.1
Ty Package tracker 3.1.3
Super Orders 4.0.2
Recover Cart Sales v1.5
Can anyone help me with Step 3 of the installation instructions?
it says:
3. A sample .htaccess file is included. Edit
"3_htaccess/.htaccess" to match your web server's
environment. Pay particular attention to the
"RewriteBase" line. Make sure your server does not have
"MultiViews" enabled (rare).
If you have an existing .htaccess file in the folder
where you installed Zen Cart merge the new .htaccess
file with the existing file (remember rules are matched
in order, so any custom URL transformations or
redirects should appear before the "Start Ultimate
SEO URLs" block. Upload the .htaccess file to the
folder where you installed Zen Cart.
Question 1. Are the 2 steps the same? If they are 2 steps.
Question 2. In which folder can we find the "existing .htaccess file"? Where do I look this file in? Are we talking about the one in the "/myzencart/includes" folder?
Any Help is greatly appreciated.
Re: Ultimate SEO 2.200+ (new features)
thank you. that answers my question concerning which .htaccess file.
I am now in process to create a new zc1.5.1 for this.
Sorry for posting this again further down. I forgot I asked the question before only with a version for zc1.3.9h
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
lhungil
Pay particular attention to the lines in red (copied from README_ENGLISH.txt under INSTALLATION - step 3):
Code:
3. A sample .htaccess file is included. Edit
"3_htaccess/.htaccess" to match your web server's
environment. Pay particular attention to the
"RewriteBase" line. Make sure your server does not have
"MultiViews" enabled (rare).
If you have an existing .htaccess file in the folder
where you installed Zen Cart merge the new .htaccess
file with the existing file (remember rules are matched
in order, so any custom URL transformations or
redirects should appear before the "Start Ultimate
SEO URLs" block).
Upload the .htaccess file to the folder where
you installed Zen Cart.
You should follow these steps in order. So first follow the instructions in the first paragraph. Then follow the instructions in the second paragraph. Lastly follow the instructions in the third paragraph.
I'm not sure what part of these instructions are not clear... Perhaps you can help us by giving a more detailed description of what you are having difficulty with? Any help you provide to help us improve the README is appreciated.
If a language issue (pardon my poor translation skills):
Sube el archivo de .htaccess a la carpeta en la que instaló Zen Cart.
Téléchargez le fichier .htaccess dans le dossier où vous avez installé Zen Cart.
Laden Sie die .htaccess datei in den Ordner, in dem Sie installiert Zen Cart.
上傳的 .htaccess 文件的文件夾中安裝Zen Cart的。
Загрузить .htaccess файл в папке, где установлен Zen Cart.
If you installed USU in "/htdocs/Zencart-01/", then the ".htaccess" should be uploaded to "/htdocs/Zencart-01/.htaccess".
If you installed USU in "/htdocs/Zencart-02/", then the ".htaccess" should be uploaded to "/htdocs/Zencart-02/.htaccess".
If I am understanding this correctly: if there are no .htaccess file in the ""/htdocs/Zencart-01/.htaccess".
" directory, then I do not have to merge anyting and just upload the edited sample file into this directory?
Re: Ultimate SEO 2.200+ (new features)
I follow steep 1, 2 , 3, 4, and 5 in installation instructions and get a green "success ultimate SEO installation completed!" message.
Most to all links in my zc1.5.1 appears to have correctly rewritten urls in the html formats.
Except for the only product category that I have with one dummy product in it. When clicked, it diplays:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
0 HTTP/1.1 200 OK Date: Thu, 23 May 2013 21:40:21 GMT Server: Apache/2.2.22 (Unix) FrontPage/5.0.2.2635 X-Powered-By: PHP/5.3.8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: gzip Vary: Accept-Encoding Keep-Alive: timeout=3, max=199 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 1cf7 �|S]o�0|�_��O������R T�A| !'�&V��{���M��@}��ݙ����h�~��\BC��ͧW�W+���OVR��5|y�����tyP6j��*#��;�!� gRv]�v'���?Ȼ�o�?&4�L+���l9���?0ǧ��c��J�L ��u&���*�!M/��k"�Z�*"�a�?��3��3��V*����e p7p���m1���#�l�l�X�b&v;� (�%���NW�d�t��p����2I,���H�g����&��c��H���LxG��Q@�&ږf[a�,�E| �(\���e�E6�'�w�������� ���$�k�w�X����)'#�� ΡlT�Hٖn��������\�X�a�'�ް�{����h�� ����sp�wݖݞCl��O�=������A�>v �]�j� ��ݪ�9S(��a2�&���Ֆ7�����<`}9����Q���:,b���bP����Jv|pu`�b�z�����~�M���\݇v`�-řct�R�@M���S���"�Q��P��:�9������K�0DO4-9�U����X�ܿ6E 6] y��o~=eb�b@xv��Ư{��!;�}����?����� ���Ӳ����VxvAU~�����k� �B}�U{ˁ�+9{��}L&��a3�*I�&�y9������R�0��<r����5�� 0�`BZ����7����:V.�Yv����w�6v�|'t� 8q-�)0�5۱��F��h=�&�w���V������u2`��=W!�˱�c�s$4��͒�p���R��6jW9fv�LOjk�cI�Sc� ���B}^b$�C.��'��Z��9A��{���c�� '��] �V�V�/�������[_*�3 'Qa�%kT$��� HFSp����c�5d�i�r��k% y����=�V{a"�ھ�v�)t@�e�F���.#e!Ds�-WG��ٝj�[���4\x�_�r1�R��7����JM�8�����XMK�@=��bȥzH� �T�<�m6�iS��U�of'6���(��������I������ rJ���B$�_e_��(P3���2iȀ�WYȶiM����4HZ>O��߇S�6����Lc�l@��0+[g�� �9����m�ba�s�Ex����8J^=��>A���O�go���YY啰�ٸ\��c!�*��v�t�~����)y ϋ� �'��6a~ógS�@a~�J�D� ��.ȔP��6�����ޗ�; �5 �/^PF~���`�~�W�?� T���q�:���1`�5����k-�;��k����@j�U�B6tj�g8�b5"#��ǽ�A)��e�*V���a�1�$����iK�m�٢� B�a�rծ�H�Z�'h*�ژ�ő~,"jt<�����ī�<� ��W�P�~ʒ;Q�� rP��/1;�R��W��t�{nY�cS���5��;��!p��q�ʼn��F��F�Է���C���3"}��&4"1�NZX=s�`���� wW�;��~��ta�4���Ӣ=���0Bg����XK��0>������?Ŭ�x�`4�M���������{g� )r)}ͣ3������� f8&��0���%&��ֹ��>�G�C"�pI�[�%����p��=ul�SKe�A#ޛ��,!U`V��@������������iT�(w��xj��$Di����=�%uKBQ� ^YV&��B�"��TV�i�)�$ �;ܥ6���=M�.�@�"�c���/�\�n��4�u��d�E���~ü��*��G ��6H���l�����{�f� ]���jԑ��Xy�����\(q,�r%�cg/����� �@�Ͼ���Đ.QDG�B0�䥇UTTD��������of��얦���ЬWR�6�c�Φ��#[�Ri�E�*D�<�/�bT�"��!�/ɚ$h�3(�ݑ��,�Y�v߬��z&����f�A��P���CcC��m��~�CB��;y$���r��H�{T���"zi��p $�ζj�H��*`/s�F^���C}C�S~r�i�'])O Bf���C����-�6��ۈ�|P1t����G���4�Ȭ���N��Z�f���#=%�524v��~�+�9��<_h0Ou��$x��n��&���u m����YAn�0<�;����z�ı "R�����Ύ�M�����X�=���|� BG�����G��s_Z��u�o1��麞�Lԡ⊲�j�@DHe��0��$�Y3 >e����H�i"�l#��M�~��Z��N��� H��/覔[-�l�2SS9T���8�T�p��)�f���4t���J��s�yޯhNxj,�{S�@ �\�X�=o�K�]���`�3�?"tx����YA�0�J�v݁�LC�L��0��ى[� X���Ң&��4��+���'� �)R�F�����D���F\Mc�@'�M�>�XAP�Ȅ=����1���S���``c� ��� I��,*$s7��Y\��ћ#n]�;$68.,�i�<�H�%ȶ����3`:�*�*��4 ��!/Z�<@:Z�k�l`͛�m���$���_�G{~���u-Wܛ���RH*"c�%R��<��n�u�7���ZA�@� �0~��>�/H �&�&�ޙ���e�^��v�t:��"1Ùؚ���T|���N1d��ծ�Ҁ*�!a���؊��j��=MB/��'��������B4#�)�c�����/� �9��ī0��[i �j��k�����̉��pyp+�D�,�p�|w��J~m���E �E]�;@�m���"g�O�k3`f�J!�]�1ו'�œR��: 7A�Kf�xYn�7�iB�!w��''��cvYݝ���s�|B�"������Ak�@���+�' ��B�P�Rr���қx���$P�@ ��}og� ��KO�]���ۙ�v,����z������C��~��%��V8�q��4������N]��J�f��p��\�hrk|c3="=êB@C��Y�������)�|�!�?lqsH�읋o�I O֧�'�B�vg�����7>F&��q\^�MX_����,/���%à����T�����d.�)���tj��1��Ȕ"�p�K�{/�3Z�����G|����]V��ms�N KV����0:��fb�.ܴ�EO4U�u�z�q&�V�F-��@l�G�73�-��i�G �XG$�b��+���*����k�tyU ��L��'Q1yX^��7�*z���[�n�0��h� 2U��@څ��SC@C�(L=���瘖���]�:I�y���YQm)����e Y؇�����]�#�1ơB�'X 65`S�4���ø�M/�2��B�O�r�{�����t��D1�D���T%X�A���P���(s?)<8ŀD����K����e�xM�}�?VJ%��Fi�Y���܆��V��� �/R+*K��7�1F}�Ǫ��3<#=ڃ:��6����(f]K� ��<m�~3i�ن��Si���H���hvx(|�/����2�tV�E�ڰ�ײ���уq��ST7�4G��mqzV�r7-UGo��|�=�1����z�h�Q�r��jE�F ���v�q�J�O����B;��5��%tzJR#�U= 9����XIu7�@�r#����L#O��W4>m-eH?�`\L��W�6��k���Uk����+�ő�����}�%M"�x�������ȃt�Tl�So!pX��hx���yQ>w�P��G ��y<�^.��, t�en[��:i���V��o�;�����$�BΒ�Ɵ☺��="��tp�i����\���pM�~�� v�k�;���q+�� ���L�I��3��28��=I�yu!����w�+"T&v�� �j��<������,b�M�+�2�UU�Snt6z]Q�?���\� �0��~�8��� 2&>W7PP6(2�{O.�lu�|.��Ir�%�Z�Ư�"y�Kz�&���}���H�.�Z���d��K��������bɒ~k� �Gm�g� ��ϛ��!�-�i�D�U7���e1M��74\�zШ>$�E+��]�O�G�V�8�Ɩ*�#~2�M�_�L��c���ӫ���ȩ�]/aD �Y�y�)��Q$���#k,ZZ�ͱw��������cRF[��k�q��1Z�Ьj�4�u�O�%�M�dp˨_����Os��8|�Yo�>v�-X�6�]�j? ~��y� �zv�Lj�f"4~��CP�2>���\9�0� /�dh�=5�����3�S�)N�Zk��)�lє%T�+k�`h_�lj~E��H�^穎�F�"*������� ���I��l�����~VC�T�c/�>H�J��Ir�M!V��àB �7�cp�@x ;��7���@���ѵ�@��[.��I!�������)�U=���.T $6ӎ�lQӁ���}0�[���.� �88}�Ħ�TL�"��</T�jz������*���j�6c�d:�3F =R�)��8i��_���\� �0����?�-=��Cϒ�X�j�/��w&�hRB�7]tL��dv6��-$T�\������^`%����4�Ղ���k�3g;���t������`�(��F9�|��Ǥ���$��Q���@t�Y ��a���&&e' G��h�E��]_���X�+���k�Zt�݂��7Y4DžA������#ҋ�����&"[g�Fw�Mrr�]�c.+��C ��@~���e0��K&�W�9*�U��'�����ZS����M-b2M7T)��mx� ��=�B�����R> elDn~Q*��NXU �rH�1�F�h��_�Á�����M3�R�.�h�w�4����FЕQ��h�)�Ȧ�k� �)&H��OYh��-u�g�C�J#��A�Y�BXON�����=�cݰ&%���[8{��Kr*�S⩐���J�;J�!lH`{�F8�܌p<�!�u�Z���\�N�@�����ĀЭ��h=Xcb1�#7���� �}og�@���&�0�BY���{�6� �^#w�@�Qڪ��-�6r��M�f�pZNc���=b{����C�1�hT�*��3,ق�Q��1ll�B�K�9(�w���Ė+Qw�S�~43�M��&ں )�at�fF�����h�t���[m�;~�����,a ���7��3�.+,R"�� ��#�P���i��ؐ�֊Fo�|����{B�,����k:Vx�@b�K��!��e]S����2�-$X��p������|i@���mj$~|��ӝH��?9M���a|�D33WW�*��11&��GX����� #UYS����k����|[�_�6GG�R�"桚����sb��V��sUA�e�<�m|������� �@��Ż�{�W��V�"">��dӲm��I�%ѭ13I&��2��y~����� #���� G�s��C�È\9�Ь�B�YWHYC����D>z�W$<���0���&4 P ]�/���j`M�C��նS������|�3�X�Ռ�̘�e0k�A�ˊ��o�`ܝ7���K��E}��]]Tվ�S�eXp;�{]D2讇���t����xa��^bk|�<�?��Y*�՚����ݫ$P㔢Q�<����(�8�Ii��5�g�#t��ؒ��^��}hS��я ՁY�����\A �0��?�]O��+� z�m���d�&��D��&��v�ٙ1u�=�4k�(CfK��c9�|�"����*�Wh�P�4_�O�U� ĿI���ՏF��J/LK[.d�%-n���Nk�&,N(X��o���̟3j�8����Q^9�I�9�R$iݎ�l۔bywp(4�}�H[�@��\�OB��cy-��x��"g��ݗ[�Xe�nj�0���4�����Gl�P5qq��6�'����SXyD ;��+p��1XS5�sʄ�YւJ�p����A�(�*�h�Oj:�tmh"��azAu7�5�����2�V�b���b����(pW� Y���C>.�Q����4��R�B�h���F����-�)KP�=0�E>��G9���-E���%��0o��!u�����5��S��GJ���'�xI@J%��:{ݎ��!���a 0 1f4
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
0
Why is this? Am I missing something? any help please?
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
twi
...
Most to all links in my zc1.5.1 appears to have correctly rewritten urls in the html formats.
Except for the only product category that I have with one dummy product in it. When clicked, it diplays:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
...
Why is this? Am I missing something? any help please?
The server encountered an internal error or misconfiguration and was unable to complete your request. <-- this means exactly what it says (The WEB SERVER encountered an INTERNAL ERROR).
The answer is the same as has been posted in other plugins and threads. First look for any Zen Cart "debug" files. Then look through your hosting providers server error logs / php error logs. If you do not have access, then contact your hosting provider and ask them for access to these.
As this is occurring with only one specific category, the problem is most likely NOT with USU. As has been pointed out in the past, a link to your site (and the specific problem page) would be useful.
Re: Ultimate SEO 2.200+ (new features)
Thank you. I will look into the error logs first and contact the host for access if needed. Then report again.