Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

bhenkle
Starting Member

USA
29 Posts

Pre-sales questions only
(More Details...)

Posted - 03/27/2020 :  14:04:49  
I have been working on SEO friendly URLs, and the issue I am having is, no matter what category path I take it ends up displaying all products. With the exception of the "categories.php" (which still has the .PHP extension), all categories are displaying correctly.

Thank you.

Brian

Brian L. Henkle
Rocky Knob Woodcrafts
(740) 253-8492
bhenkle@rockyknobwoodcrafts.com
www.rockyknobwoodcrafts.com

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 03/28/2020 :  02:33:24  
Hi Brian,
Can you let us know what steps you have taken so far please and confirm it's this site here - https://www.rockyknobwoodcrafts.com/



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 03/28/2020 02:34:17

bhenkle
Starting Member

USA
29 Posts

Pre-sales questions only
(More Details...)

Posted - 03/30/2020 :  08:01:22  
Hi Phil,

That is the correct URL. BTW, I'm a sign maker not an eCommerce website designer, I am very open to any suggestions that will make this site better.

I believe this is an all inclusive list of the thing I've done so far:
----------------------
Added the following to includes.php

// $seodetailurls=TRUE;
// $seocategoryurls=TRUE;
// $detlinkspacechar="-";
// $seocaturlpattern="/category/%s";
// $seoprodurlpattern="/products/%s";
// $seourlsthrow301=TRUE;

Currently remed out because it's not working properly
----------------------
Added the web.config file to the root after changing all .ASP to .PHP
----------------------
Added
"<base href="http<?php if(@$_SERVER['HTTPS']=='on') print 's'?>://www.rockyknobwoodcrafts.com/" />"

to the products.php and categories.php pages just before the closing </head>,
then moved them to inside the <!-- #BeginEditable "doctitle" --> so the CSS would work.
----------------------
Added to the .htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^category/([^/.]*)/?$ /categories.php?cat=$1 [QSA,nc,L,B]
RewriteRule ^products/([^/.]*)/?$ /products.php?cat=$1 [QSA,nc,L,B]
RewriteRule ^manufacturer/?$ /categories.php?man=all [QSA,nc,L,B]
RewriteRule ^manufacturer/([^/.]*)/?$ /products.php?man=$1 [QSA,nc,L,B]
RewriteRule ^([^/.]+)$ proddetail.php?prod=$1 [QSA,nc,L,B]
</IfModule>

I am mostly certain that is everything I've done. thanks so much for your help.

Brian L. Henkle
Rocky Knob Woodcrafts
(740) 253-8492
bhenkle@rockyknobwoodcrafts.com
www.rockyknobwoodcrafts.com

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 03/30/2020 :  08:07:20  
Hi Brian,
That all looks fine to me, would you like to send me your FTP details to phil at bettapages dot com and I'll take a look for you?

Not too sure about this below though

quote:
Added the web.config file to the root after changing all .ASP to .PHP





* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 03/30/2020 08:09:00

bhenkle
Starting Member

USA
29 Posts

Pre-sales questions only
(More Details...)

Posted - 03/30/2020 :  08:09:58  
Hi Phil,

I just changed the includes.php file, it is now like this:

$seodetailurls=TRUE;
$seocategoryurls=TRUE;
$detlinkspacechar="-";
$seocaturlpattern="/category/%s";
$seoprodurlpattern="/products/%s";
// $seourlsthrow301=TRUE;

Brian L. Henkle
Rocky Knob Woodcrafts
(740) 253-8492
bhenkle@rockyknobwoodcrafts.com
www.rockyknobwoodcrafts.com

bhenkle
Starting Member

USA
29 Posts

Pre-sales questions only
(More Details...)

Posted - 03/30/2020 :  08:11:38  
I will undo the changes in the web.config file.

Brian L. Henkle
Rocky Knob Woodcrafts
(740) 253-8492
bhenkle@rockyknobwoodcrafts.com
www.rockyknobwoodcrafts.com

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 03/30/2020 :  08:13:21  
Hi Brian,
I've just taken a look at your site and the seo urls are working.
If go here https://www.rockyknobwoodcrafts.com/category/ and browse through the products from the categories you'll find they're working fine including the detail pages.
I think what you need to do is update all the menu links with the new appropriate seo urls



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 03/30/2020 08:20:04

bhenkle
Starting Member

USA
29 Posts

Pre-sales questions only
(More Details...)

Posted - 03/30/2020 :  08:36:22  
Hi Phil,

The URLs look good, but he items in the end, when it should only be listing the products in a certain category, is listing all of the products.

I put the "//" back in and you can see what it si supposed to look like.

Thanks

Brian L. Henkle
Rocky Knob Woodcrafts
(740) 253-8492
bhenkle@rockyknobwoodcrafts.com
www.rockyknobwoodcrafts.com

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 03/30/2020 :  10:02:06  
Hi Brian,
I've just sent you an email with an explanation on how to fix that issue, let me know how you go on please.



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000