Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,671

Results 4,621 to 4,640 of 5,058
24 Nov 2010, 3:52 AM
#4621
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Simple SEO URL (OLD version) [support thread]

jamie951:

Is anyone else getting broken page links after following the Ultimate SEO urls installation instructions? I followed them except for:

  1. A sample .htaccess file is included. Simply rename to .htaccess and edit the word /shop/ to match your site

Not doing this step as i didn't understand it, would this be the reason the categories links don't work anymore.

If you following Ultimate SEO urls installation instructions and trying to install simple seo url it will not work. Are you trying to install Ultimate SEO urls or Simple Seo URL?

24 Nov 2010, 7:37 AM
#4622
fecomm avatar

fecomm

New Zenner

Join Date:
May 2010
Posts:
3
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

If a URL has a plus sign (+) in a dynamic URL, it creates an indefinitely redirect loop. How can this be fixed?

24 Nov 2010, 11:34 AM
#4623
toyseller avatar

toyseller

Zen Follower

Join Date:
Jun 2008
Location:
UK
Posts:
209
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

My 1.3.8 website was hacked and my host installed 1.3.9h as this has more security features.

I got someone to install Simple Seo Url's for me as this is what I previously had installed.

But I am having all sorts of problems .... relating to redirection of files.

Some of the problems I have noticed are .... my robots.txt file is showing a 403 forbidden message.

My sitemap index is marked with an X in Google webmaster tools
and the sitemap product file is showing a 403 forbidden.

If I clear out all the Simple Seo caches in admin/extras I can click on my website and move around my website. As the caches fill up then I find that I cant get into some of the categories on my websites front page as it says the links are broken.

I can clear out the caches and load products up to googlebase but as time progreses the google base products start being marked as disallowed until all products are disallowed.

I think its the coding in the .htaccess file but I dont have any understanding of what the Rewrite lines are actually doing.

24 Nov 2010, 3:04 PM
#4624
tally622 avatar

tally622

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I have downloaded and installed Simple SEO along with Module Manager and everything worked great right out of the box. Problem is, I'd like to do some fine tuning except that when I click on Extras/Simple SEO URL Manger I get an IE cannot disply the page message. The ssu.php file is there and the address is correct. I seemed to remember reading about this before I did the installation but I can't find it now. Any Help?

24 Nov 2010, 5:05 PM
#4625
jamie951 avatar

jamie951

New Zenner

Join Date:
Nov 2010
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

.hjfukdfgy

24 Nov 2010, 5:06 PM
#4626
jamie951 avatar

jamie951

New Zenner

Join Date:
Nov 2010
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

countrycharm:

If you following Ultimate SEO urls installation instructions and trying to install simple seo url it will not work. Are you trying to install Ultimate SEO urls or Simple Seo URL?

It's the 'ultimate_seo_urls_2-110'
and I followed the instructions that came with it.

I can imagine this is going to be a nightmere to get working correctly. Is there any safe paid services out there that can do this?

24 Nov 2010, 11:56 PM
#4628
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Simple SEO URL (OLD version) [support thread]

I Installed the Simple SEO URL but after installation when I click on any product or any page it gives me a different link, but the page is not found. How can I fix that problem?
Does anyone know what files I have to edit to change my links and fix the error? I’m using 1.3.9G version. Thanks

25 Nov 2010, 1:00 PM
#4629
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

Delete post

25 Nov 2010, 1:03 PM
#4630
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

shahram:

I Installed the Simple SEO URL but after installation when I click on any product or any page it gives me a different link, but the page is not found. How can I fix that problem?
Does anyone know what files I have to edit to change my links and fix the error? I’m using 1.3.9G version. Thanks
Make sure your .htaccess rule are correct. Most of the problems people have is there because they don't create the rules right.

25 Nov 2010, 4:42 PM
#4631
jamie951 avatar

jamie951

New Zenner

Join Date:
Nov 2010
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

How do you change these hta rules?

25 Nov 2010, 9:14 PM
#4632
flix avatar

flix

New Zenner

Join Date:
Mar 2010
Posts:
33
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hi there

I am trying to pimp my links manually which works pretty well for category and product links:

