Jump to content
FWR Media

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.

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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..)


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
Share on other sites

Duplicate Post.

Edited by FWR Media

Share this post


Link to post
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: -

 

Share this post


Link to post
Share on other sites

Both standard and rewrite uris are perfectly valid: -

 

 

How great!

Now I have both USU5 <-> Google Sitemap and KissMT <-> STS working.

Life is good..laugh.gif


---------------

regards

sijo

---------------

 

Contrib: JMrating10 - Rate your products / osCommerce VTS - Virus & Threat Scanner

 

(osCommerce VTS now also checks for leading and trailing whitespace and also have a grep function)

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Hi,

 

Sorry, but I ask again my question... How can I redirect index.php to / with ultimate Seo Urls 5, using htaccess ?

 

Thank you !

Share this post


Link to post
Share on other sites

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

 

 

Done.

Was a htaccess.txt under /catalog/ folder , cut&paste the code ,renamed to .htaccess and keeps working like a charm.

 

Great contrib!!

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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 ;^)

Share this post


Link to post
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.

Share this post


Link to post
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!

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

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

×