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
Forum Search
Google Site Search
Author « Topic »  

charmarsh
Ecommerce Template Expert

USA
957 Posts

Posted - 05/16/2023 :  14:14:58  
My Product Page URLS are using the Product ID instead of the Product Name.

dbdave
ECT Moderator

USA
10498 Posts

Posted - 05/16/2023 :  14:37:57  

charmarsh
Ecommerce Template Expert

USA
957 Posts

Posted - 05/17/2023 :  09:19:41  
Thanks David.

charmarsh
Ecommerce Template Expert

USA
957 Posts

Posted - 05/17/2023 :  14:52:52  
I'd like the product page and category pages URLS to be...

from: /categories.php?cat=Accessories

to: /category/Accessories

dbdave
ECT Moderator

USA
10498 Posts

Posted - 05/17/2023 :  15:28:11  
That's a little more involved, but you can see the details here - https://www.ecommercetemplates.com/seo/search-engine-friendly-urls-php.asp

David

charmarsh
Ecommerce Template Expert

USA
957 Posts

Posted - 05/18/2023 :  16:24:34  
I tried this. Some pages worked but some went whacky.

Can you advise as to how to execute this smoothly. Is there an issue with static pages perhaps?

Edited by - charmarsh on 05/19/2023 09:46:17

dbdave
ECT Moderator

USA
10498 Posts

Posted - 05/19/2023 :  11:06:41  
There are special considerations there for static pages in the instructions there.

Personally, I'm not convinced it's worth the hassle for the SEO benefits, but many folks would disagree with me I expect.

Have you made the required changes in your htaccess file?

Thanks,
David

charmarsh
Ecommerce Template Expert

USA
957 Posts

Posted - 05/19/2023 :  12:59:11  
Yes added to htaccess. Pages create %'s between words and then will not link. Some pages will lose all the formatting completely.

dbdave
ECT Moderator

USA
10498 Posts

Posted - 05/19/2023 :  14:29:08  
It sounds like you are losing connection to css files.
css files should be excluded from the extensionless urls.
David

Phil
ECT Moderator

United Kingdom
7740 Posts

Posted - 05/20/2023 :  00:53:29  
Hi Charlotte,
If you're losing page formatting you need to add the line below before the call for any css lines on your products.php and categories.php files

<base href="http<?php if(@$_SERVER['HTTPS']=='on') print 's'?>://www.yourstoreurl.com/" />

quote:
Pages create %'s between words and then will not link.


Can you give an example of a url where this happens?



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

Edited by - Phil on 05/20/2023 03:43:46

charmarsh
Ecommerce Template Expert

USA
957 Posts

Posted - 05/20/2023 :  13:03:41  
Yes, completed as suggested. Thank you!
  « 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