Jump to content
Sign in to follow this  
BlueYon

Seach Engine Friendly URL Support

Recommended Posts

I also use both contributions for my webshop, sef and header tags seo. have the same problem. i think the problem is in the header tags contribution, first the sef module rewrite the url, and there is no match in the header_tags.php . the header tags conrib works, but not with sef-url.

 

example:

http://shop.motorsportvideo.tv/DVD-Video/M...uerburgring-52/

and

http://shop.motorsportvideo.tv/product_inf...?products_id=52

it is the same product

 

*I'm confused*

Share this post


Link to post
Share on other sites

Hi,

 

I installed an early version of this contribution, all works fine...

 

Can anyone tell me how I can add an additional :: after the catagory?

 

At the moment it shows up as HOME :: TROUSERS

 

I would like it to show up as HOME :: TROUSERS ::

 

Can anyone help or assist me on this matter?

Share this post


Link to post
Share on other sites

Its possible use this Addon with STS and HTC???

 

Any support yet on this thread?????????

 

 

Tx in advannce


OScommerce Rocks!

Share this post


Link to post
Share on other sites
I figured it out BlueYon....It had to do with httpd.conf....I had to add the AcceptPathInfo directive to httpd.conf.

 

I have to figure out how to address the bullet symbol though with its ISO 8859-1 character set value :(

 

The strip array also works flawlessly now on my page with the following :

 

$strip_array = array("","","`","","•",chr(174),chr(169),chr(33),chr(34),chr(35),chr(36),chr(37),chr(38),chr(39),chr(40),chr(41),chr(42),chr(43),chr(44),chr(47),chr(60),chr(91),chr(92),chr(93),chr(94),chr(95),chr(96),chr(123),chr(124),chr(125),chr(126),chr(146),chr(147),chr(148),chr(151),chr(153),chr(B7),chr(176) );

 

Thanks for your great contribution!

 

please tell me where is httpd.conf on /public_html/

Where do I create it?

Where is the code $strip_array goes, in what file?

thanks very much

Share this post


Link to post
Share on other sites

This Addon seems to be of great value.. I have recently added it to my website. I seem to be getting some errors.

 

For watever reason, when i click any link, it goes to the same page. I have not done anything different then wat was told for me to do in the most recent installation files, am I missing any fixes?.. i did the 404 error fix.

 

Also Users cannot add to cart from the page which is currently being viewed.

 

The website is http://www.ocofficefurniture.com/index.php

 

I will be more then happy to compensate anyone for their time if they are able to fix this error. It is very important to me. I can also provide any information you request.

 

Thank you for your help in advance.

Share this post


Link to post
Share on other sites

i got an error. Everytime i go to the category section, the page only shows all the listed categories and not the selected category instead.

 

does anyone knows why ?

Share this post


Link to post
Share on other sites
i got an error. Everytime i go to the category section, the page only shows all the listed categories and not the selected category instead.

 

does anyone knows why ?

 

it turned out that everytime i go to the selected category then the link appeared as :

http://localhost/index.php?cPath=DVD-Movies/Cartoons

 

 

why does the "index.php?cPath=" link appeared ?

Share this post


Link to post
Share on other sites
it turned out that everytime i go to the selected category then the link appeared as :

http://localhost/index.php?cPath=DVD-Movies/Cartoons

 

 

why does the "index.php?cPath=" link appeared ?

this happened actually because i set the .htaccess to :

RewriteRule ^(.*)/$ http://localhost/osc2/catalog/index.php?cPath=$1 [L] (which actually a modification by nosferatu 9may08)

 

but when set to :

RewriteRule ^(.*) index.php (default) then it went normal

 

the big problem is like what googlejunky said on 7 may 08 update, that if you type :

domain.com/porn

domain.com/porn.html

domain.com/anything_here/more_stuff

 

then it;ll be redirected to index.php that can cause duplicate content by the search engine and this is bad..

 

I think this can be fixed using the .htaccess, but i don;t know how

Share this post


Link to post
Share on other sites
... that if you type :

domain.com/porn

domain.com/porn.html

domain.com/anything_here/more_stuff

 

then it;ll be redirected to index.php that can cause duplicate content by the search engine and this is bad..

i think you may have been brainwashed by some on the osc forums for a fear that does NOT actually exist. you submit sitemaps to SEs and then they would just following the urls on the sitemaps to crawl your site. Google or any other SEs will NOT come to test or type (can they type?) different URLs to see if you got "duplicate" content so that they can "penalise" you - it is NOT to their interest to "penalise" anyone - their job/interest is to find contents that people may be interested in searching, which is their lifeline.

if a human surfer are so bored that s/he kills her/his time typing different combinations of urls, well, the only loss to you is just a little bandwidth, and thats all.

 

on the other hand, if one is stupid enough to submit different URLs all of which point to the same page/product, then google would see it as a deliberate attempt to mislead trying to gain higher PR than it actually deserves, in which case the site in question not only gets penalised but may also be completely removed from google index, and, only then, you are in big trouble...

 

Ken


commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Share this post


Link to post
Share on other sites

Installer fails at the first step

 

Cannot read file 'includes/boxes/currencies.php' . Try to change file permissions and click the "Retry" button.

 

This file does not exist in the directory specified, so I cannot change the permissions.

 

I have checked the os commerce installation files too, it's not missing, it does not exist.

Share this post


Link to post
Share on other sites

Sounds like you're trying to install a 2.2 contribution on a 2.3.1 site.


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

I installed Search Engine Friendly URL v1.13 as Updated by: Google Junky on March 16, 2008

 

Please help me eliminate duplicate content for Manufacturer URLs. How do I edit the code so that the manufacturer part of the URL is only for the manufacturer's page and the products listed on the page do not have the manufacturer's part at the beginning of the URLs, for example I want: www.mysite.com/manufacturer and www.mysite.com/category/product but I do not want: www.mysite.com/manufacturer/category/product.

Share this post


Link to post
Share on other sites

I installed Search Engine Friendly URL v1.13 as Updated by: Google Junky on March 16, 2008

 

Please help me eliminate duplicate content for Manufacturer URLs. How do I edit the code so that the manufacturer part of the URL is only for the manufacturer's page and the products listed on the page do not have the manufacturer's part at the beginning of the URLs, for example I want: www.mysite.com/manufacturer and www.mysite.com/category/product but I do not want: www.mysite.com/manufacturer/category/product.

Using a 4 year old contribution when there are others that do the job better is not the best choice, in my opinion. Ultimate SEO V2.2d and SEO 5 are the most commly used so you may want to consider using one of those.

Share this post


Link to post
Share on other sites

when I hit the install button it give me this error

 

"Cannot read file 'includes/boxes/currencies.php' . Try to change file permissions and click the "Retry" button. "

 

I look in my files and I don't even see that file there to set the permissions for?

 

What did I do wrong?

 

Thank you

 

Adamanto75

Share this post


Link to post
Share on other sites

Im getting this message and not sure what to do. I can't find this at all in the index.php file within the download.

Cannot replace:

// optional Product List Filter

if (PRODUCT_LIST_FILTER > 0) {

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

$filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";

} else {

$filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name";

}

$filterlist_query = tep_db_query($filterlist_sql);

if (tep_db_num_rows($filterlist_query) > 1) {

echo ' <td align="center" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' ';

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);

$options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));

} else {

echo tep_draw_hidden_field('cPath', $cPath);

$options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));

}

echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']);

while ($filterlist = tep_db_fetch_array($filterlist_query)) {

$options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);

}

echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');

echo tep_hide_session_id() . '</form></td>' . "\n";

}

}

 

 

 

with:

// optional Product List Filter

if (PRODUCT_LIST_FILTER > 0) {

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

$filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";

} else {

$filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name";

}

$filterlist_query = tep_db_query($filterlist_sql);

if (tep_db_num_rows($filterlist_query) > 1) {

echo ' <td align="center" class="main">' . tep_draw_form('filter', tep_href_link(FILENAME_DEFAULT,tep_get_all_get_params()), 'get') . TEXT_SHOW . ' ';

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

if (SEO_ENABLED == 'false')

echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);

$options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));

} else {

if (SEO_ENABLED == 'false')

echo tep_draw_hidden_field('cPath', $cPath);

$options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));

}

echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']);

while ($filterlist = tep_db_fetch_array($filterlist_query)) {

$options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);

}

echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');

echo tep_hide_session_id() . '</form></td>' . "\n";

}

}

 

 

 

in the 'index.php' file.

 

Clik the "Edit Manually" button to edit the file manually

 

I then click 'skip' and get the following message

 

"Cannot read file 'includes/boxes/currencies.php' . Try to change file permissions and click the "Retry" button." And this file does not exist in that location.

Share this post


Link to post
Share on other sites

I have safe url option at my stock OSC 2.3.1 installation, but I never use it. If I have some back links at different catalogues in stock format such as:

http://carmag.com.ua/index.php/cPath/22

and I will change it to the safe format:

http://carmag.com.ua/index.php?cPath=22

may it cause some problems of SEO? The old back links seemed to work well, but I know Search Engines are very fretful, so I afraid to damage my sites ranks. Could someone advice what to do?

Thanks at advance.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×