E.g. I can hypotetically replace myshop.com/product_aaa by myshop.com/product_bbb by setting the config file as follows....

/includes/classes/ssu/local.config.php

	$ssuLocalConfig = array(
		'plugins'		=>	array(
									'parsers'	=>	array('manufacturers', 'news_articles')
								),
		
		'languages'		=>	array(	'fr'	=>	'default',
									'ru'	=>	'ru',
									)
	);

... and finally defining the link name replacement as follows:

/includes/classes/ssu/plugins/languages/default.php

    class SSULanguageDefault extends SSULanguage{
        static function parseName($name){
	        
	        
        $name = str_replace("product_aaa", "product_bbb", $name));
        
        $name = strtolower($name);

... and so on....
       

But what I am no able to do is to replace the links I have in my INFORMATION BOX: shippinginfo, specials, contact_us etc. links!!!!

E.g. I want to replace myshop.com/index.php?main_page=specials by myshop.com/index.php?super_mega_specials

How can I do that? I have no clue!

I know that SSU automatically replaces myshop.com/index.php?main_page=specials by myshop.com/index.php?specials

=> But I want it to be 'super_mega_specials' :cool:

26 Nov 2010, 1:40 AM
#4633
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

jamie951:

How do you change these hta rules?
Your .htaccess file is the file you create and need to go in the folder that it needs to control. You needs to make sure it is setup correctly. Some people don't or don't know how to set it up correctly and that's why they have so many problems with the links or 500 errors.

keep in mind. Maybe to completely understand .htaccess stuff I want to clarify.

.htaccess need to go in the folder that it needs to control.
.htaccess RewriteBase or Base needs to be set relative to the folder structure of the domain. If installed in a sub directory of the domain, RewriteBase /subdir/

This has nothing to do with the root /public_html/ in your hosting account just with the location relative to the domains root.

Your domain root might be /public_html/mydomain but test zencart is installed /public_html/mydomain/testzen so .htaccess will be put in /public_html/mydomain/testzen but you have to set RewriteBase /testzen/
If just /public_html/mydomain/
it will be RewriteBase /
Every simple seo file and .htaccess needs to be under /public_html/mydomain/ to work. Hope this makes sense to you.

26 Nov 2010, 2:50 AM
#4634
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

flix:

Hi there

I am trying to pimp my links manually which works pretty well for category and product links:

E.g. I can hypotetically replace myshop.com/product_aaa by myshop.com/product_bbb by setting the config file as follows....

/includes/classes/ssu/local.config.php

$ssuLocalConfig = array(
    'plugins'        =>    array(
                                'parsers'    =>    array('manufacturers', 'news_articles')
                            ),
    
    'languages'        =>    array(    'fr'    =>    'default',
                                'ru'    =>    'ru',
                                )
);
> 
> /includes/classes/ssu/plugins/languages/default.php
> 
> ```
    class SSULanguageDefault extends SSULanguage{
        static function parseName($name){
            
            
        $name = str_replace("product_aaa", "product_bbb", $name));
        
        $name = strtolower($name);

... and so on....
       
```But what I am no able to do is to replace the links I have in my INFORMATION BOX: shippinginfo, specials, contact_us etc. links!!!!
> 
> E.g. I want to replace myshop.com/index.php?main_page=specials by myshop.com/index.php?super_mega_specials
> 
> How can I do that? I have no clue!
> 
> I know that SSU automatically replaces myshop.com/index.php?main_page=specials by myshop.com/index.php?specials
> 
> => But I want it to be 'super_mega_specials' :cool:
I probably can point you in the right direction.  
includes/languages/Your_custom_folder/english.php
Find and replace with the name of your that you want to use.
```php
// specials box text in sideboxes/specials.php
  define('BOX_HEADING_SPECIALS', 'Specials');
  define('CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');
26 Nov 2010, 5:31 PM
#4635
flix avatar

flix

New Zenner

Join Date:
Mar 2010
Posts:
33
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hi Countrycharm

Thanks for your guidance!

Unfortunately, I did not find your mentioned file includes/languages/Your_custom_folder/english.php.

Instead I found includes/languages/english.php which includes the code lines you have mentioned.

In this file, I have changed the mentioned code lines to:

  define('BOX_HEADING_SPECIALS', 'SpecialsXXX');
  define('CATEGORIES_BOX_HEADING_SPECIALS','SpecialsXXX ...');

Unfortunately, this does not change the URL/link I see in the browser address but only the headings in my shop:

Furthermore, I want to make the same kind of changes to the URLs that the user sees if he clicks on 'Shipping & Return', 'Conditions of use', etc.

I would expect that I have to change that somewhere in the SSU classes... maybe in one of the parsers? Or didn't I understand your guidance correctly and I am completely on the wrong track here?

26 Nov 2010, 5:32 PM
#4636
jamie951 avatar

jamie951

New Zenner

Join Date:
Nov 2010
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Thanks for your reply countrycharm.

I think I might go with one of these paid 'Zen cart help' SEO services that are available as this looks too complicated.

27 Nov 2010, 5:46 PM
#4637
flix avatar

flix

New Zenner

Join Date:
Mar 2010
Posts:
33
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I found the answer to my question:

Got to ZC Admin -> Extras -> SSU -> Manage Aliases

There, it is possible to change any static (i.e. non product/category name dependent) URLs by defining permanent aliases.

Therefore, I came to the following conclusions:

i) Changing individual (special) characters in dynamic (i.e. product/cat. name dependent) URLs: Use str_replace function in file /includes/classes/ssu/plugins/languages/default.php

ii) Changing static URLs e.g. defined by the file name of the page being called (e.g. shippinginfo.php => URL will be your_store/shippinginfo/: Use aliases via the ZC Admin to change these kinds of URLs

While i) is obviously perfectly multi-language compatible, I think that ii) does not work with multiple languages ;( Does anyone have a clue how I could success to have e.g. /shippinginfo for English users and /Versandinfo for German users etc.? I don't see any multi language support in the Alias part of SSU!?!?!?

27 Nov 2010, 7:04 PM
#4638
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

flix:

I found the answer to my question:

Got to ZC Admin -> Extras -> SSU -> Manage Aliases

There, it is possible to change any static (i.e. non product/category name dependent) URLs by defining permanent aliases.

Therefore, I came to the following conclusions:

i) Changing individual (special) characters in dynamic (i.e. product/cat. name dependent) URLs: Use str_replace function in file /includes/classes/ssu/plugins/languages/default.php

ii) Changing static URLs e.g. defined by the file name of the page being called (e.g. shippinginfo.php => URL will be your_store/shippinginfo/: Use aliases via the ZC Admin to change these kinds of URLs

While i) is obviously perfectly multi-language compatible, I think that ii) does not work with multiple languages ;( Does anyone have a clue how I could success to have e.g. /shippinginfo for English users and /Versandinfo for German users etc.? I don't see any multi language support in the Alias part of SSU!?!?!?

You may be able to get the author of the module to help you out. You can go here for more information.

29 Nov 2010, 10:12 PM
#4639
dcaspian250 avatar

dcaspian250

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hey guys,

I have tried various combinations in the htaccess file. At best I am able to make everything display, but break my cart... the "add to cart" button brings up my cart, but no products are added. At worst, my Zencart folder is ignored and it tries to redirect me to example.com/my-product-category-c1

Here are the contents of my htaccess file, without my attempts at non-www to www redirection. Would anyone be able to tell me how I can implement non-www to www redirection without breaking my shopping cart?

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

Make sure to change "test_site" to the subfolder you install

ZC. If you use root folder, change to: RewriteBase /
RewriteBase /online_store/

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

EOF SSU

If it matters, I do have non-www to www redirection working properly on the rest of the site, using htaccess in the root folder. It's just when I get into the Zencart folder, online_store, and it's custom .htaccess file that I run into trouble.

Does anyone know what I add to the code above to make it work?

Best Regards,
Daniel

30 Nov 2010, 3:53 PM
#4640
voodoo1967 avatar

voodoo1967

New Zenner

Join Date:
Jun 2009
Posts:
5
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Great addon.
As a former tester - can I ask - has anyone done any actual real tine experiments here with Google. For example - get 2 identical sites or even just 2 product pages. One that has been SEO'd and the other just left as standard - and then look at the Google ratings to see which one gets A. more traffic and B gets rated higher by Google