Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ULTIMATE Seo Urls 5 - by FWR Media


Recommended Posts

Jonathan,

Do you have a link to your site? Did you do a straight install, or do the mods like listed below your orginal thread? Is your store stock? If not, what contibs do you have working with this one?

Thanks!

 

Anyone else that has this on a Windows server please post a link to your site.

I don't have external access to this server as this is in replication with out external facing server. I did install the mod rewrite package as listed and then imported the .htaccess file. Work quite nicely. I have it running with SEO5 on rewrite mode and works nicely.

Link to comment
Share on other sites

I tried but it didn't work.

 

<script language="javascript"><!--
document.write('<?php echo '<a href="' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], PRODUCTINFO_IMAGE_WIDTH, PRODUCTINFO_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], PRODUCTINFO_IMAGE_WIDTH, PRODUCTINFO_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '
<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; }?>
</noscript>

 

I am running the lightbox mod along with multi images.

 

Could anyone post me the code I would need as I am not the best by any means on PHP.

Link to comment
Share on other sites

USU5 should be compatible with anything if it is correctly written and using tep_href_link()

 

Header tags however has an issue where it cannot handle path based uris if you are using the standard uris as opposed to rewrite.

 

 

I am using standard uris indeed, and I will try to change to rewrite.

 

Can I have the # mod_rewrite enabled # AllowOveride set to All in the .htaccess and only there?, not sure how to handle in the server itself.

 

Bit of a relief dough.

Link to comment
Share on other sites

I think I've got the Google Sitemap working with USU5 using the two files distributed in 'extras'.

Could someone please take a look at these lines and tell me if they are right?

 

sitemapcategories:

<loc>http://www.emti.no/catalog/index.php/bryllup-brud-c-27</loc>

 

sitemapproducts:

<loc>http://www.emti.no/catalog/product_info.php/lp005-200mw-ultra-long-range-mile-green-laser-pointer-with-amazing-stars-pattern-head-p-1131</loc>

 

sitemapspecials:

<loc>http://www.emti.no/catalog/product_info.php/bg035-ball-gown-strapless-asymmetrical-satin-tulle-wedding-dress-p-744</loc>

 

I'm not sure if this is right, filename and '/' in these lines? (Google does not complain on this..)

Link to comment
Share on other sites

Duplicate Post.

Edited by FWR Media
Link to comment
Share on other sites

I think I've got the Google Sitemap working with USU5 using the two files distributed in 'extras'.

Could someone please take a look at these lines and tell me if they are right?

 

sitemapcategories:

<loc>http://www.emti.no/catalog/index.php/bryllup-brud-c-27</loc>

 

sitemapproducts:

<loc>http://www.emti.no/catalog/product_info.php/lp005-200mw-ultra-long-range-mile-green-laser-pointer-with-amazing-stars-pattern-head-p-1131</loc>

 

sitemapspecials:

<loc>http://www.emti.no/catalog/product_info.php/bg035-ball-gown-strapless-asymmetrical-satin-tulle-wedding-dress-p-744</loc>

 

I'm not sure if this is right, filename and '/' in these lines? (Google does not complain on this..)

 

Both standard and rewrite uris are perfectly valid: -

 

Link to comment
Share on other sites

How can I create a new rewrite for pages.php, the links are pages.php?pID=1 or pages.php?CDpath=1 and how do the custom 404 pages work, if I type in something wrong I just get the normal page cannot be displayed and not the custom 404 error page

Link to comment
Share on other sites

Horaaay FWR it works!!

 

I needed to comment a line in htaccess and in contact with my hosting now is working!! Just to be sure, i added your code to the htaccess in www.whatever.es/ folder not in the www.whatever.es/shop/catalog/ is that the correct place? i can copy the previous content if you need.

Link to comment
Share on other sites

Horaaay FWR it works!!

 

I needed to comment a line in htaccess and in contact with my hosting now is working!! Just to be sure, i added your code to the htaccess in www.whatever.es/ folder not in the www.whatever.es/shop/catalog/ is that the correct place? i can copy the previous content if you need.

 

You only need to add the .htaccess code in your shop root directory .. nowhere else.

Link to comment
Share on other sites

I am using Ultimate SEO Urls 5 with Google XML SEO Sitemaps and I made the overwrite recommended in this thread from the extras folder. All site maps are generating but I am getting the URLs that are not the rewritten URLs and when clicking on the links it leads to 404s because of this. Ideas? Thanks for your time, in advance.

Link to comment
Share on other sites

I'm not sure how to tell if it's working. I installed everything and have "standard" set up and my link looks like so:

http://thebeadingsite.com/oscommerce/product_info.php/sapphiresparkle-p-70?osCsid=fbb654209321f4743d33aedbdf1834e6

 

For some reason that doesn't look right to me. I then double checked with my hosting and they confirmed that yes I had a linux server, mod_rewrite is enabled and AllowOveride is set to All so I thought lets try to change it from Standard to Rewrite and see what happens. I then get a link like this and a page not found error:

 

http://thebeadingsite.com/oscommerce/sapphiresparkle-p-70.html?osCsid=f6ec8b284305848ff06b409578555923

 

One final thing I've noticed is that when I have SEO 5 enabled my product pop up images become my template (I'm using STS if that helps) but when disabled I have no problems.

 

Help, what am I doing wrong here?

 

Thanks in advance!

Edited by DKY
Link to comment
Share on other sites

