Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SEO - HTACCESS


Sam666

Recommended Posts

My hosting provider disallows the "Options" command in HTACCESS for security reasons, I tried using Ultimate SEO and SEO-G but they both have the command in the HTACCESS. Is there any way around this? Any alternative? Do I need it?

Link to comment
Share on other sites

If you cant use .htaccess and still want to seo up your urls there is really only one option open for you ... look for c-name & p-name in the contributions section...

 

 

It adds product names and category names to the urls and do not require .htaccess rewrites

Link to comment
Share on other sites

If you cant use .htaccess and still want to seo up your urls there is really only one option open for you ... look for c-name & p-name in the contributions section...

It adds product names and category names to the urls and do not require .htaccess rewrites

Ok, i tryed the other SEOs with out the options command and it did not work.
Link to comment
Share on other sites

Move to a host that supports the package. You are basing your livelihood on this, or I assume so, so you shouldn't place yourself in a bad position because your host doesn't have what it takes to let the shop run at its best.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Ok, i tryed the other SEOs with out the options command and it did not work.

 

 

cname & pname

Link to comment
Share on other sites

Move to a host that supports the package. You are basing your livelihood on this, or I assume so, so you shouldn't place yourself in a bad position because your host doesn't have what it takes to let the shop run at its best.

 

Jack

Not an option atm, i'm low on funds :'( , will it make a lot of difference?

 

 

I found it thanks, looks an easy install :)
Link to comment
Share on other sites

Just installed the cname & pname, works fine apart from the pname, the link to the products isn’t using the new pname, but when your viewing the product page, the "add to cart button" uses the new pname?

 

I noticed it didn't do pnames on the other SEO/SEFs when I tested them, they weren’t working but obviously I could still see the link.

Link to comment
Share on other sites

Not an option atm, i'm low on funds :'( , will it make a lot of difference?
Cname & pname is better than nothing. It doesn't do the job correctly though, which is why it was replaced. If you don't have a choice, then that is the way to go.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Just installed the cname & pname, works fine apart from the pname, the link to the products isn’t using the new pname, but when your viewing the product page, the "add to cart button" uses the new pname?

 

I noticed it didn't do pnames on the other SEO/SEFs when I tested them, they weren’t working but obviously I could still see the link.

 

 

You can also look at:

 

Ultimate SEO URLs v2.0b Chemo 7 Feb 2005

 

Its the latest version which also includes cname & pname too..... (Admin switch for rewrite metode)

Link to comment
Share on other sites

You can also look at:

 

Ultimate SEO URLs v2.0b Chemo 7 Feb 2005

 

Its the latest version which also includes cname & pname too..... (Admin switch for rewrite metode)

What? I tried the latest version and it required the HTACCESS mod, Cname & Pname works but the pname doesn't? It doesn’t change the link like the cname does, and it's still the same link. So why is that?
Link to comment
Share on other sites

What? I tried the latest version and it required the HTACCESS mod, Cname & Pname works but the pname doesn't? It doesn’t change the link like the cname does, and it's still the same link. So why is that?

 

 

The version of ultimate seo i mentioned has cname and pname included in the mod....this is so that it could work for servers where mod rewrite were not available.....

 

after install there is an admin setting where you can choose metode of url rewrite , setting this the cname and pname will give you those urls without using htaccess

 

while setting it to rewrite mod will give you ultimate seo style urls but then it requires the .htaccess rewrite too...

 

I mentioned this since you did not have luck with the original cname and pname version....

 

Some say that the one included with, Ultimate SEO URLs v2.0b Chemo 7 Feb 2005 , is a better version....so it might be worth a try.....

 

(Att...its not included in any of the versions after that one......)

Link to comment
Share on other sites

The version of ultimate seo i mentioned has cname and pname included in the mod....this is so that it could work for servers where mod rewrite were not available.....

 

after install there is an admin setting where you can choose metode of url rewrite , setting this the cname and pname will give you those urls without using htaccess

 

while setting it to rewrite mod will give you ultimate seo style urls but then it requires the .htaccess rewrite too...

 

I mentioned this since you did not have luck with the original cname and pname version....

 

Some say that the one included with, Ultimate SEO URLs v2.0b Chemo 7 Feb 2005 , is a better version....so it might be worth a try.....

 

(Att...its not included in any of the versions after that one......)

Oh right, but I still get the pname problem with that as well for some reason?
Link to comment
Share on other sites

Oh right, but I still get the pname problem with that as well for some reason?

 

Some points to check...

 

 

1. Have you totally removed all the mods from the Search Engine Friendly URLS Contrib from your site?

 

2. Check if you are hosted on a PHP/MYSQL 5 server, then the code in those contribs might need some fixes to run correctly....

Link to comment
Share on other sites

Just for fun i did a test instal of cname & pname v1.5 on a test site running on PHP/MYSQL 5, it was a very easy install and worked straight out of the box for both products and for categories...

 

Att: the test site used runs MS2.2 060817 and not RC1.

Edited by toyicebear
Link to comment
Share on other sites

Some points to check...

1. Have you totally removed all the mods from the Search Engine Friendly URLS Contrib from your site?

 

2. Check if you are hosted on a PHP/MYSQL 5 server, then the code in those contribs might need some fixes to run correctly....

 

1.) Yes

 

2.) PHP Version 4.3.6 and MySQL 4.1.11 and i'm using OSC RC1.

 

The cname worked fine for me too but the pname didn't do anything, didn't change the link at all and I have no idea why? And it's not just that package, did it on Ultimate SEOs but the link didn't work then aswell :lol:

Link to comment
Share on other sites

Link to comment
Share on other sites

I think it might just be my version because its a heavily modded template, anything obvious that would make the pname not SEO?

 

 

If the used product links are coded using a non-standard osc link , then they will not be rewritten

Link to comment
Share on other sites

Tried it on RC1 and it worked straight out of the box on that one too....

Link to comment
Share on other sites

How to check? and what do you mean "used" ?

 

 

if you use the original modules like new_products.php and product_listings.php and boxes like specials.php and whats_new.php then it should work....

 

If you use custom versions of these ones, if the product links is not made in the osc way in the php code..they will not rewrite

Link to comment
Share on other sites

if you use the original modules like new_products.php and product_listings.php and boxes like specials.php and whats_new.php then it should work....

 

If you use custom versions of these ones, if the product links is not made in the osc way in the php code..they will not rewrite

Silly me, I just noticed it shows the correct Pname when I hover over the image instead of the details button which is still the same :blush: . Thanks for the help and sorry for being a bit lind :thumbsup:

 

One more question though, regarding this thread "http://www.oscommerce.com/forums/index.php?showtopic=254741" Shall I use the cname & pname and carry out tasks 2-8?

 

About 7 and 8, should I still do them and when you set Prevent Spider Sessions to "True" do you set it back to false after you have done no 8 or leave it off?

 

thanks ;)

Link to comment
Share on other sites

Silly me, I just noticed it shows the correct Pname when I hover over the image instead of the details button which is still the same :blush: . Thanks for the help and sorry for being a bit lind :thumbsup:

 

One more question though, regarding this thread "http://www.oscommerce.com/forums/index.php?showtopic=254741" Shall I use the cname & pname and carry out tasks 2-8?

 

About 7 and 8, should I still do them and when you set Prevent Spider Sessions to "True" do you set it back to false after you have done no 8 or leave it off?

 

thanks ;)

 

 

You have already done number 1 with cname & pname

 

You can proceed through the rest of the steps from 2 and up...

 

About 7, Prevent Spider Sessions to "True" , it should stay set to "true" permanently....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...