I'm not sure how to tell if it's working. I installed everything and have "standard" set up and my link looks like so:

http://thebeadingsite.com/oscommerce/product_info.php/sapphiresparkle-p-70?osCsid=fbb654209321f4743d33aedbdf1834e6

 

For some reason that doesn't look right to me. I then double checked with my hosting and they confirmed that yes I had a linux server, mod_rewrite is enabled and AllowOveride is set to All so I thought lets try to change it from Standard to Rewrite and see what happens. I then get a link like this and a page not found error:

 

http://thebeadingsite.com/oscommerce/sapphiresparkle-p-70.html?osCsid=f6ec8b284305848ff06b409578555923

 

One final thing I've noticed is that when I have SEO 5 enabled my product pop up images become my template (I'm using STS if that helps) but when disabled I have no problems.

 

Help, what am I doing wrong here?

 

Thanks in advance!

 

The standard mode link looks perfect.

 

For rewrites to work you have to add the extras/htaccess.txt code to your root .htaccess file as described in the instructions.

Link to comment
Share on other sites

Thank you for the confirmation of the url.

 

I didn't have an htaccess.txt in my store's root folder (oscommerce in my case) so I created an htaccess.txt with the line

RewriteBase /oscommerce/

and put it in my oscommerce folder. I then used filezilla to ftp there and rename it.

 

I change my url rewrite type to rewrite, browse to my store to which I see a storefront then click on one of the products to get this link

http://thebeadingsite.com/oscommerce/sapphiresparkle-p-70.html?osCsid=8169ec77d2cb8023a18b9d47428a5a12

and a page not found error.

 

Help?

 

Oh, P.S. It looks like I may have fixed the

when I have SEO 5 enabled my product pop up images become my template (I'm using STS if that helps) but when disabled I have no problems.

by installing this contribution

http://addons.oscommerce.com/info/7008

 

We'll see if this is a true solution that others can benefit from after getting rewrite to work properly ;^)

Link to comment
Share on other sites

Thank you for the confirmation of the url.

 

I didn't have an htaccess.txt in my store's root folder (oscommerce in my case) so I created an htaccess.txt with the line

RewriteBase /oscommerce/

and put it in my oscommerce folder. I then used filezilla to ftp there and rename it.

 

I change my url rewrite type to rewrite, browse to my store to which I see a storefront then click on one of the products to get this link

http://thebeadingsite.com/oscommerce/sapphiresparkle-p-70.html?osCsid=8169ec77d2cb8023a18b9d47428a5a12

and a page not found error.

 

Help?

 

Oh, P.S. It looks like I may have fixed the

 

by installing this contribution

http://addons.oscommerce.com/info/7008

 

We'll see if this is a true solution that others can benefit from after getting rewrite to work properly ;^)

 

You don't upload htaccess.txt you add the code to .htaccess, please read the instructions, it is all written there.

Link to comment
Share on other sites

The code to add to catalog/.htaccess is in the file htaccess.txt

 

The above is from the instructions. My struggle was understanding where the "file htaccess.txt" was. Was this a file that was supposed to come with the original install of oscommerce? Was this a file that was supposed to come with the contribution? If so, I couldn't find this file in either of those places so I didn't know where to get this htaccess.txt. So I googled how to get one and some websites recommend uploading a file named htaccess.txt because it gets uploaded a certain way and then renaming it when it's on your server.

 

Where am I missing the mark here? Thanks again for your help! I truly appreciate it!

Link to comment
Share on other sites

Hello.

 

This is my scenario:

- Windows Server

- Apache

- Header Tags SEO

- Ultimate SEO URL.

 

Updated in two steps from:

version r96 to r119

and from version r119 to version 141.

After the upgrade I receive the error.

 

call to private method usu::performance() from context.....(foother.php)

 

I remove usu::performance(); and it looks to be working

but now I have lost all the header tags I had before. (from header tags SEO)

 

Ideas?

 

thank you.

Link to comment
Share on other sites

Question:

 

What is the proper way to link to a product page once SEO Urls is installed:

 

1) Direct linking to the already redirected url, like: <a href="<?=tep_href_link('original-masala-chai-p-186.html')?>"?><?php echo HEADER_TITLE_BLACK_ORIGINAL ?></a></td>

 

2) Or to the original oscommerce style, which I don't seem to be able to write it properly

 

What is the best choice and can you give me an example?

 

Thanks!

 

Ricardo

Link to comment
Share on other sites

I have problem...all the time i try to enter a product or a category the f*****g site redirects me to /index.php when i turn off the module everything is working fine, but when I enter http://www.my_site.com/ it redirects me to http://www.my_site.com/index.php (maybe this is a clue what is happening). How can i solve the problem ?

I Need Money

Link to comment
Share on other sites

I have problem...all the time i try to enter a product or a category the f*****g site redirects me to /index.php when i turn off the module everything is working fine, but when I enter http://www.my_site.com/ it redirects me to http://www.my_site.com/index.php (maybe this is a clue what is happening). How can i solve the problem ?

 

There are posts about this issue in the thread .. you have some nasty javascript redirect in your code that needs to be removed.

Link to comment
Share on other sites

There are posts about this issue in the thread .. you have some nasty javascript redirect in your code that needs to be removed.

 

i saw one comented line in function in application_top.php and that was confiusing...how ever i solve the problem in about 2 min when i know what to search for :)

I Need Money

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...